]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Store the legacy idmapper result in the keyring
authorBryan Schumaker <bjschuma@netapp.com>
Fri, 24 Feb 2012 19:14:51 +0000 (14:14 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Mar 2012 22:10:16 +0000 (17:10 -0500)
commitacb27f69a80612fed4b8d349a70f86d8fc7052f8
tree162a5ecd487bc842bc07cc8d4c14d4d1a337813d
parent2e1091905f41656c383402ee46e0713ff380f047
NFS: Store the legacy idmapper result in the keyring

This patch removes the old hashmap-based caching and instead uses a
"request key actor" to place an upcall to the legacy idmapper rather
than going through /sbin/request-key.  This will only be used as a
fallback if /etc/request-key.conf isn't configured to use nfsidmap.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/idmap.c
include/linux/nfs_idmap.h