]> git.baikalelectronics.ru Git - kernel.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)
commit0166d2ac45e7270bf036b5f12d8e09646384a613
tree3fac401ef4767578191971cf6c363a8b5aaafabc
parentde06d8e552b95a120c233855b213a5ed84e8fffe
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