Hi Chandan, Please pull this branch with changes for xfs for 6.7-rc1. As usual, I did a test-merge with the main upstream branch as of a few minutes ago, and didn't see any conflicts. Please let me know if you encounter any problems. --D The following changes since commit 2d5f216b77e33f9b503bd42998271da35d4b7055: xfs: convert rt extent numbers to xfs_rtxnum_t (2023-10-17 16:24:22 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/refactor-rt-unit-conversions-6.7_2023-10-19 for you to fetch changes up to ef5a83b7e597038d1c734ddb4bc00638082c2bf1: xfs: use shifting and masking when converting rt extents, if possible (2023-10-17 16:26:25 -0700) ---------------------------------------------------------------- xfs: refactor rt extent unit conversions [v1.1] This series replaces all the open-coded integer division and multiplication conversions between rt blocks and rt extents with calls to static inline helpers. Having cleaned all that up, the helpers are augmented to skip the expensive operations in favor of bit shifts and masking if the rt extent size is a power of two. v1.1: various cleanups suggested by hch With a bit of luck, this should all go splendidly. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> ---------------------------------------------------------------- Darrick J. Wong (7): xfs: create a helper to convert rtextents to rtblocks xfs: create a helper to compute leftovers of realtime extents xfs: create a helper to convert extlen to rtextlen xfs: create helpers to convert rt block numbers to rt extent numbers xfs: convert do_div calls to xfs_rtb_to_rtx helper calls xfs: create rt extent rounding helpers for realtime extent blocks xfs: use shifting and masking when converting rt extents, if possible fs/xfs/libxfs/xfs_bmap.c | 20 +++---- fs/xfs/libxfs/xfs_rtbitmap.c | 4 +- fs/xfs/libxfs/xfs_rtbitmap.h | 125 +++++++++++++++++++++++++++++++++++++++++ fs/xfs/libxfs/xfs_sb.c | 2 + fs/xfs/libxfs/xfs_trans_resv.c | 3 +- fs/xfs/scrub/inode.c | 3 +- fs/xfs/scrub/rtbitmap.c | 18 +++--- fs/xfs/scrub/rtsummary.c | 4 +- fs/xfs/xfs_bmap_util.c | 38 ++++++------- fs/xfs/xfs_fsmap.c | 13 ++--- fs/xfs/xfs_inode_item.c | 3 +- fs/xfs/xfs_ioctl.c | 5 +- fs/xfs/xfs_linux.h | 12 ++++ fs/xfs/xfs_mount.h | 2 + fs/xfs/xfs_rtalloc.c | 4 +- fs/xfs/xfs_super.c | 3 +- fs/xfs/xfs_trans.c | 7 ++- 17 files changed, 200 insertions(+), 66 deletions(-)