Skip to content

nfsd: better stats gathering for DRC

Jeff Layton linux-nfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nfsd: break out comparator into separate functionfs/nfsd/nfscache.c+23 -100 replies
2/3nfsd: track memory utilization in the DRCfs/nfsd/nfscache.c+10 -10 replies
3/3nfsd: add new reply_cache_stats file in nfsdfsfs/nfsd/cache.h fs/nfsd/nfscache.c fs/nfsd/nfsctl.c+43 -413 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] nfsd: better stats gathering for DRC

This is a respin of the series I posted yesterday. The main differences are:

1/ I dropped the first patch that fixes the comments, since Bruce said
that he was applying it.

2/ I've changed the csum_misses counter to only increment when the
checksum comparison fails (instead of checksum and the length). I also cleaned up the comparator function a bit.

3/ I added a new patch to track memory utilization by the DRC, figuring
that might be handy if someone runs into memory problems later.

Further comments and suggestions welcome. I'd like to see this in 3.9 if possible.

Jeff Layton (3):
nfsd: break out comparator into separate function
nfsd: track memory utilization in the DRC
nfsd: add new reply_cache_stats file in nfsdfs

 fs/nfsd/cache.h    |  1 +
 fs/nfsd/nfscache.c | 77 +++++++++++++++++++++++++++++++++++++++++++++---------
 fs/nfsd/nfsctl.c   |  9 +++++++
 3 files changed, 74 insertions(+), 13 deletions(-)
Signature · 1 line
1.7.11.7