scsi: add support for multiple hardware queues
authorBart Van Assche <bvanassche@acm.org>
Thu, 30 Oct 2014 13:45:36 +0000 (14:45 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:16:09 +0000 (11:16 +0100)
commitefec4b90f1a9b4c80827e4b8c0863334e13b0bf1
treefef1e42abeb10ae721e59c6da163a1bfe8b2ad60
parent205fb5f5ba1d8edcf18009998ed05b80b7d186af
scsi: add support for multiple hardware queues

Allow a SCSI LLD to declare how many hardware queues it supports
by setting Scsi_Host.nr_hw_queues before calling scsi_add_host().

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_lib.c
include/scsi/scsi_host.h