This is an update of the resource group glock sharing patch queue by Bob and myself. Some of the cleanups and fixes posted previously [*] have been integrated upstream in the meantime.
Patch "gfs2: Add local resource group locking" is now built on top of the existing rgrp locking scheme; I'll get back to cleaning that up later. Steve was questioning the performance impact of patch "gfs2: Only use struct gfs2_rbm for bitmap manipulations". I still think it's a non-issue, but some analysis will be useful. This updated patch queue has passed initial testing. Thanks, Andreas [*] https://www.redhat.com/archives/cluster-devel/2018-October/msg00006.html Andreas Gruenbacher (3): gfs2: Only use struct gfs2_rbm for bitmap manipulations gfs2: Clean up gfs2_adjust_reservation gfs2: Add per-reservation reserved block accounting Bob Peterson (3): gfs2: Add local resource group locking gfs2: Allow node-wide exclusive glock sharing gfs2: Introduce resource group sharing fs/gfs2/bmap.c | 4 +- fs/gfs2/file.c | 4 +- fs/gfs2/glock.c | 26 +++- fs/gfs2/glock.h | 6 + fs/gfs2/incore.h | 33 +---- fs/gfs2/inode.c | 5 +- fs/gfs2/lops.c | 5 +- fs/gfs2/rgrp.c | 322 ++++++++++++++++++++++++++++--------------- fs/gfs2/rgrp.h | 4 + fs/gfs2/super.c | 3 +- fs/gfs2/trace_gfs2.h | 18 ++- fs/gfs2/trans.h | 2 +- fs/gfs2/xattr.c | 6 +- 13 files changed, 279 insertions(+), 159 deletions(-) -- 2.19.1.546.g028f9c799.dirty