HardenedBSD/sys/fs
Rick Macklem fbe965591f nfscl: Do not do readahead for directories
For a very long time, the NFS client has done readahead for
directory blocks.  Unlike data blocks, the readahead cannot
begin until the Readdir RPC reply has been received, since
the directory offset cookie in that Readdir RPC reply is needed.
As such, the readahead is serialized and does not seem to
provide any real benefit.

Recent testing/benchmarking shows that removing this
readahead code for Readdir does not have a negative impact
on performance.

Therefore, this patch deletes the readahead code for Readdir,
which simplifies the code and may make future changes simpler.

MFC after:	1 month
2024-05-09 18:35:10 -07:00
..
autofs
cd9660
cuse
deadfs
devfs
ext2fs
fdescfs
fifofs
fuse
mntfs
msdosfs
nfs
nfsclient nfscl: Do not do readahead for directories 2024-05-09 18:35:10 -07:00
nfsserver
nullfs
procfs
pseudofs
smbfs
tarfs
tmpfs
udf
unionfs