]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - Documentation/kernel-parameters.txt
nfsd4: allow numeric idmapping
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 22 Mar 2012 20:07:18 +0000 (16:07 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 26 Mar 2012 15:49:48 +0000 (11:49 -0400)
commite9541ce8efc22c233a045f091c2b969923709038
treedb3fc2a326dae9ada480bbdaeb08202a4b596098
parentcc27e0d407021a278d08c1952f5af4ab38c49eda
nfsd4: allow numeric idmapping

Mimic the client side by providing a module parameter that turns off
idmapping in the auth_sys case, for backwards compatibility with NFSv2
and NFSv3.

Unlike in the client case, we don't have any way to negotiate, since the
client can return an error to us if it doesn't like the id that we
return to it in (for example) a getattr call.

However, it has always been possible for servers to return numeric id's,
and as far as we're aware clients have always been able to handle them.

Also, in the auth_sys case clients already need to have numeric id's the
same between client and server.

Therefore we believe it's safe to default this to on; but the module
parameter is available to return to previous behavior if this proves to
be a problem in some unexpected setup.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Documentation/kernel-parameters.txt
fs/nfsd/nfs4idmap.c