* Unnecessary dependecy between nfsv3 and flexfiles modules
@ 2023-08-28 14:42 Mkrtchyan, Tigran
0 siblings, 0 replies; only message in thread
From: Mkrtchyan, Tigran @ 2023-08-28 14:42 UTC (permalink / raw)
To: linux-nfs; +Cc: Trond Myklebust
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
Dear NFS developers,
I have noticed an unnecessary dependency between the pNFS flexfiles layout driver and NFSv3 modules:
```Kconfig
config PNFS_FLEXFILE_LAYOUT
tristate
depends on NFS_V4_1 && NFS_V3
default NFS_V4
```
Thus, by disabling v3 (as one might do if only v4.1+ is needed), the flexfiles
layout driver is not available anymore.
It looks like, that flexfiles layout doesn't really depend on NFSv3 code and if I remove
this dependency, that I can build and run a kernel with flexfiles layout driver, but without
NFSv3 support:
```
[root@os-46-nfs-devel ~]# lsmod
Module Size Used by
nfs_layout_flexfiles 61440 1
nfsv4 1200128 2 nfs_layout_flexfiles
dns_resolver 12288 1 nfsv4
[root@os-46-nfs-devel ~]#
```
But might be there is a non-obvious dependency that I miss. Otherwise I happy to fix that :)
Best regards,
Tigran.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2208 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-28 14:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-28 14:42 Unnecessary dependecy between nfsv3 and flexfiles modules Mkrtchyan, Tigran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).