summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2015-11-24 19:29:41 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-12-28 15:57:14 +0100
commit48c9579a1afe4315be4576ec4c0b24c2715da0e0 (patch)
tree469a87df1cf605f15d91374228228fdaea64abe2 /fs/nfs/nfs4state.c
parentLinux 4.4-rc7 (diff)
downloadlinux-48c9579a1afe4315be4576ec4c0b24c2715da0e0.tar.xz
linux-48c9579a1afe4315be4576ec4c0b24c2715da0e0.zip
Adding stateid information to tracepoints
Operations to which stateid information is added: close, delegreturn, open, read, setattr, layoutget, layoutcommit, test_stateid, write, lock, locku, lockt Format is "stateid=<seqid>:<crc32 hash stateid.other>", also "openstateid=", "layoutstateid=", and "lockstateid=" for open_file, layoutget, set_lock tracepoints. New function is added to internal.h, nfs_stateid_hash(), to compute the hash trace_nfs4_setattr() is moved from nfs4_do_setattr() to _nfs4_do_setattr() to get access to stateid. trace_nfs4_setattr and trace_nfs4_delegreturn are changed from INODE_EVENT to new event type, INODE_STATEID_EVENT which is same as INODE_EVENT but adds stateid information for locking tracepoints, moved trace_nfs4_set_lock() into _nfs4_do_setlk() to get access to stateid information, and removed trace_nfs4_lock_reclaim(), trace_nfs4_lock_expired() as they call into _nfs4_do_setlk() and both were previously same LOCK_EVENT type. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
0 files changed, 0 insertions, 0 deletions