Re: [PATCH] scsi_scan: fix queue depth initialisation problem

2015-04-28 Thread Hannes Reinecke
On 04/28/2015 11:24 PM, James Bottomley wrote: > From: James Bottomley > Date: Sun, 26 Apr 2015 11:52:46 -0700 > Subject: [PATCH] scsi_scan: fix queue depth initialisation problem > > Currently we blindly use the value of cmd_per_lun as the initial setting for > queue_

[PATCH] scsi_scan: fix queue depth initialisation problem

2015-04-28 Thread James Bottomley
From: James Bottomley Date: Sun, 26 Apr 2015 11:52:46 -0700 Subject: [PATCH] scsi_scan: fix queue depth initialisation problem Currently we blindly use the value of cmd_per_lun as the initial setting for queue_depth. This fails miserably (hangs the system) if it is zero, which is the default