On 10/28/14 03:01, Martin K. Petersen wrote:
"Bart" == Bart Van Assche <bvanassche@xxxxxxx> writes:
Bart> Allow a SCSI LLD to declare how many hardware queues it supports
Bart> by setting Scsi_Host.nr_hw_queues before calling scsi_add_host().
Bart> Note: it is assumed that each hardware queue has a queue depth of
Bart> shost-> can_queue. In other words, the total queue depth per host
Bart> is (number of hardware queues) * (shost->can_queue).
I suggest you emphasize that assumption in the header file.
Also: What about the host template?
Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
Hello Martin,
Thanks for reviewing the blk-core and SCSI-core patches in this series.
Regarding nr_hw_queues and the SCSI host template: setting that
parameter in the host template is supported. I will mention this in the
patch description. I will also clarify the queue size assumptions in
scsi_host.h.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html