]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Add nfs4_unique_id boot parameter
authorChuck Lever <chuck.lever@oracle.com>
Fri, 14 Sep 2012 21:24:41 +0000 (17:24 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Oct 2012 22:33:33 +0000 (15:33 -0700)
commitae988482eecc740ed61056aebe670b7a40d61b6f
treec20a5610aa8f934cb46bbb38c901e16d43ea602a
parent518fa0bb9034043239d46853ef29f6a845f9d348
NFS: Add nfs4_unique_id boot parameter

An optional boot parameter is introduced to allow client
administrators to specify a string that the Linux NFS client can
insert into its nfs_client_id4 id string, to make it both more
globally unique, and to ensure that it doesn't change even if the
client's nodename changes.

If this boot parameter is not specified, the client's nodename is
used, as before.

Client installation procedures can create a unique string (typically,
a UUID) which remains unchanged during the lifetime of that client
instance.  This works just like creating a UUID for the label of the
system's root and boot volumes.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Documentation/filesystems/nfs/nfs.txt
Documentation/kernel-parameters.txt
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/super.c