Skip to content

gfs2: Revise glock refcounting

Andreas Gruenbacher gfs2 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15gfs2: Remove unnecessary function prototypefs/gfs2/glock.c+0 -10 replies
2/15gfs2: Remove useless return statement in run_queuefs/gfs2/glock.c+0 -10 replies
3/15gfs2: Rename GLF_FREEING to GLF_UNLOCKEDfs/gfs2/glock.c fs/gfs2/glops.c fs/gfs2/incore.h +2 more+16 -160 replies
4/15gfs2: Rename GLF_REPLY_PENDING to GLF_HAVE_REPLYfs/gfs2/glock.c fs/gfs2/incore.h fs/gfs2/trace_gfs2.h+9 -90 replies
5/15gfs2: Rename GLF_FROZEN to GLF_HAVE_FROZEN_REPLYfs/gfs2/glock.c fs/gfs2/incore.h fs/gfs2/trace_gfs2.h+6 -60 replies
6/15gfs2: Rename handle_callback to request_demotefs/gfs2/glock.c+10 -100 replies
7/15gfs2: Update glocks documentationDocumentation/filesystems/gfs2-glocks.rst+26 -260 replies
8/15gfs2: Remove outdated comment in glock_work_funcfs/gfs2/glock.c+1 -50 replies
9/15gfs2: Invert the GLF_INITIAL flagfs/gfs2/glock.c fs/gfs2/lock_dlm.c fs/gfs2/trace_gfs2.h+22 -100 replies
10/15gfs2: gfs2_glock_get cleanupfs/gfs2/glock.c+13 -200 replies
11/15gfs2: Report when glocks cannot be freed for a long timefs/gfs2/glock.c+15 -30 replies
12/15gfs2: Switch to a per-filesystem glock workqueuefs/gfs2/glock.c fs/gfs2/incore.h fs/gfs2/ops_fstype.c+18 -150 replies
13/15gfs2: Revise glock reference counting modelfs/gfs2/glock.c fs/gfs2/glock.h fs/gfs2/super.c+30 -280 replies
14/15Revert "GFS2: Don't add all glocks to the lru"fs/gfs2/glock.c fs/gfs2/glops.c fs/gfs2/incore.h+4 -120 replies
15/15gfs2: Get rid of demote_ok checksDocumentation/filesystems/gfs2-glocks.rst fs/gfs2/glock.c fs/gfs2/glops.c +1 more+1 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] gfs2: Revise glock refcounting

Here is a patch queue for the next (6.11) merge window. After a number of cleanups, the glock reference counting model is modified so that the number of references no longer depends on whether or not the glock is locked. This allows to eliminate the go_demote_ok() glock operation.

Thanks,
Andreas

Andreas Gruenbacher (15):
gfs2: Remove unnecessary function prototype
gfs2: Remove useless return statement in run_queue
gfs2: Rename GLF_FREEING to GLF_UNLOCKED
gfs2: Rename GLF_REPLY_PENDING to GLF_HAVE_REPLY
gfs2: Rename GLF_FROZEN to GLF_HAVE_FROZEN_REPLY
gfs2: Rename handle_callback to request_demote
gfs2: Update glocks documentation
gfs2: Remove outdated comment in glock_work_func
gfs2: Invert the GLF_INITIAL flag
gfs2: gfs2_glock_get cleanup
gfs2: Report when glocks cannot be freed for a long time
gfs2: Switch to a per-filesystem glock workqueue
gfs2: Revise glock reference counting model Revert "GFS2: Don't add all glocks to the lru"
gfs2: Get rid of demote_ok checks

 Documentation/filesystems/gfs2-glocks.rst |  55 +++---
 fs/gfs2/glock.c                           | 215 ++++++++++------------
 fs/gfs2/glock.h                           |   1 -
 fs/gfs2/glops.c                           |  42 ++---
 fs/gfs2/incore.h                          |  11 +-
 fs/gfs2/lock_dlm.c                        |  28 ++-
 fs/gfs2/ops_fstype.c                      |  12 +-
 fs/gfs2/super.c                           |   1 -
 fs/gfs2/trace_gfs2.h                      |   6 +-
 fs/gfs2/util.c                            |   6 +-
 10 files changed, 171 insertions(+), 206 deletions(-)
Signature · 1 line
2.45.1