-
- Downloads
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>
Showing
- block/blk-core.c 1 addition, 4 deletionsblock/blk-core.c
- block/blk-zoned.c 3 additions, 73 deletionsblock/blk-zoned.c
- drivers/block/null_blk/zoned.c 1 addition, 1 deletiondrivers/block/null_blk/zoned.c
- drivers/block/ublk_drv.c 1 addition, 1 deletiondrivers/block/ublk_drv.c
- drivers/block/virtio_blk.c 1 addition, 1 deletiondrivers/block/virtio_blk.c
- drivers/nvme/host/zns.c 1 addition, 1 deletiondrivers/nvme/host/zns.c
- drivers/scsi/sd_zbc.c 1 addition, 1 deletiondrivers/scsi/sd_zbc.c
- include/linux/blkdev.h 0 additions, 5 deletionsinclude/linux/blkdev.h
Loading
Please register or sign in to comment