diff mbox series

nfs41: flexfiles: drop dependency between flexfiles layout driver and NFSv3 modules

Message ID 582547008.6087350.1694444344114.JavaMail.zimbra@desy.de (mailing list archive)
State New, archived
Headers show
Series nfs41: flexfiles: drop dependency between flexfiles layout driver and NFSv3 modules | expand

Commit Message

Mkrtchyan, Tigran Sept. 11, 2023, 2:59 p.m. UTC
Ups. Forwarding to correct list.

----- On 29 Aug, 2023, at 13:04, Tigran Mkrtchyan tigran.mkrtchyan@desy.de wrote:

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>
---
 fs/nfs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig
index b6fc169be1b1..ba95246be09e 100644
--- a/fs/nfs/Kconfig
+++ b/fs/nfs/Kconfig
@@ -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