The following patchset sets up a number of ftrace tracepoints for use when debugging state operations. Changes in v2: - Fixed compile bugs - We need to convert the delegation recall status to a negative number - Added tracepoints for read/write, pnfs and slot table debugging. Trond Myklebust (13): NFSv4: Add tracepoints for debugging state management problems NFS: refactor code for calculating the crc32 hash of a filehandle NFSv4: Add tracepoints for debugging file open NFSv4: Add tracepoints for debugging file locking NFSv4: Add tracepoints for debugging lookup/create operations NFSv4: Add tracepoints for debugging inode manipulations NFSv4: Add tracepoints for debugging rename NFSv4: Add tracepoints for debugging delegations NFSv4: Add tracepoints for debugging the idmapper NFSv4: Add tracepoints for debugging getattr NFSv4: Add tracepoints for debugging reads and writes NFSv4.1: Add tracepoints for debugging layoutget/return/commit NFSv4.1: Add tracepoints for debugging slot table operations fs/nfs/Makefile | 3 +- fs/nfs/callback_proc.c | 3 + fs/nfs/delegation.c | 3 + fs/nfs/idmap.c | 5 + fs/nfs/inode.c | 3 +- fs/nfs/internal.h | 20 + fs/nfs/nfs4filelayout.c | 10 + fs/nfs/nfs4proc.c | 135 +++++-- fs/nfs/nfs4session.h | 10 + fs/nfs/nfs4trace.c | 17 + fs/nfs/nfs4trace.h | 969 ++++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/pnfs.c | 7 + 12 files changed, 1146 insertions(+), 39 deletions(-) create mode 100644 fs/nfs/nfs4trace.c create mode 100644 fs/nfs/nfs4trace.h -- 1.8.3.1 -- 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