Hi all, this series converts the SCSI upper level drivers to the atomic queue limits API. The first patch is a bug fix for ubd that later patches depend on and might be worth picking up for 6.10. The second patch changes the max_sectors calculation to take the optimal I/O size into account so that sd, nbd and rbd don't have to mess with the user max_sector value. I'd love to see a careful review from the nbd and rbd maintainers for this one! The following patches clean up a few lose ends in the sd driver, and then convert sd and sr to the atomic queue limits API. The final patches remove the now unused block APIs, and convert a few to be specific to their now more narrow use case. The patches are against Jens' block-6.10 tree. Due to the amount of block layer changes in here, and other that will depend on it, it would be good if this could eventually be merged through the block tree, or at least a shared branch between the SCSI and block trees. Changes since v1: - change the io_opt value for rbd - fix a left-over direct assignent to q->limits - add a new patch to refactor the ubd interrupt handler - use an else if to micro-optimize the ubd error handling - also remove disk_set_max_open_zones and disk_set_max_active_zones - use SECTOR_SHIFT in one more place - various spelling fixes - comment formating fix Diffstat: arch/um/drivers/ubd_kern.c | 50 +++------ block/blk-settings.c | 238 +------------------------------------------ drivers/block/nbd.c | 2 drivers/block/rbd.c | 3 drivers/block/xen-blkfront.c | 4 drivers/scsi/sd.c | 222 ++++++++++++++++++++-------------------- drivers/scsi/sd.h | 6 - drivers/scsi/sd_zbc.c | 27 ++-- drivers/scsi/sr.c | 42 ++++--- include/linux/blkdev.h | 52 +++------ 10 files changed, 210 insertions(+), 436 deletions(-)