linux-nfs / nfsd

Linux kernel source tree
Other
0 stars 0 forks source link

Disable the NFSD file cache for NFSv4 requests #4

Closed chucklever closed 7 months ago

chucklever commented 7 months ago

This was bugzilla.linux-nfs.org 373

[Chuck Lever 2021-12-21 20:27:25 UTC] The client holds files open via NFSv4 OPEN/CLOSE operations on the wire, so there's no need to re-open files for each I/O.

chucklever commented 7 months ago

[Chuck Lever 2022-05-27 18:16:49 UTC] struct nfsd_file is the lingua franca of the NFSD's VFS implementation. Removing it would complicate things and it doesn't actually seem to matter (NFSv4 doesn't release files after every operation like NFSv3 does).

chucklever commented 7 months ago

Other improvements to the filecache have been made that make this item moot.