NFS: Do not report EINTR/ERESTARTSYS as mapping errors
stable inclusion from stable-v5.10.121 commit 418b9fa4349a0479e6c3a9407a3ca208abd87bec category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=418b9fa4349a0479e6c3a9407a3ca208abd87bec -------------------------------- [ Upstream commit cea9ba72 ] If the attempt to flush data was interrupted due to a local signal, then just requeue the writes back for I/O. Fixes: 6fbda89b ("NFS: Replace custom error reporting mechanism with generic one") Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录