Bug 4357 - [ANCK 5.10] NFSv4.1: handle NFS4ERR_NOSPC by CREATE_SESSION
Summary: [ANCK 5.10] NFSv4.1: handle NFS4ERR_NOSPC by CREATE_SESSION
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: fs (show other bugs) fs
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: shineway
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-06 10:18 UTC by shineway
Modified: 2023-03-07 10:00 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shineway 2023-03-06 10:18:58 UTC
Description of problem:
When the client receives ERR_NOSPC on reply to CREATE_SESSION
it leads to a client hanging in nfs_wait_client_init_complete().
Instead, complete and fail the client initiation with an EIO
error which allows for the mount command to fail instead of
hanging.

See upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ea027cb2e1b59c76582af867b71d5c037fa6bb8e
Comment 1 shineway 2023-03-06 14:19:45 UTC
Add PR:
https://gitee.com/anolis/cloud-kernel/pulls/1368