]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: create helpers to deal with rounding xfs_filblks_t to rtx boundaries
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:25 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:31 +0000 (18:01 -0800)
commit7901a592698c4bd0d1c19ce93a4f058ff19df0ee
treedebd34cd0c92e8874399515b3787a56d0b5ff543
parent6fd224bcfdbe95218c3e2eb880eae46b9ff9474a
xfs: create helpers to deal with rounding xfs_filblks_t to rtx boundaries

Source kernel commit: 3f0205ebe71f92c1b98ca580de8df6eea631cfd2

We're about to segment xfs_rtblock_t addresses, so we must create
type-specific helpers to do rt extent rounding of file mapping block
lengths because the rtb helpers soon will not do the right thing there.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtbitmap.h