Merge tag 'clean-up-realtime-units-6.7_2023-10-19' of https://git.kernel.org/pub...
authorChandan Babu R <chandanbabu@kernel.org>
Mon, 23 Oct 2023 05:10:39 +0000 (10:40 +0530)
committerChandan Babu R <chandanbabu@kernel.org>
Mon, 23 Oct 2023 05:10:39 +0000 (10:40 +0530)
commit3ef52c010973e3fae53b1a9eabc156a79b01cd8c
treef7b56a61cf8aa94688ea3a3d415a68167cbe2d45
parentd0e85e79d680de8413f42e24493ab36b03e58bd6
parent2d5f216b77e33f9b503bd42998271da35d4b7055
Merge tag 'clean-up-realtime-units-6.7_2023-10-19' of https://git./linux/kernel/git/djwong/xfs-linux into xfs-6.7-mergeA

xfs: clean up realtime type usage [v1.1]

The realtime code uses xfs_rtblock_t and xfs_fsblock_t in a lot of
places, and it's very confusing.  Clean up all the type usage so that an
xfs_rtblock_t is always a block within the realtime volume, an
xfs_fileoff_t is always a file offset within a realtime metadata file,
and an xfs_rtxnumber_t is always a rt extent within the realtime volume.

v1.1: various cleanups suggested by hch

With a bit of luck, this should all go splendidly.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
* tag 'clean-up-realtime-units-6.7_2023-10-19' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
  xfs: convert rt extent numbers to xfs_rtxnum_t
  xfs: rename xfs_verify_rtext to xfs_verify_rtbext
  xfs: convert rt bitmap extent lengths to xfs_rtbxlen_t
  xfs: convert rt bitmap/summary block numbers to xfs_fileoff_t
  xfs: convert xfs_extlen_t to xfs_rtxlen_t in the rt allocator
  xfs: move the xfs_rtbitmap.c declarations to xfs_rtbitmap.h
  xfs: make sure maxlen is still congruent with prod when rounding down
  xfs: fix units conversion error in xfs_bmap_del_extent_delay