Skip to content

NFS: Remove as many CONFIG_NFS_V3s as possible

Anna Schumaker linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4NFS: Unconditionally enable commit codefs/nfs/direct.c fs/nfs/write.c include/linux/nfs_fs.h+0 -760 replies
2/4NFS: Move v3 declarations out of internal.hfs/nfs/internal.h fs/nfs/nfs3_fs.h fs/nfs/nfs3proc.c+16 -70 replies
3/4NFS: Remove v3 not compiled check from validate_mount_data()fs/nfs/super.c+0 -110 replies
4/4NFS: Move NFS v3 acl functions to nfs3_fs.hfs/nfs/nfs3_fs.h fs/nfs/nfs3super.c include/linux/nfs_fs.h+20 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] NFS: Remove as many CONFIG_NFS_V3s as possible

The NFS client has a different module for each NFS version, but changing compile options in one module usually causes everything else in the client to recompile. These patches begin to break inter-module dependencies with the NFS v3 module.

Currently, toggling CONFIG_NFS_V3={n,m} will cause most of the NFS client and random files in lockd, exofs and nfsd to recompile. After applying these patches, only fs/nfs/super.c will recompile when changing the existence of NFS v3.

Changing the status of NFS v4 still causes way too much to recompile, but that is an adventure for another day.

Questions? Comments? Thoughts?

Anna

Anna Schumaker (4):
NFS: Unconditionally enable commit code
NFS: Move v3 declarations out of internal.h
NFS: Remove v3 not compiled check from validate_mount_data()
NFS: Move NFS v3 acl functions to nfs3_fs.h

 fs/nfs/direct.c        | 14 -------------
 fs/nfs/internal.h      |  7 -------
 fs/nfs/nfs3_fs.h       | 34 +++++++++++++++++++++++++++++++
 fs/nfs/nfs3proc.c      |  1 +
 fs/nfs/nfs3super.c     |  1 +
 fs/nfs/super.c         | 11 ----------
 fs/nfs/write.c         | 54 --------------------------------------------------
 include/linux/nfs_fs.h | 41 --------------------------------------
 8 files changed, 36 insertions(+), 127 deletions(-)
 create mode 100644 fs/nfs/nfs3_fs.h
Signature · 1 line
2.1.0