scsi: smartpqi: Convert to host_tagset
authorDon Brace <don.brace@microchip.com>
Tue, 8 Nov 2022 19:21:38 +0000 (13:21 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 17 Nov 2022 18:10:58 +0000 (18:10 +0000)
commitb27ac2faa2fc0b2677cf1cbd270af734a1f5fd95
tree43b26ca598a50da7cdc6a92281a12e6d024b0170
parent729c287e9f7481d630b69c73960e2ac990cd04fc
scsi: smartpqi: Convert to host_tagset

Add support for host_tagset.

Also move the reserved command slots to the end of the pool to eliminate an
addition operation for every SCSI request.

This patch was originally authored by Hannes Reinecke here:

Link: https://lore.kernel.org/linux-block/20191126131009.71726-8-hare@suse.de/
But we NAKed this patch because we wanted to fully test multipath
failover operations.

Suggested-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@microchip.com>
Reviewed-by: Mike McGowen <Mike.McGowen@microchip.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://lore.kernel.org/r/166793529811.322537.3294617845448383948.stgit@brunhilda
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi.h
drivers/scsi/smartpqi/smartpqi_init.c