nfs41: drop dependency between flexfiles layout driver and NFSv3 modules
authorMkrtchyan, Tigran <tigran.mkrtchyan@desy.de>
Mon, 11 Sep 2023 14:59:04 +0000 (16:59 +0200)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 1 Nov 2023 19:39:46 +0000 (15:39 -0400)
The flexfiles layout driver depends on NFSv3 module as data servers
might be configure to provide nfsv3 only.

Disabling the nfsv3 protocol completely disables the flexfiles layout driver,
however, the data server still might support v4.1 protocol. Thus the strond
couling betwwen flexfiles and nfsv3 modules should be relaxed, as layout driver
will return UNSUPPORTED if not matching protocol is found.

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

index 7df2503cef6c30060f66d17330c3270514b9c78d..01ac733a63203a459a994a0ec9df8d6006fcb875 100644 (file)
@@ -125,7 +125,7 @@ config PNFS_BLOCK
 
 config PNFS_FLEXFILE_LAYOUT
        tristate
-       depends on NFS_V4_1 && NFS_V3
+       depends on NFS_V4_1
        default NFS_V4
 
 config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN