Commit ea5bb050 authored by Trond Myklebust's avatar Trond Myklebust Committed by openeuler-sync-bot
Browse files

NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot

stable inclusion
from stable-v5.10.154
commit f0f1c74fa670d37c042514c15c83b84c1c9fc672
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I64YCB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f0f1c74fa670d37c042514c15c83b84c1c9fc672



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

[ Upstream commit e59679f2 ]

Currently, we are only guaranteed to send RECLAIM_COMPLETE if we have
open state to recover. Fix the client to always send RECLAIM_COMPLETE
after setting up the lease.

Fixes: fce5c838 ("nfs41: RECLAIM_COMPLETE functionality")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLipeng Sang <sanglipeng1@jd.com>
(cherry picked from commit 1ada9f20)
parent 99424902
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment