OSDN Git Service

SUNRPC: Add lockless lookup of the server's auth domain
authorTrond Myklebust <trondmy@gmail.com>
Mon, 1 Oct 2018 14:41:44 +0000 (10:41 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Oct 2018 15:32:59 +0000 (11:32 -0400)
commit608a0ab2f54ab0e301ad76a41aad979ea0d02670
tree26382fa9fd57a2f549fb991c067c72257a2b2b61
parent30382d6ce593f863292cd7c026a79077c4e7280f
SUNRPC: Add lockless lookup of the server's auth domain

Avoid taking the global auth_domain_lock in most lookups of the auth domain
by adding an RCU protected lookup.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svcauth.h
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/svcauth.c
net/sunrpc/svcauth_unix.c