]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PNFS for stateid errors retry against MDS first
authorOlga Kornievskaia <kolga@netapp.com>
Fri, 23 Jun 2017 14:26:59 +0000 (10:26 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 20:00:08 +0000 (16:00 -0400)
commit22368ff11d72eb06051f9b51abbc6842496c2d3a
tree40d03d1d7ac558ec59153362fab7996d56099b0e
parenta0bc01e0f1fa39702b5244b3bac699bea0d4f413
PNFS for stateid errors retry against MDS first

Upon receiving a stateid error such as BAD_STATEID, the client
should retry the operation against the MDS before deciding to
do stateid recovery.

Previously, the code would initiate state recovery and it could
lead to a race in a state manager that could chose an incorrect
recovery method which would lead to the EIO failure for the
application.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c