]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: create helpers to deal with rounding xfs_filblks_t to rtx boundaries
authorDarrick J. Wong <djwong@kernel.org>
Mon, 30 Sep 2024 20:47:22 +0000 (13:47 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 13:55:42 +0000 (15:55 +0200)
commit1c0f1332e9d3593a941d2dc7383c90b6370a76a2
treeb03383b2f8c458a51a6f3cf203e5ac2518045475
parented287bc99a764201ca391c77b8716a237df28687
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>
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/libxfs/xfs_rtbitmap.h
fs/xfs/xfs_exchrange.c