freebsd-dev/lib
John Baldwin cd4ecf3cd2 Further refine the implementation of POSIX_FADV_NOREUSE.
First, extend the changes in r230782 to better handle the common case
of using NOREUSE with sequential reads.  A NOREUSE file descriptor
will now track the last implicit DONTNEED request it made as a result
of a NOREUSE read.  If a subsequent NOREUSE read is adjacent to the
previous range, it will apply the DONTNEED request to the entire range
of both the previous read and the current read.  The effect is that
each read of a file accessed sequentially will apply the DONTNEED
request to the entire range that has been read.  This allows NOREUSE
to properly handle misaligned reads by flushing each buffer to cache
once it has been completely read.

Second, apply the same changes made to read(2) by r230782 and this
change to writes.  This provides much better performance in the
sequential write case as it allows writes to still be clustered.  It
also provides much better performance for misaligned writes.  It does
mean that NOREUSE will be generally ineffective for non-sequential
writes as the current implementation relies on a future NOREUSE
write's implicit DONTNEED request to flush the dirty buffer from the
current write.

MFC after:	2 weeks
2012-06-19 18:42:24 +00:00
..
bind Upgrade to BIND version 9.8.3, the latest from ISC. 2012-05-28 19:47:56 +00:00
clang Upgrade our copy of llvm/clang to 3.1 release. Release notes can be 2012-05-23 21:48:49 +00:00
csu Revert r234356 for now, as it leads to run-time problems on 32-bit 2012-04-23 06:33:27 +00:00
libalias
libarchive Silence alignment warnings from clang in libarchive's ppmd code (which 2012-03-23 11:18:07 +00:00
libauditd
libbegemot
libblocksruntime
libbluetooth General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
libbsm
libbsnmp Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libbz2
libc Further refine the implementation of POSIX_FADV_NOREUSE. 2012-06-19 18:42:24 +00:00
libc++ Install libcxxrt's C++ ABI and unwind headers. This is done in libc++'s 2012-06-02 11:07:19 +00:00
libcalendar
libcam Use snprintf(3) constantly when generating CAM error messages. 2012-03-03 09:19:20 +00:00
libcom_err - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
libcompat
libcompiler_rt Switch sparc64 to using libcompiler_rt; since r230021 we have a workaround 2012-05-15 22:47:34 +00:00
libcrypt Stop using auth_getval() now that it always returns NULL. Instead, 2012-06-12 17:14:19 +00:00
libcxxrt Clean up some symbol versions for libsupc++ / libcxxrt. 2012-06-11 15:40:57 +00:00
libdevinfo
libdevstat Globally replace u_int*_t from (non-contributed) man pages. 2012-02-12 18:29:56 +00:00
libdisk Remove an errant `#define dprintf printf'. It seems to be leftover 2012-01-20 06:59:29 +00:00
libdwarf Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libedit Correct r228114 and use the same implementation for tilde.h as for history.h 2012-04-26 00:51:43 +00:00
libefi
libelf Remove repeated words. 2012-06-05 18:19:52 +00:00
libexpat
libfetch libfetch: Avoid SIGPIPE on network connections. 2012-05-28 19:22:23 +00:00
libgeom Back out r233646. Although it fixed most libgeom consumers under 32-bit 2012-04-10 17:37:24 +00:00
libgpib mdoc: minor Bl improvements. 2012-06-02 08:47:26 +00:00
libgssapi mdoc: add missing -width argument to Bl -tag. 2012-06-08 12:09:00 +00:00
libiconv Remove redundant assignments to WARNS. 2011-06-06 20:24:17 +00:00
libiconv_modules
libipsec MFp4 204292: 2012-02-11 20:43:01 +00:00
libipx
libjail The fix in r235291 re-broke the "allow.nomount" case. Re-fix it 2012-05-22 18:30:32 +00:00
libkiconv Make sure libkiconv.so.4 is installed into /lib, not into /usr/lib, 2012-06-12 20:24:57 +00:00
libkse Fix typo in ".PATH" 2012-04-18 07:02:53 +00:00
libkvm General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
liblzma Update xz to git snapshot of v5.0 branch as of 20110711 (post-5.0.3) 2011-07-11 14:15:27 +00:00
libmagic Don't depend on getline being on the build machine. That's 2012-05-19 02:30:10 +00:00
libmd Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd. 2012-04-28 02:48:51 +00:00
libmemstat Fix various typos in manual pages. 2012-02-25 14:31:25 +00:00
libmilter
libmp Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
libnandfs Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
libncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
libnetgraph
libngatm
libopie X11BASE has been deprecated for a long time and will die soon 2012-01-09 00:48:19 +00:00
libpam Update to OpenPAM Micrampelis. 2012-05-26 17:10:16 +00:00
libpcap Merge from vendor branch: update libpcap to 1.2.1. 2012-05-14 05:12:56 +00:00
libpmc mdoc: minor Bl improvements. 2012-06-02 08:47:26 +00:00
libproc Make libproc compilable for MIPS 2012-03-23 23:07:02 +00:00
libprocstat Teach procstat_get_shm_info_kvm() how to fetch the pathname of a SHM file 2012-06-07 15:54:52 +00:00
libradius General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
librpcsec_gss mdoc: add missing -width argument to Bl -tag. 2012-06-06 08:07:47 +00:00
librpcsvc Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
librt Register signal 33 explicitly as reserved by real-time library, and 2012-03-26 19:12:09 +00:00
librtld_db Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libsbuf Ok, so we use different comment conventions in Symbol.map and Version.def 2011-05-17 19:20:32 +00:00
libsdp Change the SDP_GET* macros to cast to a const buffer. 2011-10-16 08:45:16 +00:00
libsm Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
libsmb
libsmdb
libsmutil
libstand Consitently use "__LP64__". 2012-05-24 21:44:46 +00:00
libstdbuf Fix small documentation mistakes. 2012-04-28 21:50:30 +00:00
libstdthreads Pull up vendor changes to mdoc(7) 2012-01-05 21:36:12 +00:00
libtacplus General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
libtelnet - Do not use deprecated krb5 error message reporting functions in libtelnet. 2012-04-06 00:03:45 +00:00
libthr Return EBUSY for PTHREAD_MUTEX_ADAPTIVE_NP too when the mutex could not 2012-05-27 01:24:51 +00:00
libthread_db Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
libufs Make berase() work on platforms whose kernel lacks DIOCGDELETE ioctl. 2011-12-08 12:31:47 +00:00
libugidfw
libulog Properly use SHA1_Final() instead of SHA_Final(). 2012-04-19 15:28:15 +00:00
libusb LibUSB v1.0 API compiliance and bugfixes. 2012-06-12 07:28:25 +00:00
libusbhid HID Report ID is unsigned value, so clear the rest of bits from possible 2012-05-16 17:51:56 +00:00
libutil Switch the default password hash from md5 to sha512. 2012-06-19 14:46:18 +00:00
libvgl Fix various typos in manual pages. 2012-02-25 14:31:25 +00:00
libwrap
liby
libypclnt Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
libz Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
msun Allow inclusion of libc++ <cmath> to work after including math.h 2012-05-27 12:54:41 +00:00
ncurses
Makefile Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
Makefile.inc