Improvements to nfsd stats
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 5 repliesIn review
- v12 patches 11 repliesSuperseded
Changes in v2 from the cover letter
- Cleanup unused stats counters (Bruce)
- Replace counters array hack with proper array (Chuck)
- Helpers to update both global and per-export stats
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nfsd: remove unused stats countersfs/ fs/ | +16 | 0 replies | |
| 2/3 | nfsd: protect concurrent access to nfsd stats countersfs/ fs/ fs/ +5 more | +192 | 3 replies | |
| 3/3 | nfsd: report per-export statsfs/ fs/ fs/ +4 more | +92 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] Improvements to nfsd stats
Hi Bruce,
Per your request, I added a cleanup patch for unused counter.
Replaced the hacky counters array "union" with proper array and added helpers to update the counters to avoid human mistakes related to counter indices.
Thanks,
Amir.
Changes since v1:
- Cleanup unused stats counters (Bruce)
- Replace counters array hack with proper array (Chuck)
- Helpers to update both global and per-export stats
Amir Goldstein (3):
nfsd: remove unused stats counters
nfsd: protect concurrent access to nfsd stats counters
nfsd: report per-export stats
fs/nfsd/export.c | 68 +++++++++++++++++++++++---- fs/nfsd/export.h | 15 ++++++ fs/nfsd/netns.h | 23 +++++---- fs/nfsd/nfs4proc.c | 2 +- fs/nfsd/nfscache.c | 52 +++++++++++++++------ fs/nfsd/nfsctl.c | 8 +++- fs/nfsd/nfsd.h | 2 +- fs/nfsd/nfsfh.c | 4 +- fs/nfsd/stats.c | 114 +++++++++++++++++++++++++++++++-------------- fs/nfsd/stats.h | 96 +++++++++++++++++++++++++++++--------- fs/nfsd/vfs.c | 4 +- 11 files changed, 292 insertions(+), 96 deletions(-)
Signature · 1 line
2.17.1