]> git.karo-electronics.de Git - linux-beck.git/commit
NFSv4: Allow retry of operations that used a returned delegation stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 26 Jun 2016 12:44:35 +0000 (08:44 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 30 Jun 2016 19:29:57 +0000 (15:29 -0400)
commit8487c479e2668dd1231e9c3c77a203d744aec081
tree886f0174f465e4b27d97087118dd229db0358502
parentca857cc1d4cf17aba4bbb3b95d35454ad96924b3
NFSv4: Allow retry of operations that used a returned delegation stateid

Fix up nfs4_do_handle_exception() so that it can check if the operation
that received the NFS4ERR_BAD_STATEID was using a defunct delegation.
Apply that to the case of SETATTR, which will currently return EIO
in some cases where this happens.

Reported-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c