pnfs: pnfs_update_layout needs to consider if strict iomode checking is on
authorTom Haynes <[email protected]>
Wed, 25 May 2016 14:31:14 +0000 (07:31 -0700)
committerAnna Schumaker <[email protected]>
Thu, 26 May 2016 12:40:56 +0000 (08:40 -0400)
commitc7d73af2d249f0323f5cdb171a59497ce80011fb
treedd0e34ec0c9eab8394c601a2ac25eb9721d39e5e
parent602c4cd452d93355166daf8a662c84a5f85d2856
pnfs: pnfs_update_layout needs to consider if strict iomode checking is on

As flexfiles has FF_FLAGS_NO_READ_IO, there is a need to generically
support enforcing that a IOMODE_RW segment will not allow READ I/O.

Signed-off-by: Tom Haynes <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h