Linux XFS filesystem development
 help / color / mirror / Atom feed
From: Lukas Herbolt <lukas@herbolt.com>
To: linux-xfs@vger.kernel.org
Cc: cem@kernel.org, Lukas Herbolt <lukas@herbolt.com>
Subject: [PATCH 0/1] xfs: Use xarray to track SB UUIDs instead of plain array.
Date: Fri, 30 Jan 2026 16:42:06 +0100	[thread overview]
Message-ID: <20260130154206.1368034-2-lukas@herbolt.com> (raw)

Hi,
It was discussed in previous thread [1]. Some older kernels (pre v6.12),
complained doing allocation over 2xPAGE_SIZE in krealloc when mounting over
512 unique XFS. 

The warning was removed in v6.12, but Christoph suggested to start using
xrarray instead of plain array. So here it is.


[1]
 - https://lore.kernel.org/linux-xfs/aPhjZ4sfHngyJRQK@infradead.org/

Lukas Herbolt (1):
  xfs: Use xarray to track SB UUIDs instead of plain array.

 fs/xfs/xfs_mount.c | 87 +++++++++++++++++++++++-----------------------
 fs/xfs/xfs_mount.h |  3 +-
 fs/xfs/xfs_super.c |  2 +-
 3 files changed, 46 insertions(+), 46 deletions(-)


base-commit: 63804fed149a6750ffd28610c5c1c98cce6bd377
-- 
2.52.0


             reply	other threads:[~2026-01-30 15:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-30 15:42 Lukas Herbolt [this message]
2026-01-30 15:42 ` [PATCH] xfs: Use xarray to track SB UUIDs instead of plain array Lukas Herbolt
2026-01-30 16:55   ` Darrick J. Wong
2026-02-02  7:31     ` Christoph Hellwig
2026-02-02  9:37       ` Lukas Herbolt
2026-02-02 18:50         ` Darrick J. Wong
2026-02-03  5:17           ` Christoph Hellwig
2026-02-03  7:23             ` Darrick J. Wong
2026-02-02  7:37   ` Christoph Hellwig
2026-02-02  9:38     ` Lukas Herbolt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260130154206.1368034-2-lukas@herbolt.com \
    --to=lukas@herbolt.com \
    --cc=cem@kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox