]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Count the bytes of skipped subrequests in nfs_lock_and_join_requests()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 9 Sep 2017 20:43:09 +0000 (16:43 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 9 Sep 2017 20:43:09 +0000 (16:43 -0400)
commit049f259fb6822692a206af9590a2cb458630cabe
tree964725f949b9f7ec7aa97d40921b7b588c8a7c80
parentc9c133e89fb43d2a5229f6b4d6cd42613747203c
NFS: Count the bytes of skipped subrequests in nfs_lock_and_join_requests()

If we skip a subrequest due to a zero refcount, we should still count
the byte range that it covered so that we accurately reconstruct the
original request size.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c