Loading fs/nfsd/trace.h +2 −0 Original line number Diff line number Diff line Loading @@ -451,6 +451,8 @@ DEFINE_NFSD_IO_EVENT(write_start); DEFINE_NFSD_IO_EVENT(write_opened); DEFINE_NFSD_IO_EVENT(write_io_done); DEFINE_NFSD_IO_EVENT(write_done); DEFINE_NFSD_IO_EVENT(commit_start); DEFINE_NFSD_IO_EVENT(commit_done); DECLARE_EVENT_CLASS(nfsd_err_class, TP_PROTO(struct svc_rqst *rqstp, Loading fs/nfsd/vfs.c +3 −0 Original line number Diff line number Diff line Loading @@ -1343,6 +1343,8 @@ nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, loff_t start, end; struct nfsd_net *nn; trace_nfsd_commit_start(rqstp, fhp, offset, count); /* * Convert the client-provided (offset, count) range to a * (start, end) range. If the client-provided range falls Loading Loading @@ -1381,6 +1383,7 @@ nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, } else nfsd_copy_write_verifier(verf, nn); trace_nfsd_commit_done(rqstp, fhp, offset, count); return err; } Loading Loading
fs/nfsd/trace.h +2 −0 Original line number Diff line number Diff line Loading @@ -451,6 +451,8 @@ DEFINE_NFSD_IO_EVENT(write_start); DEFINE_NFSD_IO_EVENT(write_opened); DEFINE_NFSD_IO_EVENT(write_io_done); DEFINE_NFSD_IO_EVENT(write_done); DEFINE_NFSD_IO_EVENT(commit_start); DEFINE_NFSD_IO_EVENT(commit_done); DECLARE_EVENT_CLASS(nfsd_err_class, TP_PROTO(struct svc_rqst *rqstp, Loading
fs/nfsd/vfs.c +3 −0 Original line number Diff line number Diff line Loading @@ -1343,6 +1343,8 @@ nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, loff_t start, end; struct nfsd_net *nn; trace_nfsd_commit_start(rqstp, fhp, offset, count); /* * Convert the client-provided (offset, count) range to a * (start, end) range. If the client-provided range falls Loading Loading @@ -1381,6 +1383,7 @@ nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, } else nfsd_copy_write_verifier(verf, nn); trace_nfsd_commit_done(rqstp, fhp, offset, count); return err; } Loading