]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 24 Aug 2023 20:43:53 +0000 (16:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:49 +0000 (09:42 +0200)
commit4030ace74d8b8ec9920c26b2a0969cd24bb5d3c8
tree6684519cbccd461e92d4a3b476ad75be994559d1
parentfdbc9637bf8284c3a9641a12887658c37d2366e3
NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ

[ Upstream commit 5690eed941ab7e33c3c3d6b850100cabf740f075 ]

If the client sent a synchronous copy and the server replied with
ERR_OFFLOAD_NO_REQ indicating that it wants an asynchronous
copy instead, the client should retry with asynchronous copy.

Fixes: 539f57b3e0fd ("NFS handle COPY ERR_OFFLOAD_NO_REQS")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs42proc.c