OSDN Git Service

NFSv4.1: pNFS data servers may be temporarily offline
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Sep 2012 23:51:12 +0000 (19:51 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 20:03:09 +0000 (16:03 -0400)
commit1dfed2737d8cfe2f2378fddfb3bed126ff5474e7
tree865edd1618f525a66a30eac1e017a896b4f2bb8c
parent25c7533357a4c4a9311d40cc92e9648c8a7e763e
NFSv4.1: pNFS data servers may be temporarily offline

In cases where the pNFS data server is just temporarily out of service,
we want to mark it as such, and then try again later. Typically that will
be in cases of network connection errors etc.
This patch allows us to mark the devices as being "unavailable" for such
transient errors, and will make them available for retries after a
2 minute timeout period.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4filelayout.h
fs/nfs/nfs4filelayoutdev.c
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c