diff options
author | Andy Adamson <andros@netapp.com> | 2014-05-23 15:22:59 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-05-29 22:46:03 +0200 |
commit | 8935ef664ea33a7ddd39015b26fe35aa7744f715 (patch) | |
tree | 4903b31b49e380baa35a0fb01c1f706fa6cc08c6 /fs/nfs/pnfs.h | |
parent | NFS: Fix a potential busy wait in nfs_page_group_lock (diff) | |
download | linux-8935ef664ea33a7ddd39015b26fe35aa7744f715.tar.xz linux-8935ef664ea33a7ddd39015b26fe35aa7744f715.zip |
NFSv4: Use error handler on failed GETATTR with successful OPEN
Place the call to resend the failed GETATTR under the error handler so that
when appropriate, the GETATTR is retried more than once.
The server can fail the GETATTR op in the OPEN compound with a recoverable
error such as NFS4ERR_DELAY. In the case of an O_EXCL open, the server has
created the file, so a retrans of the OPEN call will fail with NFS4ERR_EXIST.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
0 files changed, 0 insertions, 0 deletions