Searched hist:"7 e381172cf6e0282a56374e50667515aed55166a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | file.c | diff 7e381172cf6e0282a56374e50667515aed55166a Mon Feb 01 13:17:41 CST 2010 Chuck Lever <chuck.lever@oracle.com> 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>
|