]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe8d346dc504a2954ce0315607c01b2c72824b26
treefef1e42abeb10ae721e59c6da163a1bfe8b2ad60
parent203a9ed9dedf3def59d9b6d496238e29e96afb31
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