Bob Peterson 73118ca8ba gfs2: Replace gl_revokes with a GLF flag
The gl_revokes value determines how many outstanding revokes a glock has
on the superblock revokes list; this is used to avoid unnecessary log
flushes.  However, gl_revokes is only ever tested for being zero, and it's
only decremented in revoke_lo_after_commit, which removes all revokes
from the list, so we know that the gl_revoke values of all the glocks on
the list will reach zero.  Therefore, we can replace gl_revokes with a
bit flag. This saves an atomic counter in struct gfs2_glock.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
2019-05-07 23:39:14 +02:00
..
2016-05-12 22:28:05 -04:00
2018-07-02 16:27:17 +01:00
2016-06-27 09:47:09 -05:00
2018-10-12 07:33:07 -05:00
2016-06-27 09:47:08 -05:00
2019-02-24 08:20:17 -07:00
2019-03-06 07:00:43 -07:00
2018-02-01 11:25:31 -07:00
2019-05-07 23:39:14 +02:00
2018-10-12 07:31:21 -05:00
2018-03-08 09:26:20 -07:00
2019-05-07 22:33:44 +02:00
2018-07-25 00:06:24 +02:00
2012-01-11 09:23:05 +00:00
2018-12-11 21:43:58 +01:00
2018-07-05 17:47:16 +02:00
2015-12-06 21:25:17 -05:00