mbox series

[v3,0/4] nfsd: clean up refcounting in the filecache

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

Message

Jeff Layton Oct. 28, 2022, 6:57 p.m. UTC
There are a number of changes here from the last set, but I've tried to
address Neil and Chuck's comments (thanks for the review, btw).

I think I've solved the race between adding to the LRU and unhashing.
That's in patch #3. We may want to squash that into #2 before merging.

Jeff Layton (4):
  nfsd: remove the pages_flushed statistic from filecache
  nfsd: rework refcounting in filecache
  nfsd: close race between unhashing and LRU addition
  nfsd: start non-blocking writeback after adding nfsd_file to the LRU

 fs/nfsd/filecache.c | 385 +++++++++++++++++++++++---------------------
 fs/nfsd/filecache.h |   1 +
 fs/nfsd/trace.h     |   5 +-
 3 files changed, 207 insertions(+), 184 deletions(-)