Xin LI
82aebf697c
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.
Submitted by: Igor Sysoev <is rambler-co ru>
Reviewed by: kib@
MFC after: 1 month
2009-09-28 16:59:47 +00:00
..
2009-06-01 21:58:59 +00:00
2009-02-21 15:04:31 +00:00
2009-07-19 17:25:24 +00:00
2009-09-08 05:02:41 +00:00
2008-12-31 11:12:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-09-28 16:59:47 +00:00
2009-05-25 14:37:10 +00:00
2009-07-10 08:18:08 +00:00
2009-06-23 23:20:09 +00:00
2009-07-19 17:25:24 +00:00
2009-09-15 16:59:52 +00:00
2009-07-19 17:25:24 +00:00
2009-09-21 04:04:02 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-03-12 04:44:09 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-05-19 12:10:48 +00:00
2009-07-19 17:25:24 +00:00
2008-08-06 14:02:05 +00:00
2009-07-19 17:25:24 +00:00
2009-09-21 08:30:52 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-09-08 19:37:59 +00:00
2009-07-19 17:25:24 +00:00
2009-01-09 11:45:13 +00:00
2009-07-19 17:25:24 +00:00
2008-02-17 05:14:47 +00:00
2009-02-26 21:43:15 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-08-30 05:12:37 +00:00
2009-07-19 17:25:24 +00:00
2009-08-23 14:48:25 +00:00
2009-07-19 17:25:24 +00:00
2009-09-11 11:42:56 +00:00
2008-11-03 10:38:00 +00:00
2009-02-26 20:32:11 +00:00
2008-08-15 21:08:48 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-09-13 21:51:01 +00:00
2009-07-19 17:25:24 +00:00
2009-02-26 21:43:15 +00:00
2009-09-25 00:15:30 +00:00
2009-06-09 12:32:10 +00:00
2009-06-11 18:04:57 +00:00
2009-07-19 17:25:24 +00:00
2009-07-30 00:11:41 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-06-11 13:59:51 +00:00
2009-07-19 17:25:24 +00:00
2009-09-09 09:50:31 +00:00
2009-07-19 17:25:24 +00:00