This is a follow-up to the series at [0] to fix SCSI device tagging and use the per-device token as the libata qc tag. I added the changes Christoph shared on the list to move the functionality from ata_qc_new_init() into libata-scsi.c Please do not apply on a kernel which does not include "scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()" v5.18-rc2 should be the release to include that patch. [0] https://lore.kernel.org/linux-ide/1647340746-17600-1-git-send-email-john.garry@xxxxxxxxxx/ Christoph Hellwig (1): libata: Inline ata_qc_new_init() in ata_scsi_qc_new() John Garry (1): libata: Use scsi cmnd budget token for qc tag for SAS host Documentation/driver-api/libata.rst | 11 ------- drivers/ata/libata-core.c | 48 +---------------------------- drivers/ata/libata-sata.c | 25 --------------- drivers/ata/libata-scsi.c | 45 ++++++++++++++++++++------- drivers/ata/libata.h | 13 -------- include/linux/libata.h | 1 - 6 files changed, 35 insertions(+), 108 deletions(-) -- 2.26.2