Skip to content

nfsd: filecache: various fixes

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 7 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7nfsd: filecache: remove race handling.fs/nfsd/filecache.c+2 -160 replies
2/7NFSD: Re-organize nfsd_file_gc_worker()fs/nfsd/filecache.c+2 -24 replies
3/7nfsd: filecache: use nfsd_file_dispose_list() in nfsd_file_close_inode_sync()fs/nfsd/filecache.c+1 -60 replies
4/7nfsd: filecache: use list_lru_walk_node() in nfsd_file_gc()fs/nfsd/filecache.c+8 -30 replies
5/7nfsd: filecache: introduce NFSD_FILE_RECENTfs/nfsd/filecache.c fs/nfsd/filecache.h fs/nfsd/trace.h+24 -20 replies
6/7nfsd: filecache: don't repeatedly add/remove files on the lru listfs/nfsd/filecache.c+17 -301 reply
7/7nfsd: filecache: drop the list_lru lock during lock gc scansfs/nfsd/filecache.c fs/nfsd/filecache.h+30 -31 reply

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/7R-b
2/7
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] nfsd: filecache: various fixes

From: Chuck Lever <[email protected]>

Redriving to continue review dialogue:

Quoted 2 lines

following is my attempt to fix up shrinking and gc of the NFSv3 filecache entries. There series is against nfsd-next.

https://lore.kernel.org/linux-nfs/[email protected]/

Changes since original posting:
- I've assumed the role of shepherd for this series
- Rebase on the public nfsd-testing branch
- Remove nfsd_file_laundrette() call from nfsd_file_put() earlier in the series
- Rework nfsd_file_gc_worker()
- Clarify one or two commit messages

Chuck Lever (1):
NFSD: Re-organize nfsd_file_gc_worker()

NeilBrown (6):
nfsd: filecache: remove race handling.
nfsd: filecache: use nfsd_file_dispose_list() in
nfsd_file_close_inode_sync()
nfsd: filecache: use list_lru_walk_node() in nfsd_file_gc()
nfsd: filecache: introduce NFSD_FILE_RECENT
nfsd: filecache: don't repeatedly add/remove files on the lru list
nfsd: filecache: drop the list_lru lock during lock gc scans

 fs/nfsd/filecache.c | 122 ++++++++++++++++++++++++--------------------
 fs/nfsd/filecache.h |   7 +++
 fs/nfsd/trace.h     |   3 ++
 3 files changed, 77 insertions(+), 55 deletions(-)
Signature · 1 line
2.47.0