]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the F_READAHEAD option to fcntl(2) work as documented: a value of zero
authorIan Lepore <ian@FreeBSD.org>
Wed, 13 Feb 2013 15:09:16 +0000 (15:09 +0000)
committerIan Lepore <ian@FreeBSD.org>
Wed, 13 Feb 2013 15:09:16 +0000 (15:09 +0000)
commit74938cbb7f2c538a9185f8af87e38a90167e7372
treebf0113357e441ed9f83ec9dd0e2f3647620223c6
parenta18a7a414abca38020879bcb9ae3566e8fb84312
Make the F_READAHEAD option to fcntl(2) work as documented:  a value of zero
now disables read-ahead.  It used to effectively restore the system default
readahead hueristic if it had been changed; a negative value now restores
the default.

Reviewed by: kib
lib/libc/sys/fcntl.2
sys/kern/kern_descrip.c