]> 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)
commit848a1818163d2d95ae9e4bc63529a1bcec3526fa
tree3fac401ef4767578191971cf6c363a8b5aaafabc
parent36f99d76f724cc91c6f222bc41eafee1429d18d8
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