Description of problem: A client should be able to handle getting an EACCES error while doing a mount operation to reclaim state due to NFS4CLNT_RECLAIM_REBOOT being set. If the server returns RPC_AUTH_BADCRED because authentication failed when we execute "exportfs -au", then RECLAIM_COMPLETE will go a wrong way. After mount succeeds, all OPEN call will fail due to an NFS4ERR_GRACE error being returned. Additional info: See upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e35a5e782f67ed76a65ad0f23a484444a95f000f
Hi Ferry, please post a PR to port this into ANCK 5.10, thanks.
https://gitee.com/anolis/cloud-kernel/pulls/1325
Add this PR for devel-4.19: https://gitee.com/anolis/cloud-kernel/pulls/1324
(In reply to shineway from comment #3) > Add this PR for devel-4.19: > https://gitee.com/anolis/cloud-kernel/pulls/1324 I see. I've commented on PR and suggested we'd better post another bugzilla for ANCK-4.19.
(In reply to josephqi from comment #2) > https://gitee.com/anolis/cloud-kernel/pulls/1325 merged