]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: Remove REQ_OP_ZONE_RESET_ALL emulation
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 4 Jul 2024 05:28:15 +0000 (14:28 +0900)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jul 2024 06:42:04 +0000 (00:42 -0600)
commitf2a7bea23710fceb99dac6da4ef82c3cc8932f7f
treef1707c27023fe82ac5e4d0abf7c90b0b1807cd82
parent81e7706345f06e1e97a092f59697b7e20a0ee868
block: Remove REQ_OP_ZONE_RESET_ALL emulation

Now that device mapper can handle resetting all zones of a mapped zoned
device using REQ_OP_ZONE_RESET_ALL, all zoned block device drivers
support this operation. With this, the request queue feature
BLK_FEAT_ZONE_RESETALL is not necessary and the emulation code in
blk-zone.c can be removed.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240704052816.623865-5-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-zoned.c
drivers/block/null_blk/zoned.c
drivers/block/ublk_drv.c
drivers/block/virtio_blk.c
drivers/nvme/host/zns.c
drivers/scsi/sd_zbc.c
include/linux/blkdev.h