Skip to content

Commit

Permalink
collectors/0/nfsstat: correct list of nfs client names (#374)
Browse files Browse the repository at this point in the history
nfs-utils/nfsstat.c is not the canonical source for rpc procedures.  The
version used missed a base entry, got the end of nfs4.1 wrong, and
didn't include nfs4.2.

Some names in the current version (e.g. create_session) may have changed
since they were put into this file (e.g. create_ses).  Existing names were
preserved.

See: http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=blob_plain;f=utils/nfsstat/nfsstat.c;hb=HEAD
  • Loading branch information
pabigot authored Sep 17, 2020
1 parent 861608e commit 8c71ddd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions collectors/0/nfsstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@
"lock", "lockt", "locku", "access", "getattr", "lookup", "lookup_root",
"remove", "rename", "link", "symlink", "create", "pathconf", "statfs",
"readlink", "readdir", "server_caps", "delegreturn", "getacl", "setacl",
"fs_locations", "rel_lkowner", "secinfo",
"fs_locations", "rel_lkowner", "secinfo", "fsid_present",
# nfsv4.1 client ops
"exchange_id", "create_ses", "destroy_ses", "sequence", "get_lease_t",
"reclaim_comp", "layoutget", "getdevinfo", "layoutcommit", "layoutreturn",
"getdevlist", "getdevinfo", "ds_write", "ds_commit"
"secinfo_no", "test_stateid", "free_stateid",
"getdevicelist", "bind_conn_to_ses", "destroy_clientid",
# nfsv4.2 clientops
"seek", "allocate", "deallocate", "layoutstats", "clone"
),
"proc3": (
"null", "getattr", "setattr", "lookup", "access", "readlink",
Expand Down

0 comments on commit 8c71ddd

Please sign in to comment.