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

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

 



On 04/28/2015 11:24 PM, James Bottomley wrote:
> From: James Bottomley <JBottomley@xxxxxxxx>
> 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 value for anything uninitialised in the template.  The net result
> is that every host template has to set a value for cmd_per_lun.  Instead, use
> a default value of 1 if the actual value is unset.  This should pave the way
> for removing cmd_per_lun from all the templates and eventually from SCSI
> itself.
> 
> Signed-off-by: James Bottomley <JBottomley@xxxxxxxx>
Tested-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		               zSeries & Storage
hare@xxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux