Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Take advantage of new EXSH glock mode for rgrps

2018-04-18 Thread Bob Peterson
- Original Message - > Hi, > > > On 18/04/18 17:58, Bob Peterson wrote: > > This patch switches rgrp locking to EXSH mode so that it's only > > taken when the rgrp is added to an active transaction, or when > > blocks are being reserved. As soon as the transaction is ended, > > the rgrp

Re: [Cluster-devel] [GFS2 PATCH 1/2] GFS2: Introduce EXSH (exclusively shared on one node)

2018-04-18 Thread Bob Peterson
- Original Message - > Hi, > > > On 18/04/18 17:58, Bob Peterson wrote: > > This patch is a first step in rgrp sharing. It allows for a new > > type of glock mode called EXSH, which stands for a lock that is > > Exclusive to one node, but shared amongst processes on that node. > > Like a

Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Take advantage of new EXSH glock mode for rgrps

2018-04-18 Thread Steven Whitehouse
Hi, On 18/04/18 17:58, Bob Peterson wrote: This patch switches rgrp locking to EXSH mode so that it's only taken when the rgrp is added to an active transaction, or when blocks are being reserved. As soon as the transaction is ended, the rgrp exclusivity is released. This allows for rgrp

Re: [Cluster-devel] [GFS2 PATCH 1/2] GFS2: Introduce EXSH (exclusively shared on one node)

2018-04-18 Thread Steven Whitehouse
Hi, On 18/04/18 17:58, Bob Peterson wrote: This patch is a first step in rgrp sharing. It allows for a new type of glock mode called EXSH, which stands for a lock that is Exclusive to one node, but shared amongst processes on that node. Like a Shared glock, multiple processes may acquire the

[Cluster-devel] [GFS2 PATCH 2/2] GFS2: Take advantage of new EXSH glock mode for rgrps

2018-04-18 Thread Bob Peterson
This patch switches rgrp locking to EXSH mode so that it's only taken when the rgrp is added to an active transaction, or when blocks are being reserved. As soon as the transaction is ended, the rgrp exclusivity is released. This allows for rgrp sharing. Signed-off-by: Bob Peterson

[Cluster-devel] [GFS2 PATCH v1 0/2] Improve throughput through rgrp sharing

2018-04-18 Thread Bob Peterson
This is a preliminary patch set, but the results are promising. I've been testing it pretty hard in a variety of circumstances, and it seems to be fairly solid, so I thought I'd get it out here for people to review. On 17 January 2018, I posted an experimental patch set meant to improve

[Cluster-devel] [GFS2 PATCH 1/2] GFS2: Introduce EXSH (exclusively shared on one node)

2018-04-18 Thread Bob Peterson
This patch is a first step in rgrp sharing. It allows for a new type of glock mode called EXSH, which stands for a lock that is Exclusive to one node, but shared amongst processes on that node. Like a Shared glock, multiple processes may acquire the lock in EXSH mode at the same time, provided