mbox series

[GIT,PULL,4/8] xfs: fixes for the realtime allocator

Message ID 172530248247.3348968.5957783046629027826.stg-ugh@frogsfrogsfrogs (mailing list archive)
State Accepted, archived
Headers show
Series [GIT,PULL,1/8] xfs: atomic file content commits | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/rtalloc-fixes-6.12_2024-09-02

Message

Darrick J. Wong Sept. 2, 2024, 6:42 p.m. UTC
Hi Chandan,

Please pull this branch with changes for xfs for 6.12-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 0a59e4f3e1670bc49d60e1bd1a9b19ca156ae9cb:

xfs: push transaction join out of xfs_rtbitmap_lock and xfs_rtgroup_lock (2024-09-01 08:58:19 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/rtalloc-fixes-6.12_2024-09-02

for you to fetch changes up to df8b181f1551581e96076a653cdca43468093c0f:

xfs: simplify xfs_rtalloc_query_range (2024-09-01 08:58:19 -0700)

----------------------------------------------------------------
xfs: fixes for the realtime allocator [v4.2 4/8]

While I was reviewing how to integrate realtime allocation groups with
the rt allocator, I noticed several bugs in the existing allocation code
with regards to calculating the maximum range of rtx to scan for free
space.  This series fixes those range bugs and cleans up a few things
too.

I also added a few cleanups from Christoph.

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

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
Christoph Hellwig (4):
xfs: use the recalculated transaction reservation in xfs_growfs_rt_bmblock
xfs: ensure rtx mask/shift are correct after growfs
xfs: remove xfs_rtb_to_rtxrem
xfs: simplify xfs_rtalloc_query_range

Darrick J. Wong (6):
xfs: don't return too-short extents from xfs_rtallocate_extent_block
xfs: don't scan off the end of the rt volume in xfs_rtallocate_extent_block
xfs: refactor aligning bestlen to prod
xfs: clean up xfs_rtallocate_extent_exact a bit
xfs: reduce excessive clamping of maxlen in xfs_rtallocate_extent_near
xfs: fix broken variable-sized allocation detection in xfs_rtallocate_extent_block

fs/xfs/libxfs/xfs_rtbitmap.c |  51 +++++++--------
fs/xfs/libxfs/xfs_rtbitmap.h |  21 +------
fs/xfs/libxfs/xfs_sb.c       |  12 +++-
fs/xfs/libxfs/xfs_sb.h       |   2 +
fs/xfs/xfs_discard.c         |  15 +++--
fs/xfs/xfs_fsmap.c           |  11 ++--
fs/xfs/xfs_rtalloc.c         | 145 +++++++++++++++++++++++--------------------
7 files changed, 124 insertions(+), 133 deletions(-)