linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: cem@kernel.org
To: linux-xfs@vger.kernel.org
Cc: hch@lst.de, david@fromorbit.com, djwong@kernel.org
Subject: [PATCH 0/2] xfs: iclog small cleanup
Date: Fri, 20 Jun 2025 09:07:58 +0200	[thread overview]
Message-ID: <20250620070813.919516-1-cem@kernel.org> (raw)

From: Carlos Maiolino <cem@kernel.org>

I noticed that the iclogs circular ring could be simplified by replacing
the current infra-structure with the list_head framework. As a bonus,
another typedef goes away.

I've been testing this successfully on xfstests with no apparent issues

Carlos Maiolino (2):
  xfs: replace iclogs circular list with a list_head
  xfs: kill xlog_in_core_2_t typedef

 fs/xfs/libxfs/xfs_log_format.h |   4 +-
 fs/xfs/xfs_log.c               | 136 ++++++++++++++-------------------
 fs/xfs/xfs_log_cil.c           |  13 +++-
 fs/xfs/xfs_log_priv.h          |  13 ++--
 fs/xfs/xfs_log_recover.c       |   2 +-
 5 files changed, 76 insertions(+), 92 deletions(-)

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
-- 
2.49.0


             reply	other threads:[~2025-06-20  7:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-20  7:07 cem [this message]
2025-06-20  7:07 ` [PATCH 1/2] xfs: replace iclogs circular list with a list_head cem
2025-06-24  2:16   ` Dave Chinner
2025-06-24  4:43     ` Carlos Maiolino
2025-06-24 13:57     ` Christoph Hellwig
2025-06-24 18:17       ` Carlos Maiolino
2025-06-25  6:21         ` Christoph Hellwig
2025-06-25  8:20           ` Carlos Maiolino
2025-06-25 11:22             ` Christoph Hellwig
2025-06-20  7:08 ` [PATCH 2/2] xfs: kill xlog_in_core_2_t typedef cem
2025-06-24 13:59   ` Christoph Hellwig
2025-06-25  8:21     ` Carlos Maiolino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250620070813.919516-1-cem@kernel.org \
    --to=cem@kernel.org \
    --cc=david@fromorbit.com \
    --cc=djwong@kernel.org \
    --cc=hch@lst.de \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).