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. Diffstat: arch/um/drivers/ubd_kern.c | 10 + block/blk-settings.c | 238 +------------------------------------------ drivers/block/nbd.c | 2 drivers/block/rbd.c | 1 drivers/block/xen-blkfront.c | 4 drivers/scsi/sd.c | 218 ++++++++++++++++++++------------------- drivers/scsi/sd.h | 6 - drivers/scsi/sd_zbc.c | 27 ++-- drivers/scsi/sr.c | 42 ++++--- include/linux/blkdev.h | 40 +++---- 10 files changed, 196 insertions(+), 392 deletions(-)