Re: [PATCH 1/1] scsi scan: don't fail scans when host is in recovery

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

 



On 02/22/2012 03:56 AM, Hannes Reinecke wrote:
>> ---
>>  include/scsi/scsi_host.h |    3 ++-
>>  1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
>> index f1f2644..22b7b23 100644
>> --- a/include/scsi/scsi_host.h
>> +++ b/include/scsi/scsi_host.h
>> @@ -791,7 +791,8 @@ static inline struct device *scsi_get_device(struct Scsi_Host *shost)
>>   **/
>>  static inline int scsi_host_scan_allowed(struct Scsi_Host *shost)
>>  {
>> -	return shost->shost_state == SHOST_RUNNING;
>> +	return shost->shost_state == SHOST_RUNNING ||
>> +	       shost->shost_state == SHOST_RECOVERY;
>>  }
>>  
>>  extern void scsi_unblock_requests(struct Scsi_Host *);
> 
> James, ping?
> Any reason it was not included?
> 

It is merged in git commit 76e4e12ff2b3ef86773989fd897b194eb38016e6.
--
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