]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: create helpers to deal with rounding xfs_fileoff_t to rtx boundaries
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:20 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:46:55 +0000 (13:46 -0700)
commit863ec04d389e672bb7396078a80b2d2ba02ca16f
tree6103f73dac65e4d1c29b5d774d5e397ae89374a1
parent5ebc4031ac8d1f5c2817d2955764101994111871
xfs: create helpers to deal with rounding xfs_fileoff_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 block offsets
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.h
fs/xfs/xfs_bmap_util.c