[PATCH v5 0/5] nfsd: clean up refcounting in the filecache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v5:
- drop the SYNC_NONE flush on addition to the LRU
- schedule the laundrette when adding to the LRU
- base laundrette scheduling on having work to do
- fix potential race in NFSD_FILE_LRU handling
- drop comments that mention NFS version

A number of changes in this set, mostly around the LRU handling. I've
done some light testing with it this morning and it seems to be OK.

Jeff Layton (5):
  nfsd: remove the pages_flushed statistic from filecache
  nfsd: reorganize filecache.c
  nfsd: rework refcounting in filecache
  nfsd: close race between unhashing and LRU addition
  nfsd: fix up the filecache laundrette scheduling

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

-- 
2.38.1




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux