Thread (9 messages) 9 messages, 3 authors, 2023-08-21

Re: [PATCH V2] ublk: zoned: support REQ_OP_ZONE_RESET_ALL

From: Jens Axboe <axboe@kernel.dk>
Date: 2023-08-21 02:25:10

On Thu, 10 Aug 2023 20:43:26 +0800, Ming Lei wrote:
There isn't any reason to not support REQ_OP_ZONE_RESET_ALL given everything
is actually handled in userspace, not mention it is pretty easy to support
RESET_ALL.

So enable REQ_OP_ZONE_RESET_ALL and let userspace handle it.

Verified by 'tools/zbc_reset_zone -all /dev/ublkb0' in libzbc[1] with
libublk-rs based ublk-zoned target prototype[2], follows command line
for creating ublk-zoned:

[...]
Applied, thanks!

[1/1] ublk: zoned: support REQ_OP_ZONE_RESET_ALL
      commit: 851e06297f20bbd85c93bbf09469f2150d1db218

Best regards,
-- 
Jens Axboe


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help