Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
ANBZ: torvalds#752 commit 0d0ea30 upstream. The value of mirror->pg_bytes_written should only be updated after a successful attempt to flush out the requests on the list. Fixes: a7d42dd ("nfs: add mirroring support to pgio layer") Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Joseph Qi <[email protected]> Reviewed-by: Gao Xiang <[email protected]>
- Loading branch information