flexfiles: enforce per-mirror stateid only for v4 DSes
authorTigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Mon, 26 Nov 2018 17:35:14 +0000 (18:35 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 2 Dec 2018 14:43:56 +0000 (09:43 -0500)
commit320f35b7bf8cccf1997ca3126843535e1b95e9c4
treed069c20f5cdbc5829c248bd7b85783d9e85ddfb8
parent4b78317679c4f3782a3cff0ddb269c1fcfde7621
flexfiles: enforce per-mirror stateid only for v4 DSes

Since commit bb21ce0ad227 we always enforce per-mirror stateid.
However, this makes sense only for v4+ servers.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/flexfilelayout/flexfilelayout.c