gfs2: Add local resource group locking
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 8 Feb 2021 19:44:26 +0000 (20:44 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 17 Feb 2021 18:30:28 +0000 (19:30 +0100)
commit9e514605c77451745ea9fca5a26fc3153893686a
treea1de848996ddcb7f19c564c153e79b3d493fa76e
parent725d0e9d464d567cd9290e29879d8bffc92013f8
gfs2: Add local resource group locking

Prepare for treating resource group glocks as exclusive among nodes but
shared among all tasks running on a node: introduce another layer of
node-specific locking that the local tasks can use to coordinate their
accesses.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/incore.h
fs/gfs2/lops.c
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h