Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks

2015-08-27 Thread Bob Peterson
- Original Message - Bob, 2015-07-09 20:25 GMT+02:00 Bob Peterson rpete...@redhat.com: @@ -202,9 +176,8 @@ void gfs2_glock_put(struct gfs2_glock *gl) gfs2_glock_remove_from_lru(gl); spin_unlock(gl-gl_lockref.lock); - spin_lock_bucket(gl-gl_hash); -

Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks

2015-08-24 Thread Andreas Gruenbacher
Bob, 2015-07-09 20:25 GMT+02:00 Bob Peterson rpete...@redhat.com: @@ -202,9 +176,8 @@ void gfs2_glock_put(struct gfs2_glock *gl) gfs2_glock_remove_from_lru(gl); spin_unlock(gl-gl_lockref.lock); - spin_lock_bucket(gl-gl_hash); - hlist_bl_del_rcu(gl-gl_list); -

Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks

2015-08-24 Thread Andreas Gruenbacher
Bob, [sorry for the empty previous reply ...] 2015-07-09 20:25 GMT+02:00 Bob Peterson rpete...@redhat.com: @@ -1460,31 +1421,24 @@ static struct shrinker glock_shrinker = { * */ -static void examine_bucket(glock_examiner examiner, const struct gfs2_sbd *sdp, -

Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks

2015-08-24 Thread Andreas Gruenbacher
Bob, 2015-07-09 20:25 GMT+02:00 Bob Peterson rpete...@redhat.com: 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. --- fs/gfs2/glock.c | 282

Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks

2015-07-13 Thread Steven Whitehouse
Hi, Looks good. Acked-by: Steven Whitehouse swhit...@redhat.com Steve. On 09/07/15 19:25, Bob Peterson wrote: 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. --- fs/gfs2/glock.c | 282