]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: create helpers to deal with rounding xfs_filblks_t to rtx boundaries
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:33 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:43 +0000 (13:38 -0800)
commit3f0205ebe71f92c1b98ca580de8df6eea631cfd2
treed41e718022ca420c52bd5a60eafef217ffba10e2
parentfd7588fa6475771fe95f44011aea268c5d841da2
xfs: create helpers to deal with rounding xfs_filblks_t to rtx boundaries

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>
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/libxfs/xfs_rtbitmap.h
fs/xfs/xfs_exchrange.c