Skip to content

Some log space management cleanups

Andreas Gruenbacher cluster-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest20 patches 0 repliesNew
  2. v320 patches 0 repliesSuperseded
  3. v220 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC12 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20gfs2: Un-obfuscate function jdesc_find_ifs/gfs2/super.c+3 -100 replies
2/20gfs2: Simplify the buf_limit and databuf_limit definitionsfs/gfs2/lops.h+2 -150 replies
3/20gfs2: Minor gfs2_write_revokes cleanupsfs/gfs2/log.c+5 -30 replies
4/20gfs2: Some documentation updatesfs/gfs2/log.c+11 -130 replies
5/20gfs2: Minor debugging improvementfs/gfs2/trans.c+2 -20 replies
6/20gfs2: Rename gfs2_{write => flush}_revokesfs/gfs2/log.c fs/gfs2/log.h fs/gfs2/lops.c+4 -40 replies
7/20gfs2: Clean up ail2_emptyfs/gfs2/log.c+21 -170 replies
8/20gfs2: Use sb_start_intwrite in gfs2_ail_empty_glfs/gfs2/glops.c fs/gfs2/trans.c+7 -60 replies
9/20gfs2: Clean up on-stack transactionsfs/gfs2/glops.c fs/gfs2/incore.h fs/gfs2/log.c +2 more+38 -420 replies
10/20gfs2: Get rid of sd_reserving_logfs/gfs2/incore.h fs/gfs2/log.c fs/gfs2/log.h +3 more+19 -180 replies
11/20gfs2: Move lock flush locking to gfs2_trans_{begin, end}fs/gfs2/log.c fs/gfs2/log.h fs/gfs2/trans.c+16 -330 replies
12/20gfs2: Don't wait for journal flush in clean_journalfs/gfs2/log.c+2 -30 replies
13/20gfs2: Clean up gfs2_log_reservefs/gfs2/log.c fs/gfs2/trans.c+26 -350 replies
14/20gfs2: Use a tighter bound in gfs2_trans_beginfs/gfs2/trans.c+8 -20 replies
15/20gfs2: Get rid of current_tail()fs/gfs2/incore.h fs/gfs2/log.c fs/gfs2/log.h+44 -370 replies
16/20gfs2: Move function gfs2_ail_empty_trfs/gfs2/log.c+17 -170 replies
17/20gfs2: No revokes for transactions at the tail of the logfs/gfs2/log.c+24 -60 replies
17/20gfs2: No revokes for transactions at the tail of the log+0 -00 replies
18/20gfs2: Minor calc_reserved cleanupfs/gfs2/log.c+5 -80 replies
19/20gfs2: Rework the log space allocation logicfs/gfs2/log.c fs/gfs2/log.h fs/gfs2/trans.c+105 -690 replies
20/20gfs2: Per-revoke accounting in transactionsfs/gfs2/glops.c fs/gfs2/incore.h fs/gfs2/log.c +4 more+130 -410 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [Cluster-devel] [PATCH v4 00/20] Some log space management cleanups

Hello,

here's another update on the log log space management cleanup. The major change from v3 is that this version retains the on-stack transactions in gfs2_ail_empty_gl. Most of the patches have basically remained unchanged though, so I've marked the new / modified patches with an asterisk below. Please review.

Thanks,
Andreas

Andreas Gruenbacher (20):
gfs2: Un-obfuscate function jdesc_find_i
gfs2: Simplify the buf_limit and databuf_limit definitions
gfs2: Minor gfs2_write_revokes cleanups
gfs2: Some documentation updates
gfs2: Minor debugging improvement
gfs2: Rename gfs2_{write => flush}_revokes
gfs2: Clean up ail2_empty
* gfs2: Use sb_start_intwrite in gfs2_ail_empty_gl
* gfs2: Clean up on-stack transactions
gfs2: Get rid of sd_reserving_log
gfs2: Move lock flush locking to gfs2_trans_{begin,end}
gfs2: Don't wait for journal flush in clean_journal
gfs2: Clean up gfs2_log_reserve
gfs2: Use a tighter bound in gfs2_trans_begin
gfs2: Get rid of current_tail()
gfs2: Move function gfs2_ail_empty_tr
gfs2: No revokes for transactions at the tail of the log
gfs2: Minor calc_reserved cleanup
* gfs2: Rework the log space allocation logic
* gfs2: Per-revoke accounting in transactions

 fs/gfs2/glops.c      |  38 +--
 fs/gfs2/incore.h     |  13 +-
 fs/gfs2/log.c        | 539 +++++++++++++++++++++++++------------------
 fs/gfs2/log.h        |  20 +-
 fs/gfs2/lops.c       |   3 +-
 fs/gfs2/lops.h       |  17 +-
 fs/gfs2/ops_fstype.c |   9 +-
 fs/gfs2/super.c      |  25 +-
 fs/gfs2/trans.c      | 103 ++++++---
 fs/gfs2/trans.h      |   3 +
 10 files changed, 439 insertions(+), 331 deletions(-)
Signature · 1 line
2.26.2