summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAndy Adamson2012-04-27 23:53:53 +0200
committerTrond Myklebust2012-05-19 23:55:33 +0200
commit041245c88a29273788e8eff1353bc6e1f56c61df (patch)
tree0810bad95fe40c6fbf1a1dc13cb3ba0305ba30d3 /net
parentNFSv4.1 dereference a disconnected data server client record (diff)
downloadkernel-qcow2-linux-041245c88a29273788e8eff1353bc6e1f56c61df.tar.gz
kernel-qcow2-linux-041245c88a29273788e8eff1353bc6e1f56c61df.tar.xz
kernel-qcow2-linux-041245c88a29273788e8eff1353bc6e1f56c61df.zip
NFSv4.1 resend LAYOUTGET on data server invalid layout errors
The "invalid layout" class of errors is handled by destroying the layout and getting a new layout from the server. Currently, the layout must be destroyed before a new layout can be obtained. This means that all references (e.g.lsegs) to the "to be destroyed" layout header must be dropped before it can be destroyed. This in turn means waiting for all in flight RPC's using the old layout as well as draining the data server session slot table wait queue. Set the NFS_LAYOUT_INVALID flag to redirect I/O to the MDS while waiting for the old layout to be destroyed. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions