commit | eb2c50da9e256dbbb3ff27694440e4c1900cfef8 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Aug 12 18:04:36 2019 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Aug 19 08:56:04 2019 -0400 |
tree | fb5c36bec2b2b8fdceeac4bc0e1fb74455b7e971 | |
parent | f4340e9314dbfadc48758945f85fc3b16612d06f [diff] |
NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0 If the attempt to resend the I/O results in no bytes being read/written, we must ensure that we report the error. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Fixes: 0a00b77b331a ("nfs: mirroring support for direct io") Cc: stable@vger.kernel.org # v3.20+