public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
To: Naohiro Aota <Naohiro.Aota@wdc.com>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH v2 2/2] btrfs: zoned: requeue to unused block group list if zone finish failed
Date: Fri, 11 Jul 2025 08:12:28 +0000	[thread overview]
Message-ID: <bf6edceb-3a3f-43bb-b294-72200a76f6a4@wdc.com> (raw)
In-Reply-To: <87efe2de05c2e12253055a0693693e715b5ec8a8.1752217584.git.naohiro.aota@wdc.com>

On 11.07.25 09:12, Naohiro Aota wrote:
> btrfs_zone_finish() can fail for several reason. If it is -EAGAIN, we need
resons.

> to try it again later. So, put the block group to the retry list properly.
> 
> Failed to do so will keep the removable block group intact until remount

Failing

> and can causes unnecessary ENOSPC.
> 
> Fixes: 74e91b12b115 ("btrfs: zoned: zone finish unused block group")
> CC: stable@vger.kernel.org # 6.1+
> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>

      reply	other threads:[~2025-07-11  8:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-11  7:11 [PATCH v2 0/2] btrfs: zoned: fix removing of unwritten non-data block group Naohiro Aota
2025-07-11  7:11 ` [PATCH v2 1/2] btrfs: zoned: do not remove " Naohiro Aota
2025-07-11  8:10   ` Johannes Thumshirn
2025-07-11  7:11 ` [PATCH v2 2/2] btrfs: zoned: requeue to unused block group list if zone finish failed Naohiro Aota
2025-07-11  8:12   ` Johannes Thumshirn [this message]

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=bf6edceb-3a3f-43bb-b294-72200a76f6a4@wdc.com \
    --to=johannes.thumshirn@wdc.com \
    --cc=Naohiro.Aota@wdc.com \
    --cc=linux-btrfs@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