GFS2: Use resizable hash table for glocks
authorBob Peterson <rpeterso@redhat.com>
Mon, 16 Mar 2015 16:02:46 +0000 (11:02 -0500)
committerBob Peterson <rpeterso@redhat.com>
Thu, 3 Sep 2015 18:33:24 +0000 (13:33 -0500)
commit88ffbf3e037e67b52c46d528aca1618489c21f68
tree680b7125968bc062c3569c5d6a4941415ea7ce42
parent15562c439d0a1850b71aa1c0d92d1f4fb9503c8d
GFS2: Use resizable hash table for glocks

This patch changes the glock hash table from a normal hash table to
a resizable hash table, which scales better. This also simplifies
a lot of code.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/incore.h