From: "Nirjhar Roy (IBM)" <nirjhar@linux.ibm.com>
To: djwong@kernel.org, hch@infradead.org, cem@kernel.org,
david@fromorbit.com
Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org,
ritesh.list@gmail.com, ojaswin@linux.ibm.com,
nirjhar@linux.ibm.com, nirjhar.roy.lists@gmail.com,
hsiangkao@linux.alibaba.com
Subject: xfs: Add support for multi rtgroup shrink+removal
Date: Thu, 19 Feb 2026 11:27:37 +0530 [thread overview]
Message-ID: <20260219055737.769860-1-nirjhar@linux.ibm.com> (raw)
Hi all,
This series adds online support for shrinking and removing multiple
realtime groups in XFS.
Currently, realtime group shrink/removal operations are not available.
This series extends the infrastructure to allow online shrinking/removal of
multiple rtgroups in a single operation.
The work is organized into three sub-patchsets:
1. Kernel changes
- Core filesystem changes enabling multi-rtgroup shrink/removal.
2. xfsprogs updates
- Changes to xfs_growfs allow the shrink requests to be passed to the kernel.
3. fstests additions
- Test coverage validating grow, shrink and removal of multiple rtgroups.
Each patch includes details describing the implementation and design considerations.
Comments and reviews are greatly appreciated.
next reply other threads:[~2026-02-19 5:58 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 5:57 Nirjhar Roy (IBM) [this message]
2026-02-19 6:03 ` [RFC v1 0/4] xfs: Add support to shrink multiple empty rtgroups Nirjhar Roy (IBM)
2026-02-19 6:03 ` [RFC v1 1/4] xfs: Re-introduce xg_active_wq field in struct xfs_group Nirjhar Roy (IBM)
2026-02-19 6:13 ` Christoph Hellwig
2026-02-19 6:03 ` [RFC v1 2/4] xfs: Introduce xfs_rtginodes_ensure_all() Nirjhar Roy (IBM)
2026-02-19 6:15 ` Christoph Hellwig
2026-02-25 5:18 ` Nirjhar Roy (IBM)
2026-02-19 6:03 ` [RFC v1 3/4] xfs: Add a new state for shrinking Nirjhar Roy (IBM)
2026-02-19 6:03 ` [RFC v1 4/4] xfs: Add support to shrink multiple empty realtime groups Nirjhar Roy (IBM)
2026-02-19 6:23 ` Christoph Hellwig
2026-02-25 5:17 ` Nirjhar Roy (IBM)
2026-02-25 14:24 ` Christoph Hellwig
2026-02-26 12:59 ` Nirjhar Roy (IBM)
2026-02-23 11:29 ` [RFC v1 0/4] xfs: Add support to shrink multiple empty rtgroups Nirjhar Roy (IBM)
2026-03-18 14:43 ` Nirjhar Roy (IBM)
2026-03-18 15:20 ` Christoph Hellwig
2026-02-19 6:08 ` [PATCH v1] xfs_growfs: Allow shrink of realtime XFS Nirjhar Roy (IBM)
2026-02-19 6:10 ` [PATCH v1 0/7] Add multi rtgroup grow and shrink tests Nirjhar Roy (IBM)
2026-02-19 6:10 ` [PATCH v1 1/7] xfs: Introduce _require_realtime_xfs_{shrink,grow} pre-condition Nirjhar Roy (IBM)
2026-02-19 6:10 ` [PATCH v1 2/7] xfs: Introduce helpers to count the number of bitmap and summary inodes Nirjhar Roy (IBM)
2026-02-19 6:10 ` [PATCH v1 3/7] xfs: Add realtime group grow tests Nirjhar Roy (IBM)
2026-02-19 6:40 ` Christoph Hellwig
2026-02-25 5:24 ` Nirjhar Roy (IBM)
2026-02-19 6:10 ` [PATCH v1 4/7] xfs: Add multi rt group grow + shutdown + recovery tests Nirjhar Roy (IBM)
2026-02-19 6:10 ` [PATCH v1 5/7] xfs: Add realtime group shrink tests Nirjhar Roy (IBM)
2026-02-19 6:10 ` [PATCH v1 6/7] xfs: Add multi rt group shrink + shutdown + recovery tests Nirjhar Roy (IBM)
2026-02-19 6:10 ` [PATCH v1 7/7] xfs: Add parallel back to back grow/shrink tests Nirjhar Roy (IBM)
2026-02-19 12:55 ` [PATCH v1 0/7] Add multi rtgroup grow and shrink tests Carlos Maiolino
2026-02-19 14:40 ` Nirjhar Roy (IBM)
2026-02-19 14:55 ` Carlos Maiolino
2026-02-19 15:49 ` Darrick J. Wong
2026-02-19 16:35 ` Carlos Maiolino
2026-02-20 11:24 ` Nirjhar Roy (IBM)
2026-02-20 16:10 ` Darrick J. Wong
2026-02-20 18:12 ` Nirjhar Roy (IBM)
2026-02-24 13:04 ` Carlos Maiolino
2026-02-20 11:20 ` Nirjhar Roy (IBM)
2026-02-20 16:15 ` Darrick J. Wong
2026-02-19 14:56 ` Andrey Albershteyn
2026-02-20 14:07 ` Konstantin Ryabitsev
2026-02-24 13:02 ` 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=20260219055737.769860-1-nirjhar@linux.ibm.com \
--to=nirjhar@linux.ibm.com \
--cc=cem@kernel.org \
--cc=david@fromorbit.com \
--cc=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=hch@infradead.org \
--cc=hsiangkao@linux.alibaba.com \
--cc=linux-xfs@vger.kernel.org \
--cc=nirjhar.roy.lists@gmail.com \
--cc=ojaswin@linux.ibm.com \
--cc=ritesh.list@gmail.com \
/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