]> 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)
commit403fcdabb4e80759665fa98e72bbe8dd1de5cc08
tree9ae689391011a18e65ec58568ca33e4cb466cbc4
parent92e57af290d3ef513a4306fe83a08d0c591cc578
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