On 7/4/24 09:07, Ed Tsai (蔡宗軒) wrote: >> diff --git a/block/blk-core.c b/block/blk-core.c >> index 71b7622c523a..0c25df9758d0 100644 >> --- a/block/blk-core.c >> +++ b/block/blk-core.c >> @@ -834,7 +834,7 @@ void submit_bio_noacct(struct bio *bio) >> goto not_supported; >> break; >> case REQ_OP_ZONE_RESET_ALL: >> - if (!bdev_is_zoned(bio->bi_bdev) || >> !blk_queue_zone_resetall(q)) >> + if (!bdev_is_zoned(bio->bi_bdev)) >> goto not_supported; >> break; >> case REQ_OP_DRV_IN: > > It does the same thing as other zone operations, putting these together > will be more cleaner? Indeed. Will do that in v2. -- Damien Le Moal Western Digital Research