[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175871451630.316144.8713000663758942668.b4-ty@kernel.dk>
Date: Wed, 24 Sep 2025 05:48:36 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Ming Lei <ming.lei@...hat.com>,
Caleb Sander Mateos <csander@...estorage.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ublk: remove redundant zone op check in
ublk_setup_iod()
On Tue, 23 Sep 2025 09:52:48 -0600, Caleb Sander Mateos wrote:
> ublk_setup_iod() checks first whether the request is a zoned operation
> issued to a device without zoned support and returns BLK_STS_IOERR if
> so. However, such a request would already hit the default case in the
> subsequent switch statement and fail the ublk_queue_is_zoned() check,
> which also results in a return of BLK_STS_IOERR. So remove the redundant
> early check for unsupported zone ops.
>
> [...]
Applied, thanks!
[1/1] ublk: remove redundant zone op check in ublk_setup_iod()
commit: f85e254b51aeadf8dc367aaf2fbd2c20378f75c2
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists