summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_dtree.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-02-01 19:17:41 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-02-10 13:31:04 (GMT)
commit7e381172cf6e0282a56374e50667515aed55166a (patch)
tree46d41f354f1bb58153b0bdbea883e7abe94ebddc /fs/jfs/jfs_dtree.c
parentaa2f1ef10e6ad65c9138ec576f82c08f32e6f32c (diff)
downloadlinux-fsl-qoriq-7e381172cf6e0282a56374e50667515aed55166a.tar.xz
NFS: Improve NFS iostat byte count accuracy for writes
The bytes counted by the performance counters for NFS writes should reflect write and sync errors. If the write(2) system call reports an error, the bytes should not be counted. And, if the write is short, the actual number of bytes that was written should be counted, not the number of bytes that was requested. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/jfs/jfs_dtree.c')
0 files changed, 0 insertions, 0 deletions