All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v200/12] NFS: Split out version-specific code
@ 2012-07-16 20:39 bjschuma
  2012-07-16 20:39 ` [PATCH v2 01/12] NFS: Split out NFS v2 inode operations bjschuma
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: bjschuma @ 2012-07-16 20:39 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: linux-nfs

From: Bryan Schumaker <bjschuma@netapp.com>

These patches split out most NFS version-specific code into files based on the
NFS version it belongs to.  The first two patches make all the NFS v2 and v3
changes that are needed, the rest carefully split out NFS v4 code from the
generic client.  I apologize for the amount of flux caused by these patches
but after this the rest of my modularization changes are really, really easy.

I would appreciate it if lots of people could take the time to look at these
patches.  I think the changes are fairly straightforward, but the large amount
of code changed means I could have easily missed something.  I expect there
will be conflicts with Chuck's recent TEST_STATEID changes, I'm willing to
update and resubmit these patches if Chuck's changes are merged into Trond's
git tree first.

When creating new files with moved code I tried to preserve the copyright of
the original file.  Right now fs/nfs/sysctl.c doesn't have a copyright line so
I used `git annotate` to guess that Trond wrote the code in 2006 when creating
fs/nfs/nfs4sysctl.c.  If I got something wrong, please let me know!

Changes in v2:
- Rebase against Trond's nfs-for-bryan tree, which includes recent VFS changes
  and other patches affecting code that I touch.

Thanks,
- Bryan

Bryan Schumaker (12):
  NFS: Split out NFS v2 inode operations
  NFS: Split out NFS v3 inode operations
  NFS: Split out NFS v4 inode operations
  NFS: Create an init_nfs_v4() function
  NFS: Initialize v4 sysctls from nfs_init_v4()
  NFS: Split out NFS v4 file operations
  NFS: Move the v4 getroot code to nfs4getroot.c
  NFS: Initialize the NFS v4 client from init_nfs_v4()
  NFS: Split out NFS v4 server creating code
  NFS: Create a single nfs_clone_super() function
  NFS: Split out the NFS v4 filesystem types
  NFS: Split out NFS v4 client functions

 fs/nfs/Makefile        |  11 +-
 fs/nfs/client.c        | 687 +------------------------------------------------
 fs/nfs/dir.c           |  97 +------
 fs/nfs/file.c          | 169 ++----------
 fs/nfs/getroot.c       |  50 ----
 fs/nfs/inode.c         |  67 ++---
 fs/nfs/internal.h      |  81 ++++++
 fs/nfs/nfs3proc.c      |  29 +++
 fs/nfs/nfs4_fs.h       |  26 +-
 fs/nfs/nfs4client.c    | 663 +++++++++++++++++++++++++++++++++++++++++++++++
 fs/nfs/nfs4file.c      | 126 +++++++++
 fs/nfs/nfs4getroot.c   |  49 ++++
 fs/nfs/nfs4proc.c      |  20 ++
 fs/nfs/nfs4super.c     | 360 ++++++++++++++++++++++++++
 fs/nfs/nfs4sysctl.c    |  68 +++++
 fs/nfs/proc.c          |  21 ++
 fs/nfs/super.c         | 425 ++----------------------------
 fs/nfs/sysctl.c        |  26 --
 include/linux/nfs_fs.h |   8 -
 19 files changed, 1554 insertions(+), 1429 deletions(-)
 create mode 100644 fs/nfs/nfs4client.c
 create mode 100644 fs/nfs/nfs4file.c
 create mode 100644 fs/nfs/nfs4getroot.c
 create mode 100644 fs/nfs/nfs4super.c
 create mode 100644 fs/nfs/nfs4sysctl.c

-- 
1.7.11.2


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

end of thread, other threads:[~2012-07-17 19:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-16 20:39 [PATCH v200/12] NFS: Split out version-specific code bjschuma
2012-07-16 20:39 ` [PATCH v2 01/12] NFS: Split out NFS v2 inode operations bjschuma
2012-07-16 20:39 ` [PATCH v2 02/12] NFS: Split out NFS v3 " bjschuma
2012-07-16 20:39 ` [PATCH v2 03/12] NFS: Split out NFS v4 " bjschuma
2012-07-16 20:39 ` [PATCH v2 04/12] NFS: Create an init_nfs_v4() function bjschuma
2012-07-17 19:11   ` [PATCH v3 " Bryan Schumaker
2012-07-17 19:13     ` Myklebust, Trond
2012-07-16 20:39 ` [PATCH v2 05/12] NFS: Initialize v4 sysctls from nfs_init_v4() bjschuma
2012-07-16 20:39 ` [PATCH v2 06/12] NFS: Split out NFS v4 file operations bjschuma
2012-07-16 20:39 ` [PATCH v2 07/12] NFS: Move the v4 getroot code to nfs4getroot.c bjschuma
2012-07-16 20:39 ` [PATCH v2 08/12] NFS: Initialize the NFS v4 client from init_nfs_v4() bjschuma
2012-07-16 20:39 ` [PATCH v2 09/12] NFS: Split out NFS v4 server creating code bjschuma
2012-07-16 20:39 ` [PATCH v2 10/12] NFS: Create a single nfs_clone_super() function bjschuma
2012-07-16 20:39 ` [PATCH v2 11/12] NFS: Split out the NFS v4 filesystem types bjschuma
2012-07-16 20:39 ` [PATCH v2 12/12] NFS: Split out NFS v4 client functions bjschuma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.