Home
last modified time | relevance | path

Searched hist:"06 e908cd9ead1f215cc30132aac5ce132a352fbe" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Dglock.hdiff 06e908cd9ead1f215cc30132aac5ce132a352fbe Wed Apr 18 15:58:19 CDT 2018 Bob Peterson <rpeterso@redhat.com> gfs2: Allow node-wide exclusive glock sharing

Introduce a new LM_FLAG_NODE_SCOPE glock holder flag: when taking a
glock in LM_ST_EXCLUSIVE (EX) mode and with the LM_FLAG_NODE_SCOPE flag
set, the exclusive lock is shared among all local processes who are
holding the glock in EX mode and have the LM_FLAG_NODE_SCOPE flag set.
From the point of view of other nodes, the lock is still held
exclusively.

A future patch will start using this flag to improve performance with
rgrp sharing.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
H A Dglock.cdiff 06e908cd9ead1f215cc30132aac5ce132a352fbe Wed Apr 18 15:58:19 CDT 2018 Bob Peterson <rpeterso@redhat.com> gfs2: Allow node-wide exclusive glock sharing

Introduce a new LM_FLAG_NODE_SCOPE glock holder flag: when taking a
glock in LM_ST_EXCLUSIVE (EX) mode and with the LM_FLAG_NODE_SCOPE flag
set, the exclusive lock is shared among all local processes who are
holding the glock in EX mode and have the LM_FLAG_NODE_SCOPE flag set.
From the point of view of other nodes, the lock is still held
exclusively.

A future patch will start using this flag to improve performance with
rgrp sharing.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>