]> Gentwo Git Trees - linux/.git/commit
nfsd: nfsd_file_acquire_local no longer returns GC'd nfsd_file
authorMike Snitzer <snitzer@kernel.org>
Sat, 16 Nov 2024 01:41:00 +0000 (20:41 -0500)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 14 Jan 2025 22:05:10 +0000 (17:05 -0500)
commitf9c3e1ba072d0e21e75f7033d75a134549e8ed43
treeb6722322e505871176a5bd0fde8dac06f2c85c57
parentb33f7dec3a67216123312c7bb752b8f6faa1c465
nfsd: nfsd_file_acquire_local no longer returns GC'd nfsd_file

Now that LOCALIO no longer leans on NFSD's filecache for caching open
files (and instead uses NFS client-side open nfsd_file caching) there
is no need to use NFSD filecache's GC feature.  Avoiding GC will speed
up nfsd_file initial opens.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfsd/filecache.c