pNFS/flexfile: Fix erroneous fall back to read/write through the MDS
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 17 May 2016 16:28:36 +0000 (12:28 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:07 +0000 (15:48 -0400)
commit75bf47ebf6b5349d875fdffe7d64b0fc4e936170
tree00e2a205bc7ee8c85d05b6a3bbdce8b87d8a269a
parentcca588d6c835e21fd7a3e02a964ce5fe09fdad26
pNFS/flexfile: Fix erroneous fall back to read/write through the MDS

This patch fixes a problem whereby the pNFS client falls back to doing
reads and writes through the metadata server even when the layout flag
FF_FLAGS_NO_IO_THRU_MDS is set.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayout.c