Linux block layer
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
	Johannes Thumshirn <johannes.thumshirn@wdc.com>,
	Damien Le Moal <dlemoal@kernel.org>,
	linux-block@vger.kernel.org
Subject: Re: [PATCH v2 0/3] null_blk: zone resource management fixes
Date: Mon, 2 Nov 2026 10:26:03 +0100	[thread overview]
Message-ID: <auhXKz0wFbPu8Nkv@ryzen> (raw)
In-Reply-To: <20261022092158.2248831-5-cassel@kernel.org>

On Thu, Oct 22, 2026 at 11:21:59AM +0200, Niklas Cassel wrote:
> Patch 1 fixes writing, opening and finishing a closed zone when both the
> open and the active zone limits are reached: null_blk fails the request
> instead of closing an implicitly open zone, as ZBC-3 and NVMe ZNS
> require.
> 
> Patch 2 fixes zone_readonly and zone_offline, which can close an
> unrelated zone, or leak the closed zone count.
> 
> Patch 3 cleans up the code that sets zones read-only or offline, with
> no functional change.
> 
> Both issues were reproduced, and the fixes tested, in QEMU, with
> null_blk devices created through configfs (memory_backed=0 and 1,
> CONFIG_PROVE_LOCKING=y).
> 
> Developed with the help of an AI coding assistant.
> 
> Changes since v1:
> - Picked up Reviewed-by tags from Damien on patches 1 and 2.
> - New patch 3, a cleanup suggested by Damien.
> 
> Niklas Cassel (3):
>   null_blk: fix opening closed zones at the active zone limit
>   null_blk: don't finish zones to set them read-only or offline
>   null_blk: clean up setting zones read-only or offline
> 
>  drivers/block/null_blk/zoned.c | 63 +++++++++++++++++++++++++---------
>  1 file changed, 46 insertions(+), 17 deletions(-)
> 
> 
> base-commit: f47d223627f80cb7a1eb14c585fe6cb35de5e984

Gentle ping on this series now when -rc1 is out.


Kind regards,
Niklas

      parent reply	other threads:[~2026-11-02  9:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-22  9:21 [PATCH v2 0/3] null_blk: zone resource management fixes Niklas Cassel
2026-10-22  9:22 ` [PATCH v2 1/3] null_blk: fix opening closed zones at the active zone limit Niklas Cassel
2026-10-22  9:22 ` [PATCH v2 2/3] null_blk: don't finish zones to set them read-only or offline Niklas Cassel
2026-10-22  9:22 ` [PATCH v2 3/3] null_blk: clean up setting zones " Niklas Cassel
2026-10-22  9:36   ` Damien Le Moal
2026-11-02  9:26 ` Niklas Cassel [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=auhXKz0wFbPu8Nkv@ryzen \
    --to=cassel@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=dlemoal@kernel.org \
    --cc=johannes.thumshirn@wdc.com \
    --cc=linux-block@vger.kernel.org \
    --cc=shinichiro.kawasaki@wdc.com \
    /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