Skip to content

gfs2: resource group glock sharing

Andreas Gruenbacher cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17gfs2: Turn gfs2_rbm_incr into gfs2_rbm_addfs/gfs2/rgrp.c+33 -220 replies
2/17gfs2: Only use struct gfs2_rbm for bitmap manipulationsfs/gfs2/bmap.c fs/gfs2/incore.h fs/gfs2/rgrp.c +2 more+101 -970 replies
3/17gfs2: Get rid of unnecessary variable in gfs2_alloc_blocksfs/gfs2/rgrp.c+1 -60 replies
4/17gfs2: Minor gfs2_inplace_reserve cleanupfs/gfs2/rgrp.c+8 -60 replies
5/17Revert "gfs2: Don't reject a supposedly full bitmap if we have blocks reserved"fs/gfs2/rgrp.c+1 -20 replies
6/17gfs2: Don't clear GBF_FULL flags in rs_deltreefs/gfs2/rgrp.c+1 -240 replies
7/17gfs2: Set GBF_FULL flags when reading resource groupfs/gfs2/rgrp.c+19 -20 replies
8/17gfs2: When looking for blocks to allocate, don't clamp at free blocksfs/gfs2/rgrp.c+1 -10 replies
9/17gfs2: Also reflect single-block allocations in rgd->rd_extfail_ptfs/gfs2/rgrp.c+10 -80 replies
10/17gfs2: Only pass reservation down to gfs2_rbm_findfs/gfs2/rgrp.c fs/gfs2/rgrp.h+14 -140 replies
11/17gfs: Don't search for unreserved space twicefs/gfs2/rgrp.c+5 -40 replies
12/17gfs2: Check for active reservation in gfs2_releasefs/gfs2/file.c+2 -20 replies
13/17gfs2: Rename rs_{free -> requested} and rd_{reserved -> requested}fs/gfs2/incore.h fs/gfs2/rgrp.c fs/gfs2/trace_gfs2.h+33 -330 replies
14/17gfs2: Add per-reservation reserved block accountingfs/gfs2/file.c fs/gfs2/incore.h fs/gfs2/lops.c +2 more+82 -280 replies
15/17gfs2: Add local resource group lockingfs/gfs2/incore.h fs/gfs2/lops.c fs/gfs2/rgrp.c +1 more+58 -70 replies
16/17gfs2: Allow node-wide exclusive glock sharingfs/gfs2/glock.c fs/gfs2/glock.h+25 -30 replies
17/17gfs2: Use resource group glock sharingfs/gfs2/bmap.c fs/gfs2/inode.c fs/gfs2/rgrp.c +2 more+15 -120 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Cluster-devel] [PATCH 00/17] gfs2: resource group glock sharing

Here's another update of my resource group glock sharing patches.

The key patch of this patch queue is "gfs2: Add per-reservation reserved block accounting": with resource group glock sharing, multiple allocations can be going on in parallel. This requires tracking of the actual space reserved for each allocation to prevent the allocator from handing out more blocks than available. Other than the previous version of this patch, this updated version sticks with the existing allocator behavior and only uses the number of reserved blocks as an additional constraint.

Thanks,
Andreas

Andreas Gruenbacher (14):
gfs2: Turn gfs2_rbm_incr into gfs2_rbm_add
gfs2: Only use struct gfs2_rbm for bitmap manipulations
gfs2: Get rid of unnecessary variable in gfs2_alloc_blocks
gfs2: Minor gfs2_inplace_reserve cleanup
Revert "gfs2: Don't reject a supposedly full bitmap if we have blocks
reserved"
gfs2: Don't clear GBF_FULL flags in rs_deltree
gfs2: Set GBF_FULL flags when reading resource group
gfs2: When looking for blocks to allocate, don't clamp at free blocks
gfs2: Also reflect single-block allocations in rgd->rd_extfail_pt
gfs2: Only pass reservation down to gfs2_rbm_find
gfs: Don't search for unreserved space twice
gfs2: Check for active reservation in gfs2_release
gfs2: Rename rs_{free -> requested} and rd_{reserved -> requested}
gfs2: Add per-reservation reserved block accounting

Bob Peterson (3):
gfs2: Add local resource group locking
gfs2: Allow node-wide exclusive glock sharing
gfs2: Use resource group glock sharing

 fs/gfs2/bmap.c       |   4 +-
 fs/gfs2/file.c       |   8 +-
 fs/gfs2/glock.c      |  22 ++-
 fs/gfs2/glock.h      |   6 +
 fs/gfs2/incore.h     |  38 +---
 fs/gfs2/inode.c      |   6 +-
 fs/gfs2/lops.c       |   7 +-
 fs/gfs2/rgrp.c       | 443 +++++++++++++++++++++++++++----------------
 fs/gfs2/rgrp.h       |   6 +-
 fs/gfs2/super.c      |   3 +-
 fs/gfs2/trace_gfs2.h |  37 ++--
 fs/gfs2/trans.h      |   2 +-
 fs/gfs2/xattr.c      |   6 +-
 13 files changed, 363 insertions(+), 225 deletions(-)
Signature · 1 line
2.26.2