From: Chuck Lever <chuck.lever@oracle.com>
To: trond.myklebust@netapp.com
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH 00/16] Client-side migration support for 2.6.40 [take 3]
Date: Mon, 09 May 2011 15:36:09 -0400 [thread overview]
Message-ID: <20110509192522.16568.59082.stgit@matisse.1015granger.net> (raw)
Hi-
Here is the latest pass at client-side support for NFS4.0 migration.
Some 4.1 support is thrown in, but is not tested (no extant 4.1
servers in the wild support migration). Patches are against
2.6.39-rc6.
This series adds support for both NFS4ERR_MOVED and
NFS4ERR_LEASE_MOVED. It can also re-establish a callback channel
with the destination server, post-migration. I've attempted to
address all comments and re-organization requests from pub night.
This series is what I am testing this week. I'm sure there are still
some bugs, but let's get the review process rolling.
---
Chuck Lever (12):
NFS: Implement support for NFS4ERR_LEASE_MOVED
NFS: Add migration recovery callouts in nfs4proc.c
NFS: Remove "const" from "struct nfs_server *" fields
NFS: Add basic migration support to state manager thread
NFS: Add functions to swap transports during migration recovery
NFS: Add an API for cloning an nfs_client
NFS: Add infrastructure for updating callback data
NFS: Introduce nfs4_proc_get_mig_status()
NFS: Introduce NFS_ATTR_FATTR_V4_LOCATIONS
NFS: Save root file handle in nfs_server
NFS: Add a client-side function to display file handles
SUNRPC: Add API to acquire source address
Trond Myklebust (4):
SUNRPC: Add a helper to switch the transport of the rpc_client
SUNRPC: Move clnt->cl_server into struct rpc_xprt
SUNRPC: Use RCU to dereference the rpc_clnt.cl_xprt field
SUNRPC: Allow temporary blocking of an rpc client
fs/nfs/callback.c | 3
fs/nfs/callback_proc.c | 9 -
fs/nfs/client.c | 88 +++++++-
fs/nfs/getroot.c | 5
fs/nfs/inode.c | 45 ++++
fs/nfs/internal.h | 6 +
fs/nfs/nfs4_fs.h | 8 +
fs/nfs/nfs4namespace.c | 202 ++++++++++++++++++
fs/nfs/nfs4proc.c | 218 +++++++++++++++++---
fs/nfs/nfs4state.c | 227 ++++++++++++++++++++-
fs/nfs/nfs4xdr.c | 50 +++--
fs/nfs/super.c | 5
include/linux/nfs_fs.h | 14 +
include/linux/nfs_fs_sb.h | 7 +
include/linux/nfs_xdr.h | 42 ++--
include/linux/sunrpc/clnt.h | 22 ++
include/linux/sunrpc/debug.h | 11 +
include/linux/sunrpc/xprt.h | 2
net/sunrpc/clnt.c | 461 +++++++++++++++++++++++++++++++++++++-----
net/sunrpc/rpc_pipe.c | 5
net/sunrpc/rpcb_clnt.c | 24 +-
net/sunrpc/stats.c | 6 -
net/sunrpc/xprt.c | 14 +
23 files changed, 1320 insertions(+), 154 deletions(-)
--
Chuck Lever
next reply other threads:[~2011-05-09 19:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-09 19:36 Chuck Lever [this message]
2011-05-09 19:36 ` [PATCH 01/16] SUNRPC: Allow temporary blocking of an rpc client Chuck Lever
2011-05-09 19:36 ` [PATCH 02/16] SUNRPC: Use RCU to dereference the rpc_clnt.cl_xprt field Chuck Lever
2011-05-09 19:36 ` [PATCH 03/16] SUNRPC: Move clnt->cl_server into struct rpc_xprt Chuck Lever
2011-05-09 19:36 ` [PATCH 04/16] SUNRPC: Add a helper to switch the transport of the rpc_client Chuck Lever
2011-05-09 19:37 ` [PATCH 05/16] SUNRPC: Add API to acquire source address Chuck Lever
2011-05-09 19:37 ` [PATCH 06/16] NFS: Add a client-side function to display file handles Chuck Lever
2011-05-09 19:37 ` [PATCH 07/16] NFS: Save root file handle in nfs_server Chuck Lever
2011-05-09 19:37 ` [PATCH 08/16] NFS: Introduce NFS_ATTR_FATTR_V4_LOCATIONS Chuck Lever
2011-05-09 19:37 ` [PATCH 09/16] NFS: Introduce nfs4_proc_get_mig_status() Chuck Lever
2011-05-09 19:37 ` [PATCH 10/16] NFS: Add infrastructure for updating callback data Chuck Lever
2011-05-09 19:38 ` [PATCH 11/16] NFS: Add an API for cloning an nfs_client Chuck Lever
2011-05-12 17:30 ` Chuck Lever
2011-05-12 19:30 ` Trond Myklebust
2011-05-09 19:38 ` [PATCH 12/16] NFS: Add functions to swap transports during migration recovery Chuck Lever
2011-05-09 19:38 ` [PATCH 13/16] NFS: Add basic migration support to state manager thread Chuck Lever
2011-05-09 19:38 ` [PATCH 14/16] NFS: Remove "const" from "struct nfs_server *" fields Chuck Lever
2011-05-09 19:38 ` [PATCH 15/16] NFS: Add migration recovery callouts in nfs4proc.c Chuck Lever
2011-05-09 19:38 ` [PATCH 16/16] NFS: Implement support for NFS4ERR_LEASE_MOVED Chuck Lever
2011-05-09 22:48 ` Chuck Lever
2011-05-11 0:20 ` Tom Haynes
[not found] ` <4DC9D636.3050307-8AdZ+HgO7noAvxtiuMwx3w@public.gmane.org>
2011-05-11 14:04 ` Chuck Lever
2011-05-12 15:37 ` Chuck Lever
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110509192522.16568.59082.stgit@matisse.1015granger.net \
--to=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@netapp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).