Re: [PATCH 2/8] scsi-mq: Add support for multiple hardware queues

2014-09-26 Thread Bart Van Assche
On 26/09/2014 5:08, Ming Lei wrote: I suggest to apply this patch and related scsi-mq multi hw-queue enablement patches first, so that any scsi drivers capable of multi hw-queue can go without waiting for passing hctx patches which may take a bit long since lots of drivers are involved, as Jens

Re: [PATCH 2/8] scsi-mq: Add support for multiple hardware queues

2014-09-26 Thread Ming Lei
On Sat, Sep 20, 2014 at 2:05 AM, Sagi Grimberg wrote: > On 9/19/2014 3:57 PM, Bart Van Assche wrote: >> Allow a SCSI LLD to declare how many hardware queues it supports >> by setting Scsi_Host.nr_hw_queues before calling scsi_add_host(). >> >> Note: it is assumed that each hardware queue has a que

Re: [PATCH 2/8] scsi-mq: Add support for multiple hardware queues

2014-09-19 Thread Christoph Hellwig
On Fri, Sep 19, 2014 at 09:05:53PM +0300, Sagi Grimberg wrote: > I think this patch should be squashed with passing LLD hctx patch (in > whatever form it ends up). Agreed. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 2/8] scsi-mq: Add support for multiple hardware queues

2014-09-19 Thread Sagi Grimberg
On 9/19/2014 3:57 PM, Bart Van Assche wrote: > Allow a SCSI LLD to declare how many hardware queues it supports > by setting Scsi_Host.nr_hw_queues before calling scsi_add_host(). > > Note: it is assumed that each hardware queue has a queue depth of > shost->can_queue. In other words, the total que

[PATCH 2/8] scsi-mq: Add support for multiple hardware queues

2014-09-19 Thread Bart Van Assche
Allow a SCSI LLD to declare how many hardware queues it supports by setting Scsi_Host.nr_hw_queues before calling scsi_add_host(). Note: it is assumed that each hardware queue has a queue depth of shost->can_queue. In other words, the total queue depth per host is (number of hardware queues) * (sh