From: Christoph Hellwig <hch@infradead.org>
To: Damien Le Moal <dlemoal@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org
Subject: Re: [PATCH 1/2] block: fix op_is_zone_mgmt() to handle REQ_OP_ZONE_RESET_ALL
Date: Mon, 27 Oct 2025 00:04:00 -0700 [thread overview]
Message-ID: <aP8ZYDaZgAPerY9F@infradead.org> (raw)
In-Reply-To: <20251027002733.567121-2-dlemoal@kernel.org>
On Mon, Oct 27, 2025 at 09:27:32AM +0900, Damien Le Moal wrote:
> REQ_OP_ZONE_RESET_ALL is a zone management request. Fix
> op_is_zone_mgmt() to return true for that operation, like it already
> does for REQ_OP_ZONE_RESET.
>
> While no problems were reported without this fix, this change allows
> strengthening checks in various block device drivers (scsi sd,
> virtioblk, DM) where op_is_zone_mgmt() is used to verify that a zone
> management command is not being issued to a regular block device.
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
next prev parent reply other threads:[~2025-10-27 7:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-27 0:27 [PATCH 0/2] Zone operation fixes Damien Le Moal
2025-10-27 0:27 ` [PATCH 1/2] block: fix op_is_zone_mgmt() to handle REQ_OP_ZONE_RESET_ALL Damien Le Moal
2025-10-27 6:55 ` Johannes Thumshirn
2025-10-27 7:04 ` Christoph Hellwig [this message]
2025-10-28 0:38 ` Chaitanya Kulkarni
2025-10-27 0:27 ` [PATCH 2/2] block: make REQ_OP_ZONE_OPEN a write operation Damien Le Moal
2025-10-27 6:56 ` Johannes Thumshirn
2025-10-27 7:04 ` Christoph Hellwig
2025-10-28 0:38 ` Chaitanya Kulkarni
2025-10-28 13:53 ` [PATCH 0/2] Zone operation fixes Jens Axboe
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=aP8ZYDaZgAPerY9F@infradead.org \
--to=hch@infradead.org \
--cc=axboe@kernel.dk \
--cc=dlemoal@kernel.org \
--cc=linux-block@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 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.