Re: [PATCH] scsi_debug: Use scsi-mq if it has been enabled

2018-01-26 Thread Bart Van Assche
On Fri, 2018-01-26 at 08:58 +0100, Christoph Hellwig wrote: > scsi_debug already always uses scsi-mq if enabled. The somewhat > misnamed sdebug_mq_active variable is only used for decoding > multiqueue tags. That being said the blk_mq_unique_tag* helpers > should be safe to use even without blk-m

Re: [PATCH] scsi_debug: Use scsi-mq if it has been enabled

2018-01-25 Thread Christoph Hellwig
On Tue, Jan 23, 2018 at 04:39:58PM -0800, Bart Van Assche wrote: > Since we want to remove the single queue code from the SCSI core > at the appropriate time and since scsi-mq performs better than > scsi-sq even when using only a single hardware queue, use scsi-mq > if it has been enabled. scsi_de

Re: [PATCH] scsi_debug: Use scsi-mq if it has been enabled

2018-01-23 Thread Douglas Gilbert
On 2018-01-23 07:39 PM, Bart Van Assche wrote: Since we want to remove the single queue code from the SCSI core at the appropriate time and since scsi-mq performs better than scsi-sq even when using only a single hardware queue, use scsi-mq if it has been enabled. Signed-off-by: Bart Van Assche

[PATCH] scsi_debug: Use scsi-mq if it has been enabled

2018-01-23 Thread Bart Van Assche
Since we want to remove the single queue code from the SCSI core at the appropriate time and since scsi-mq performs better than scsi-sq even when using only a single hardware queue, use scsi-mq if it has been enabled. Signed-off-by: Bart Van Assche Cc: Douglas Gilbert Cc: Hannes Reinecke Cc: Ch