[RFC 00/21] NFS: Create NFS Modules

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

 



From: Bryan Schumaker <bjschuma@xxxxxxxxxx>

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