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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux