From: Andreas Gruenbacher Date: Wed, 3 Feb 2021 19:07:35 +0100 Subject: [Cluster-devel] [PATCH v4 00/20] Some log space management cleanups Message-ID: <20210203180755.246596-1-agruenba@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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(-) -- 2.26.2