]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: support creating per-RTG files in growfs
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 18:11:33 +0000 (11:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 9 Oct 2024 23:29:10 +0000 (16:29 -0700)
commitb4988ca855b6fa8e441f71382e40b45f47c3824c
treefa5c11f255842005d2b04da96614f5c3111bb1de
parent4bf0e65f9b022af4d2a3d66e103a2c72ed5a13b5
xfs: support creating per-RTG files in growfs

To support adding new RT groups in growfs, we need to be able to create
the per-RT group files.  Add a new xfs_rtginode_create helper to create
a given per-RTG file.  Most of the code for that is shared, but the
details of the actual file are abstracted out using a new create method
in struct xfs_rtginode_ops.

[Note: this could probably move significantly later in the series]
Signed-off-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtbitmap.h
libxfs/xfs_rtgroup.c
libxfs/xfs_rtgroup.h