]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFS: Do not report EINTR/ERESTARTSYS as mapping errors
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 14 May 2022 14:27:00 +0000 (10:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:26:12 +0000 (10:26 +0200)
commit6264e818b563d4d89b0b4f6487a3ef37524133d5
tree83771f4c15db975acf00d34557a5dddb8a4f2fd7
parent5e88561eceb34ae3f88451c2b8e30fe403484189
NFS: Do not report EINTR/ERESTARTSYS as mapping errors

[ Upstream commit cea9ba7239dcc84175041174304c6cdeae3226e5 ]

If the attempt to flush data was interrupted due to a local signal, then
just requeue the writes back for I/O.

Fixes: 6fbda89b257f ("NFS: Replace custom error reporting mechanism with generic one")
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>
fs/nfs/write.c