From: J. Bruce Fields Simple, useful debugging printk: print the number of each op as we process it. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton --- fs/nfsd/nfs4proc.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN fs/nfsd/nfs4proc.c~nfsd4-operation-debugging fs/nfsd/nfs4proc.c --- devel/fs/nfsd/nfs4proc.c~nfsd4-operation-debugging 2006-01-12 19:54:16.000000000 -0800 +++ devel-akpm/fs/nfsd/nfs4proc.c 2006-01-12 19:54:16.000000000 -0800 @@ -768,6 +768,8 @@ nfsd4_proc_compound(struct svc_rqst *rqs while (!status && resp->opcnt < args->opcnt) { op = &args->ops[resp->opcnt++]; + dprintk("nfsv4 compound op #%d: %d\n", resp->opcnt, op->opnum); + /* * The XDR decode routines may have pre-set op->status; * for example, if there is a miscellaneous XDR error _