]> Git Repo - linux.git/commit
nfsd: rip out the raparms cache
authorJeff Layton <[email protected]>
Sun, 18 Aug 2019 18:18:56 +0000 (14:18 -0400)
committerJ. Bruce Fields <[email protected]>
Mon, 19 Aug 2019 15:09:09 +0000 (11:09 -0400)
commit501cb1849f865960501d19d54e6a5af306f9b6fd
treed2f4514084d664ce8d54fb7303d637949532c1ea
parent6b556ca2872be223176c1a1e249606248ce0b201
nfsd: rip out the raparms cache

The raparms cache was set up in order to ensure that we carry readahead
information forward from one RPC call to the next. In other words, it
was set up because each RPC call was forced to open a struct file, then
close it, causing the loss of readahead information that is normally
cached in that struct file, and used to keep the page cache filled when
a user calls read() multiple times on the same file descriptor.

Now that we cache the struct file, and reuse it for all the I/O calls
to a given file by a given user, we no longer have to keep a separate
readahead cache.

Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
fs/nfsd/nfssvc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h
This page took 0.056779 seconds and 4 git commands to generate.