mbox series

[v2,0/3] nfsd: clean up refcounting in filecache

Message ID 20221027215213.138304-1-jlayton@kernel.org (mailing list archive)
Headers show
Series nfsd: clean up refcounting in filecache | expand

Message

Jeff Layton Oct. 27, 2022, 9:52 p.m. UTC
This patchset should bring the filecache into closer alignment with what
Neil had mentioned here. The first patch cleans up the refcounting, and
the second two optimize the "gc" entry handling.

This should apply cleanly on top of Chuck's current for-next branch.

Jeff Layton (3):
  nfsd: rework refcounting in filecache
  nfsd: only keep unused entries on the LRU
  nfsd: start non-blocking writeback after adding nfsd_file to the LRU

 fs/nfsd/filecache.c | 331 ++++++++++++++++++++++++--------------------
 fs/nfsd/trace.h     |   5 +-
 2 files changed, 185 insertions(+), 151 deletions(-)