Re: [PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-22 Thread Steven Whitehouse
Hi, On Tue, 2014-01-21 at 21:32 -0800, Paul E. McKenney wrote: > On Mon, Jan 20, 2014 at 12:23:40PM +, Steven Whitehouse wrote: > > Prior to this patch, GFS2 kept all the quotas for each > > super block in a single linked list. This is rather slow > > when there are large numbers of quotas. >

Re: [PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-22 Thread Steven Whitehouse
Hi, On Wed, 2014-01-22 at 01:06 -0500, Sasha Levin wrote: > On 01/22/2014 12:32 AM, Paul E. McKenney wrote: > > On Mon, Jan 20, 2014 at 12:23:40PM +, Steven Whitehouse wrote: > >> >Prior to this patch, GFS2 kept all the quotas for each > >> >super block in a single linked list. This is rather

Re: [PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-22 Thread Steven Whitehouse
Hi, On Wed, 2014-01-22 at 01:06 -0500, Sasha Levin wrote: On 01/22/2014 12:32 AM, Paul E. McKenney wrote: On Mon, Jan 20, 2014 at 12:23:40PM +, Steven Whitehouse wrote: Prior to this patch, GFS2 kept all the quotas for each super block in a single linked list. This is rather slow

Re: [PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-22 Thread Steven Whitehouse
Hi, On Tue, 2014-01-21 at 21:32 -0800, Paul E. McKenney wrote: On Mon, Jan 20, 2014 at 12:23:40PM +, Steven Whitehouse wrote: Prior to this patch, GFS2 kept all the quotas for each super block in a single linked list. This is rather slow when there are large numbers of quotas.

Re: [PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-21 Thread Sasha Levin
On 01/22/2014 12:32 AM, Paul E. McKenney wrote: On Mon, Jan 20, 2014 at 12:23:40PM +, Steven Whitehouse wrote: >Prior to this patch, GFS2 kept all the quotas for each >super block in a single linked list. This is rather slow >when there are large numbers of quotas. > >This patch introduces

Re: [PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-21 Thread Paul E. McKenney
On Mon, Jan 20, 2014 at 12:23:40PM +, Steven Whitehouse wrote: > Prior to this patch, GFS2 kept all the quotas for each > super block in a single linked list. This is rather slow > when there are large numbers of quotas. > > This patch introduces a hlist_bl based hash table, similar > to the

Re: [PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-21 Thread Paul E. McKenney
On Mon, Jan 20, 2014 at 12:23:40PM +, Steven Whitehouse wrote: Prior to this patch, GFS2 kept all the quotas for each super block in a single linked list. This is rather slow when there are large numbers of quotas. This patch introduces a hlist_bl based hash table, similar to the one

Re: [PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-21 Thread Sasha Levin
On 01/22/2014 12:32 AM, Paul E. McKenney wrote: On Mon, Jan 20, 2014 at 12:23:40PM +, Steven Whitehouse wrote: Prior to this patch, GFS2 kept all the quotas for each super block in a single linked list. This is rather slow when there are large numbers of quotas. This patch introduces a

[PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-20 Thread Steven Whitehouse
Prior to this patch, GFS2 kept all the quotas for each super block in a single linked list. This is rather slow when there are large numbers of quotas. This patch introduces a hlist_bl based hash table, similar to the one used for glocks. The initial look up of the quota is now lockless in the

[PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-20 Thread Steven Whitehouse
Prior to this patch, GFS2 kept all the quotas for each super block in a single linked list. This is rather slow when there are large numbers of quotas. This patch introduces a hlist_bl based hash table, similar to the one used for glocks. The initial look up of the quota is now lockless in the