OSDN Git Service

NFS: Add method to detect whether an FSID is still on the server
authorChuck Lever <chuck.lever@oracle.com>
Thu, 17 Oct 2013 18:13:30 +0000 (14:13 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 19:30:03 +0000 (15:30 -0400)
commit44c9993384e9311cd56acf6ead3baffab616ae50
tree3e7db3df6e09d1c4f06d107ced2b1b910852f645
parent352297b917d8a3e61a778ffb0f0195ce8550d7f5
NFS: Add method to detect whether an FSID is still on the server

Introduce a mechanism for probing a server to determine if an FSID
is present or absent.

The on-the-wire compound is different between minor version 0 and 1.
Minor version 0 appends a RENEW operation to identify which client
ID is probing.  Minor version 1 has a SEQUENCE operation in the
compound which effectively carries the same information.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c
include/linux/nfs4.h
include/linux/nfs_xdr.h