nfs/flexfiles: Helper function to detect FF_FLAGS_NO_READ_IO
authorTom Haynes <thomas.haynes@primarydata.com>
Wed, 25 May 2016 14:31:12 +0000 (07:31 -0700)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 25 May 2016 17:35:20 +0000 (13:35 -0400)
commitfb1084e3320555eca0fb86c9eaad5429ee761282
treeaf933ba8ce9a6e2fc1f136c62350055bcb29c2ec
parentade8febde0271513360bac44883dbebad44276c3
nfs/flexfiles: Helper function to detect FF_FLAGS_NO_READ_IO

The mds can inform the client not to use the IOMODE_RW layout
segment for doing READs. I.e., it is basically a
IOMODE_WRITE layout segment.

It would do this to not interfere with the WRITEs.

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