Re: [PATCH 09/12] scsi_debug: add multiple queue support

2016-04-26 Thread Bart Van Assche
On 04/25/2016 09:16 AM, Douglas Gilbert wrote: - * (for response) at one time. Can be reduced by max_queue option. Command - * responses are not queued when jdelay=0 and ndelay=0. The per-device - * DEF_CMD_PER_LUN can be changed via sysfs: - * /sys/class/scsi_device//device/queue_depth but canno

Re: [PATCH 09/12] scsi_debug: add multiple queue support

2016-04-25 Thread Hannes Reinecke
On 04/25/2016 06:16 PM, Douglas Gilbert wrote: > Add submit_queue parameter (minimum and default: 1; maximum: > nr_cpu_ids) that controls how many queues are built, each with > their own lock and in_use bit vector. Add statistics parameter > which is default on. > > Signed-off-by: Douglas Gilbert

[PATCH 09/12] scsi_debug: add multiple queue support

2016-04-25 Thread Douglas Gilbert
Add submit_queue parameter (minimum and default: 1; maximum: nr_cpu_ids) that controls how many queues are built, each with their own lock and in_use bit vector. Add statistics parameter which is default on. Signed-off-by: Douglas Gilbert --- drivers/scsi/scsi_debug.c | 662 +