diff options
author | Marko Myllynen <myllynen@redhat.com> | 2014-10-22 11:32:23 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-10-22 11:32:23 -0400 |
commit | 86d33d888cd4f23a1816d4806627271ce062d9a3 (patch) | |
tree | c7e98c6c7d0c928a140977596b600822611adfd6 /utils/gssd/write_bytes.h | |
parent | 8d51c77c81f0cd5b0b8508eb50d5a53d6d2375ae (diff) | |
download | nfs-utils-86d33d888cd4f23a1816d4806627271ce062d9a3.tar.gz nfs-utils-86d33d888cd4f23a1816d4806627271ce062d9a3.tar.xz nfs-utils-86d33d888cd4f23a1816d4806627271ce062d9a3.zip |
nfsstat: fix server rpc stats header
linux/net/sunrpc/stats.c has:
/*
* Get RPC server stats
*/
void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp) {
...
seq_printf(seq,
"rpc %u %u %u %u %u\n",
statp->rpccnt,
statp->rpcbadfmt+statp->rpcbadauth+statp->rpcbadclnt,
statp->rpcbadfmt,
statp->rpcbadauth,
statp->rpcbadclnt);
...
But when /proc/net/rpc/nfsd contains
rpc 1 2 3 4 5
nfsstat -sv prints:
Server rpc stats:
calls badcalls badclnt badauth xdrcall
1 2 3 4 5
Change this to match the kernel:
Server rpc stats:
calls badcalls badfmt badauth badclnt
1 2 3 4 5
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1142842.
Signed-off-by: Marko Myllynen <myllynen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/write_bytes.h')
0 files changed, 0 insertions, 0 deletions