Add a proc4cb-ops nested attribute to the server-stats netlink dump, reusing the existing server-proc-entry (op/count) layout. The dump gains a callback section that emits one entry per callback opcode (OP_CB_GETATTR..OP_CB_OFFLOAD) from the per-netns callback counters, paged across messages like the other per-operation sections. This lets nfsstat report NFSv4 backchannel operation counts over netlink, including CB_GETATTR which corresponds to the procfs wdeleg_getattr line.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -254,6 +254,7 @@ enum { · 253 unmodified lines | |||
| 254 | NFSD_A_SERVER_STATS_PROC3_OPS, | 254 | NFSD_A_SERVER_STATS_PROC3_OPS, |
| 255 | NFSD_A_SERVER_STATS_PROC4_OPS, | 255 | NFSD_A_SERVER_STATS_PROC4_OPS, |
| 256 | NFSD_A_SERVER_STATS_PROC4OPS_OPS, | 256 | NFSD_A_SERVER_STATS_PROC4OPS_OPS, |
| 257 | NFSD_A_SERVER_STATS_PROC4CB_OPS, | ||
| 257 | 258 | ||
| 258 | __NFSD_A_SERVER_STATS_MAX, | 259 | __NFSD_A_SERVER_STATS_MAX, |
| 259 | NFSD_A_SERVER_STATS_MAX = (__NFSD_A_SERVER_STATS_MAX - 1) | 260 | NFSD_A_SERVER_STATS_MAX = (__NFSD_A_SERVER_STATS_MAX - 1) |