]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite86dd3050fdd349742591600110c077af4960e5e
treeaf933ba8ce9a6e2fc1f136c62350055bcb29c2ec
parentafbb39095254e46288509fc02df8c66679138dcf
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