]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92e57af290d3ef513a4306fe83a08d0c591cc578
treeea4533aa1ad416f21b63654bd7f707dcde18c171
parent87ff9a39db89728b33555c537e26da19bbfaf061
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