NFS: Don't write back further requests if there is a pending write error
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 25 Apr 2017 16:06:00 +0000 (12:06 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 25 Apr 2017 19:42:34 +0000 (15:42 -0400)
commita6598813a4c5bad76322bee2323dc549e7d7180d
treef2de00c1be50ef80302c8c745ef4b69cfc40b170
parent6aeafd05eca9bc8ab6b03d7e56d09ffd18190f44
NFS: Don't write back further requests if there is a pending write error

If the server has already returned a fatal write error that the user
has not yet received on this file, then don't write back the other pages.
Instead, act as if they have been sent, and have returned with the same
error.

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