From: Christoph Hellwig <hch@infradead.org>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: cem@kernel.org, stable@vger.kernel.org, linux-xfs@vger.kernel.org
Subject: Re: [PATCH 01/11] xfs: always call xfs_qm_adjust_dqlimits during quotacheck repair
Date: Mon, 14 Sep 2026 23:25:16 -0700 [thread overview]
Message-ID: <aqjkzGLzYfjrWI3Q@infradead.org> (raw)
In-Reply-To: <178945048522.3061055.5283654279910692050.stgit@frogsfrogsfrogs>
On Mon, Sep 14, 2026 at 10:36:49PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> LOLLM notices that everywhere else in the kernel, a call to
> xfs_qm_adjust_dqlimits precedes every call to xfs_qm_adjust_dqtimers.
> In particular, mount-time quotacheck does this.
>
> Looking at xfs_qm_adjust_dqlimits, that function is in charge of
> conveying default limits to a dquot if that dquot's limits have been
> zeroed. That's quite possible in a repair, so let's follow what
> everyone else does and set it. This requires us to add a new predicate
> to decide if xfs_qm_adjust_dqlimits is likely to reset any of the
> dquot's limits, and to set the dirty flag to true if so.
I'd vote for merging the two functions as they clearly always should
be called together instead.
> A different LOLLM noticed that we have no way to force xchk_commit_dquot
> to call xfs_qm_adjust_dqtimers, so pack that in at the same time.
This feels completely unrelated, and could also use a much more
detailed explanation why we'd want that.
next prev parent reply other threads:[~2026-09-15 6:25 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 5:36 [PATCHSET] xfs: LLM-inspired bug fixes, part 15 Darrick J. Wong
2026-09-15 5:36 ` [PATCH 01/11] xfs: always call xfs_qm_adjust_dqlimits during quotacheck repair Darrick J. Wong
2026-09-15 6:25 ` Christoph Hellwig [this message]
2026-09-15 17:38 ` Darrick J. Wong
2026-09-15 20:04 ` Carlos Maiolino
2026-09-15 5:37 ` [PATCH 02/11] xfs: call xfs_dquot_set_prealloc_limits if we installed default rtb limits Darrick J. Wong
2026-09-15 6:26 ` Christoph Hellwig
2026-09-15 5:37 ` [PATCH 03/11] xfs: fix rtgroup repair estimations Darrick J. Wong
2026-09-15 6:26 ` Christoph Hellwig
2026-09-15 5:37 ` [PATCH 04/11] xfs: don't cross reference rmapbt with bitmaps if they're incomplete Darrick J. Wong
2026-09-15 6:29 ` Christoph Hellwig
2026-09-15 5:37 ` [PATCH 05/11] xfs: don't let memory failures leak blocks and kill repairs Darrick J. Wong
2026-09-15 6:30 ` Christoph Hellwig
2026-09-15 5:38 ` [PATCH 06/11] xfs: don't merge different file IO error types Darrick J. Wong
2026-09-15 6:30 ` Christoph Hellwig
2026-09-15 5:38 ` [PATCH 07/11] xfs: fix blockgc group quota scanning when usrquota isn't enforced Darrick J. Wong
2026-09-15 6:31 ` Christoph Hellwig
2026-09-15 5:38 ` [PATCH 08/11] xfs: fix cursor and pointer handling when recovering iunlink buckets Darrick J. Wong
2026-09-15 6:31 ` Christoph Hellwig
2026-09-15 5:38 ` [PATCH 09/11] xfs: drop dquot flush lock when we can't find a buffer to flush Darrick J. Wong
2026-09-15 6:32 ` Christoph Hellwig
2026-09-15 5:39 ` [PATCH 10/11] xfs: don't let hidden_space go negative in xfs_metafile_resv_init Darrick J. Wong
2026-09-15 6:32 ` Christoph Hellwig
2026-09-15 5:39 ` [PATCH 11/11] xfs: fix wild memcpy access when formatting ondisk rtrefcount btree roots Darrick J. Wong
2026-09-15 6:33 ` Christoph Hellwig
2026-09-16 12:06 ` [PATCHSET] xfs: LLM-inspired bug fixes, part 15 Carlos Maiolino
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=aqjkzGLzYfjrWI3Q@infradead.org \
--to=hch@infradead.org \
--cc=cem@kernel.org \
--cc=djwong@kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=stable@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