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)
commit446ca2195303c550b1cec7dcf9a478910dc84672
tree9ae689391011a18e65ec58568ca33e4cb466cbc4
parent3b13b4b311a508a5899070936a873e30fcc96a2f
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