This patch series fixes the counts for NFSv4 state related opcodes such as SEQUENCE and RENEW. Before this patch series, all of the iostats counts shown in /proc/self/mountstats are always 0. This complicates troubleshooting so I am proposing a small change to the sunrpc interface to print these stats. The series renames an exported symbol in sunrpc, rpc_print_iostats, to rpc_clnt_show_stats, as described in the header. Dave Wysochanski (3): sunrpc: add _print_rpc_iostats() to output metrics for one RPC op sunrpc: Add _add_rpc_iostats() to add rpc_iostats metrics sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones fs/nfs/super.c | 2 +- include/linux/sunrpc/metrics.h | 6 ++--- net/sunrpc/stats.c | 54 ++++++++++++++++++++++++++++++------------ 3 files changed, 43 insertions(+), 19 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html