opnsense-src/lib/libc
Xin LI 931d13672c MFC revision 197579 and 199617:
Add two new fcntls to enable/disable read-ahead:

 - F_READAHEAD: specify the amount for sequential access.  The amount is
   specified in bytes and is rounded up to nearest block size.
 - F_RDAHEAD: Darwin compatible version that use 128KB as the sequential
   access size.

A third argument of zero disables the read-ahead behavior.

Please note that the read-ahead amount is also constrainted by sysctl
variable, vfs.read_max, which may need to be raised in order to better
utilize this feature.

Thanks Igor Sysoev for proposing the feature and submitting the original
version, and kib@ for his valuable comments.
2009-12-07 19:59:28 +00:00
..
amd64 Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
arm Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
compat-43 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
db MFC r196525: 2009-08-28 19:48:06 +00:00
gdtoa Unbreak the build for arm and powerpc. 2008-04-12 14:53:52 +00:00
gen MFC r198406: wordexp(3): fix some bugs with signals and long outputs 2009-12-06 22:14:58 +00:00
gmon Remove .mcount from gmon's Symbol map and add it to the appropriate 2007-05-13 14:16:55 +00:00
i386 Remove hand-written labs/abs implementations. GCC is smart enough. 2009-06-23 09:04:59 +00:00
ia64 Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
include Change the ABI of some of the structures used by the SYSV IPC API: 2009-06-24 21:10:52 +00:00
inet Merge the resolver part of BIND 9.4.3 into HEAD. 2008-12-14 19:39:53 +00:00
isc Merge BIND 9.4.1 into main chunk. 2007-06-03 17:20:27 +00:00
locale Merge rev. 199180 to 8.x-STABLE, the change to isblank(3): 2009-11-25 10:52:07 +00:00
mips Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
nameser This commit was generated by cvs2svn to compensate for changes in r174223, 2007-12-03 15:07:58 +00:00
net MFC r199083: Add NLS catalogs support to gai_strerror(3). 2009-11-22 17:05:46 +00:00
nls MFC r199092: Add gai_strerror() catalog for ja_JP.UTF-8 2009-11-22 17:08:52 +00:00
posix1e MFC: r199317 2009-11-23 09:10:08 +00:00
powerpc Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
quad Fix a typo that prevented the quad symbols from being exported 2007-07-06 13:42:24 +00:00
regex Add two example regexps: (1) one for matching all the characters 2008-09-05 17:41:20 +00:00
resolv Add an option to enforce strict RFC 1034 compliance. 2009-05-29 07:34:54 +00:00
rpc MFC 200061: 2009-12-07 19:07:45 +00:00
softfloat Reflect license change from NetBSD. 2009-03-10 21:13:26 +00:00
sparc64 Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
stdio MFC: r200019 2009-12-07 08:38:44 +00:00
stdlib MFC r197524 2009-11-02 18:44:01 +00:00
stdtime MFCs of r197764, r197765, r197766, r197847: 2009-10-31 06:35:40 +00:00
string MFC: r199988 2009-12-04 07:08:15 +00:00
sys MFC revision 197579 and 199617: 2009-12-07 19:59:28 +00:00
uuid Move uuid_enc_le, uuid_dec_le, uuid_enc_be and uuid_dec_be symbols 2008-09-19 15:52:56 +00:00
xdr Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
yp MFC revs 199781,199782,199784,199785,199786: 2009-12-02 02:47:29 +00:00
Makefile Second attempt at eliminating .text relocations in shared libraries 2009-07-14 21:19:13 +00:00
Versions.def MFC r197163 2009-11-01 20:24:17 +00:00