summaryrefslogtreecommitdiffstats
path: root/fs/ext2/ialloc.c
diff options
context:
space:
mode:
authorAndy Adamson2011-03-01 02:34:22 +0100
committerTrond Myklebust2011-03-11 21:38:43 +0100
commit568e8c494ded95a28c5dd8b79b4d3ffb95b6d845 (patch)
tree00e71f79575635c0ddfcd1210e263088cc121da2 /fs/ext2/ialloc.c
parentNFSv4.1 move deviceid cache to filelayout driver (diff)
downloadkernel-qcow2-linux-568e8c494ded95a28c5dd8b79b4d3ffb95b6d845.tar.gz
kernel-qcow2-linux-568e8c494ded95a28c5dd8b79b4d3ffb95b6d845.tar.xz
kernel-qcow2-linux-568e8c494ded95a28c5dd8b79b4d3ffb95b6d845.zip
NFSv4.1: turn off pNFS on ds connection failure
If a data server is unavailable, go through MDS. Mark the deviceid containing the data server as a negative cache entry. Do not try to connect to any data server on a deviceid marked as a negative cache entry. Mark any layout that tries to use the marked deviceid as failed. Inodes with a layout marked as fails will not use the layout for I/O, and will not perform any more layoutgets. Inodes without a layout will still do layoutget, but the layout will get marked immediately. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/ext2/ialloc.c')
0 files changed, 0 insertions, 0 deletions