Commit 812ffba3 authored by Trond Myklebust's avatar Trond Myklebust Committed by Xie XiuQi
Browse files

NFS: Don't interrupt file writeout due to fatal errors



mainline inclusion
from mainline-v5.2-rc1
commit 14bebe3c
category: bugfix
bugzilla: 15379
CVE: NA

-------------------------------------------------

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: a6598813 ("NFS: Don't write back further requests if there...")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: default avatarZhangXiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: default avataryangerkun <yangerkun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 12fe366c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment