SUNRPC: Make the credential cache hashtable size configurable
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 31 Jul 2010 18:29:08 +0000 (14:29 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 4 Aug 2010 12:54:06 +0000 (08:54 -0400)
commit241269bd0b580faae71575443d9ab38df7469126
treeb438cf34fd67b2b96b0a28be3241fd8d0c43fbca
parent988664a0f6bbfc356e6ce55f7a87b8594050012f
SUNRPC: Make the credential cache hashtable size configurable

This patch allows the user to configure the credential cache hashtable size
using a new module parameter: auth_hashtable_size
When set, this parameter will be rounded up to the nearest power of two,
with a maximum allowed value of 1024 elements.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/auth.h
net/sunrpc/auth.c