Damien Le Moal 1846f308d6 scsi: sd: Use the block layer zone append emulation
Set the request queue of a TYPE_ZBC device as needing zone append
emulation by setting the device queue max_zone_append_sectors limit to
0. This enables the block layer generic implementation provided by zone
write plugging. With this, the sd driver will never see a
REQ_OP_ZONE_APPEND request and the zone append emulation code
implemented in sd_zbc.c can be removed.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Hans Holmberg <hans.holmberg@wdc.com>
Tested-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240408014128.205141-14-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-04-17 08:44:03 -06:00
..
2023-10-13 14:15:54 -04:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2023-05-31 19:59:26 -04:00
2024-03-10 18:15:48 -04:00
2023-05-26 13:52:19 -07:00
2023-04-18 23:01:23 -04:00
2024-03-22 13:31:07 -07:00
2024-03-15 17:53:48 -07:00
2024-03-22 13:31:07 -07:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2024-03-22 13:31:07 -07:00
2024-03-22 13:31:07 -07:00
2022-05-08 14:28:18 -04:00
2024-03-25 15:41:07 -04:00
2024-03-10 18:15:49 -04:00
2023-05-31 11:36:40 -04:00