]> git.baikalelectronics.ru Git - kernel.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)
commit67d78198785348aaf9d843a4fd7d5db2cf7a2b88
tree886f0174f465e4b27d97087118dd229db0358502
parentff548b07cd6ee34b7b2c04e5de93bd8848178291
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