NFSv4: Reduce the footprint of the idmapper
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Feb 2012 19:59:05 +0000 (14:59 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Feb 2012 05:19:50 +0000 (00:19 -0500)
commitd073e9b541e1ac3f52d72c3a153855d9a9ee3278
tree4719e9b10b9df0416523577d5008045198ad8633
parent7ced286e0ade171af89d32c22b1590e1ca480542
NFSv4: Reduce the footprint of the idmapper

Instead of pre-allocating the storage for all the strings, we can
significantly reduce the size of that table by doing the allocation
when we do the downcall.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
fs/nfs/idmap.c