]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e3d8bf76b9fbe1130ddcf835021a48f8492338f
tree26382fa9fd57a2f549fb991c067c72257a2b2b61
parent6a9c23a6d656a00a3051753ce77a62e7310fc89d
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