This is a second snapshot of migration support for the Linux NFS client. This snapshot is untested. I think I've addressed recent review comments. The one remaining piece seems to be adding logic to send a SETCLIENTID to the destination server to update the client's callback endpoint information. I think we'll need to move cl_ipaddr and other fields related to constructing the long-form client ID into the nfs_server struct. More discussion is needed. --- 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: 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 NFS: Add NFS4CLNT_UPDATE_CLIENTID SUNRPC: Add API to acquire source address SUNRPC: Remove obsolete comment fs/nfs/client.c | 2 + fs/nfs/getroot.c | 5 + fs/nfs/inode.c | 45 ++++++++++++ fs/nfs/internal.h | 2 + fs/nfs/nfs4_fs.h | 7 ++ fs/nfs/nfs4namespace.c | 162 +++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4proc.c | 143 +++++++++++++++++++++++++++++++++----- fs/nfs/nfs4state.c | 150 ++++++++++++++++++++++++++++++++++++++-- fs/nfs/nfs4xdr.c | 50 ++++++++++--- include/linux/nfs_fs.h | 14 ++++ include/linux/nfs_fs_sb.h | 6 ++ include/linux/nfs_xdr.h | 38 ++++++---- include/linux/sunrpc/clnt.h | 1 net/sunrpc/clnt.c | 136 +++++++++++++++++++++++++++++++++++- 14 files changed, 700 insertions(+), 61 deletions(-) -- Chuck Lever -- 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