linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 00/21] NFS: Create NFS Modules
@ 2012-02-10 22:01 bjschuma
  2012-02-10 22:01 ` [RFC 02/21] NFS: Make v2 configurable bjschuma
                   ` (19 more replies)
  0 siblings, 20 replies; 25+ messages in thread
From: bjschuma @ 2012-02-10 22:01 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: linux-nfs, Bryan Schumaker

From: Bryan Schumaker <bjschuma@netapp.com>

This patch series turns NFS v2, v3 and v4 into loadable kernel modules that
need to be loaded before using.  This should eventually help clean up all of
the NFS code by giving us a chance to remove most of the ifdefs that check
for CONFIG_NFS_V3 and CONFIG_NFS_V4.

This time around, I tried to move as little code as possible while still
getting everything to compile as their own module.  I still had to move a
large chunk of v4 specific code from super.c, but most other files should be
(mostly) untouched.  Rather than creating new subdirectories, I instead kept
everything in fs/nfs/, significantly cutting down on the number of patches
to modularize everything.

These patches are about a week out-of-date with Trond's nfs-for-next tree,
so I expect to spend some time addressing comments and updating them so they
apply nicely.  I have also found some bugs that I'll fix up in the next
version as well.

Patch Map
---------
- Patch 1 does basic preparations
- Patches 2 - 4 make NFS v2 an optional kernel module
- Patches 5 - 9 make NFS v3 an optional kernel module
- Patches 10 - 20 make NFS v4 an optional kernel module
- Patch 21 exports functions from nfs4.ko to nfs.ko to fix modpost errors

Known bugs
----------
- Depmod detects a dependency loop when you try to install
- #include errors when NFS v4 isn't enabled
- I don't yet use request_module()

Comments and suggestions are appreciated.  Thanks!

- Bryan

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2012-02-13 13:29 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-10 22:01 [RFC 00/21] NFS: Create NFS Modules bjschuma
2012-02-10 22:01 ` [RFC 02/21] NFS: Make v2 configurable bjschuma
2012-02-10 22:01 ` [RFC 03/21] NFS: Add version registering framework bjschuma
2012-02-10 22:01 ` [RFC 04/21] NFS: Convert v2 into a module bjschuma
2012-02-10 22:01 ` [RFC 05/21] NFS: Break up the nfs_fs_mount function bjschuma
2012-02-10 22:01 ` [RFC 06/21] NFS: Create a single nfs_clone_super() function bjschuma
2012-02-10 22:01 ` [RFC 07/21] NFS: Version specific xdev mounting bjschuma
2012-02-10 22:01 ` [RFC 08/21] NFS: Only initialize the ACL client in the v3 case bjschuma
2012-02-10 22:01 ` [RFC 09/21] NFS: Convert v3 into a module bjschuma
2012-02-10 22:01 ` [RFC 10/21] NFS: Initialize NFS v4 from nfs4super.c bjschuma
2012-02-10 22:01 ` [RFC 11/21] NFS: Move lots of code from super.c bjschuma
2012-02-10 22:01 ` [RFC 12/21] NFS: module-specific submount function bjschuma
2012-02-10 22:01 ` [RFC 13/21] NFS: Custom alloc and free client functions for modules bjschuma
2012-02-10 22:01 ` [RFC 14/21] NFS: Move nfs4_set_client() and support code to nfs4client.c bjschuma
2012-02-10 22:01 ` [RFC 15/21] NFS: Move the nfs4_init_client() " bjschuma
2012-02-10 22:02 ` [RFC 16/21] NFS: Move the v4 getroot code to nfs4getroot.c bjschuma
2012-02-10 22:02 ` [RFC 17/21] NFS: Deal with delegations bjschuma
2012-02-10 22:02 ` [RFC 18/21] NFS: Use the IS_ENABLED macro for CONFIG_NFS_V4 bjschuma
2012-02-10 22:02 ` [RFC 19/21] NFS: Convert v4 into a module bjschuma
2012-02-12 18:02   ` Boaz Harrosh
2012-02-12 22:20     ` Myklebust, Trond
2012-02-12 23:05       ` Boaz Harrosh
2012-02-13 13:29         ` Bryan Schumaker
2012-02-10 22:02 ` [RFC 20/21] Export symbols for v4 module bjschuma
2012-02-10 22:02 ` [RFC 21/21] NFS: Export v4.1 symbols back to nfs.ko bjschuma

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).