]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c4219750a0f58fba77ec0e34e8a67143d74db7a
tree00e2a205bc7ee8c85d05b6a3bbdce8b87d8a269a
parenta20a7b82fbdfc008c7f64cac9219d0839d512763
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