pNFS/flexfiles: When checking for available DSes, conditionally check for MDS io
authorTom Haynes <loghyr@primarydata.com>
Tue, 17 May 2016 16:28:37 +0000 (12:28 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:08 +0000 (15:48 -0400)
commit3b13b4b311a508a5899070936a873e30fcc96a2f
treeea4533aa1ad416f21b63654bd7f707dcde18c171
parent75bf47ebf6b5349d875fdffe7d64b0fc4e936170
pNFS/flexfiles: When checking for available DSes, conditionally check for MDS io

Whenever we check to see if we have the needed number of DSes for the
action, we may also have to check to see whether IO is allowed to go to
the MDS or not.

[jlayton: fix merge conflict due to lack of localio patches here]

Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h
fs/nfs/flexfilelayout/flexfilelayoutdev.c