NFS: Remove as many CONFIG_NFS_V3s as possible
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | NFS: Unconditionally enable commit codefs/ fs/ include/ | +0 | 0 replies | |
| 2/4 | NFS: Move v3 declarations out of internal.hfs/ fs/ fs/ | +16 | 0 replies | |
| 3/4 | NFS: Remove v3 not compiled check from validate_mount_data()fs/ | +0 | 0 replies | |
| 4/4 | NFS: Move NFS v3 acl functions to nfs3_fs.hfs/ fs/ include/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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