]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
NFS: Don't interrupt file writeout due to fatal errors
authorTrond Myklebust <trondmy@gmail.com>
Sun, 7 Apr 2019 17:59:02 +0000 (13:59 -0400)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commitd3619b46b77a9e978859f2426934b25045117715
tree8231e20b6f056e350b72ad38ab5b038bed9bfc13
parent96c38a65617245404689630a7c5ea510306fa882
NFS: Don't interrupt file writeout due to fatal errors

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 14bebe3c90b326d2a0df78aed5e9de090c71d878 ]

When flushing out dirty pages, the fact that we may hit fatal errors
is not a reason to stop writeback. Those errors are reported through
fsync(), not through the flush mechanism.

Fixes: a6598813a4c5b ("NFS: Don't write back further requests if there...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/nfs/write.c