Skip to contentSkip to conversation

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

PATCH New Tigran Mkrtchyan 1 participant 2 messages Aug 29, 2023 – Sep 11, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfs41: flexfiles: drop dependency between flexfiles layout driver and NFSv3 modules

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.

---
 fs/nfs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nfs/Kconfig +1 -1
index b6fc169be1b1..ba95246be09e 100644
@@ -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
Signature · 1 line
2.39.1
#1 lore raw

PATCH 1/1 nfs41: flexfiles: drop dependency between flexfiles layout driver and NFSv3 modules

Ups. Forwarding to correct list.

----- On 29 Aug, 2023, at 13:04, Tigran Mkrtchyan [email protected] 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.

---
 fs/nfs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nfs/Kconfig +1 -1
index b6fc169be1b1..ba95246be09e 100644
@@ -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
Signature · 1 line
2.39.1