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()
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 <trond.myklebust@hammerspace.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information