]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pNFS/flexfiles: Always attempt to call layoutstats when flexfiles is enabled
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 9 May 2017 20:02:57 +0000 (16:02 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 9 May 2017 20:02:57 +0000 (16:02 -0400)
commit76b2a303384e1d6299c3a0249f0f0ce2f8f96017
tree3fac401ef4767578191971cf6c363a8b5aaafabc
parentf4b23de3dda1536590787c9e5c3d16b8738ab108
pNFS/flexfiles: Always attempt to call layoutstats when flexfiles is enabled

Layoutstats is always desirable when using the flexfiles driver, so
we should enable it if that driver is being loaded. It is safe to do
so, because even when the mount specifies NFSv4.1, we will turn it
off if the server tells us it is unsupported.

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