Files
android_kernel_xiaomi_sm8450/fs/nfs
Olga Kornievskaia d826e5b827 NFSv4.x recover from pre-mature loss of openstateid
Ever since the commit 0e0cb35b41, it's possible to lose an open stateid
while retrying a CLOSE due to ERR_OLD_STATEID. Once that happens,
operations that require openstateid fail with EAGAIN which is propagated
to the application then tests like generic/446 and generic/168 fail with
"Resource temporarily unavailable".

Instead of returning this error, initiate state recovery when possible to
recover the open stateid and then try calling nfs4_select_rw_stateid()
again.

Fixes: 0e0cb35b41 ("NFSv4: Handle NFS4ERR_OLD_STATEID in CLOSE/OPEN_DOWNGRADE")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-01-15 10:54:33 -05:00
..
2020-01-15 10:54:33 -05:00
2020-01-15 10:54:33 -05:00
2020-01-15 10:54:30 -05:00
2019-02-20 15:14:21 -05:00
2020-01-15 10:54:31 -05:00
2020-01-15 10:54:33 -05:00
2020-01-15 10:15:17 -05:00
2020-01-15 10:15:17 -05:00
2015-04-23 15:16:14 -04:00
2020-01-15 10:54:31 -05:00
2019-10-09 12:05:49 -04:00
2020-01-15 10:54:33 -05:00
2020-01-15 10:54:33 -05:00