Re: [PATCH v2 03/12] scsi-mq: Add support for multiple hardware queues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux