All of
 help / color / mirror / Atom feed
From: Ivan Shapovalov <>
To: Filipe Manana <>
Subject: Re: [6.7 regression] [BISECTED] 28270e25c69a causes overallocation of metadata space
Date: Wed, 17 Jan 2024 15:21:27 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 2024-01-17 at 11:28 +0000, Filipe Manana wrote:
> On Wed, Jan 17, 2024 at 6:04 AM Ivan Shapovalov
> <> wrote:
> > 
> > <...>
> > # first bad commit: [28270e25c69a2c76ea1ed0922095bffb9b9a4f98]
> > btrfs: always reserve space for delayed refs when starting
> > transaction
> This sounds like the generally more pessimistic metadata reservation
> is triggering allocation of many metadata block groups
> that never get used and then unused and therefore not
> reclaimed/deleted. Not something impossible to happen before that,
> but much more likely due to more reserved space.
> I'll send some fixes.
> Did you actually run into -ENOSPC issues?

No, I did not wait around for a ENOSPC -- I noticed the issue when my
monitoring told me that there was almost no unallocated space left (on
my personal server's rootfs the situation was even worse than on the fs
above, there was around 200G of metadata logical space allocated with
only 13G used).

Ivan Shapovalov / intelfx /

  reply	other threads:[~2024-01-17 14:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17  6:04 [6.7 regression] [BISECTED] 28270e25c69a causes overallocation of metadata space Ivan Shapovalov
2024-01-17 11:28 ` Filipe Manana
2024-01-17 14:21   ` Ivan Shapovalov [this message]
2024-01-20 14:46 ` Linux regression tracking #adding (Thorsten Leemhuis)

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:

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

  git send-email \ \ \ \ \

* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.