]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: When initing reads or writes, we might have to retry connecting to...
authorTom Haynes <loghyr@primarydata.com>
Tue, 17 May 2016 16:28:38 +0000 (12:28 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:08 +0000 (15:48 -0400)
commit1aa88d695841fa2eec66c118262d2d2135b8b977
tree9ae689391011a18e65ec58568ca33e4cb466cbc4
parent58267d0e08094b133299dcf3856bba10107617e5
pNFS/flexfiles: When initing reads or writes, we might have to retry connecting to DSes

If we are initializing reads or writes and can not connect to a DS, then
check whether or not IO is allowed through the MDS. If it is allowed,
reset to the MDS. Else, fail the layout segment and force a retry
of a new layout segment.

Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayout.c