diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-18 17:01:12 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-28 16:03:09 -0400 |
commit | 25c7533357a4c4a9311d40cc92e9648c8a7e763e (patch) | |
tree | e38cc8e24d50ba9390dc669b448e8bb644def788 /fs/nfs/pnfs.h | |
parent | b9e028fd89d6834558aa2a5bb30e5cff5c6c1059 (diff) | |
download | linux-3.10-25c7533357a4c4a9311d40cc92e9648c8a7e763e.tar.gz linux-3.10-25c7533357a4c4a9311d40cc92e9648c8a7e763e.tar.bz2 linux-3.10-25c7533357a4c4a9311d40cc92e9648c8a7e763e.zip |
NFSv4.1: Retry pNFS after a 2 minute timeout
If we had to fall back to read/write through MDS, then assume that we should
retry pNFS after a suitable timeout period.
The following patch sets a timeout of 2 minutes.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index e3eb7d1b17a..bc8e5001203 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h @@ -140,6 +140,7 @@ struct pnfs_layout_hdr { atomic_t plh_outstanding; /* number of RPCs out */ unsigned long plh_block_lgets; /* block LAYOUTGET if >0 */ u32 plh_barrier; /* ignore lower seqids */ + unsigned long plh_retry_timestamp; unsigned long plh_flags; loff_t plh_lwb; /* last write byte for layoutcommit */ struct rpc_cred *plh_lc_cred; /* layoutcommit cred */ |