]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: create helpers to deal with rounding xfs_fileoff_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:30 +0000 (18:01 -0800)
commit6fd224bcfdbe95218c3e2eb880eae46b9ff9474a
treeab51ce2a5309258684fe9b8f05f8273f1f660bc3
parent86e2966742f923dde27846bb83661d389b51a7e6
xfs: create helpers to deal with rounding xfs_fileoff_t to rtx boundaries

Source kernel commit: fd7588fa6475771fe95f44011aea268c5d841da2

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>
libxfs/xfs_rtbitmap.h
repair/dinode.c