Re: [PATCH 1/1] fc class: fix scanning when devs are offline

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

 



On 04/15/2012 09:47 PM, michaelc@xxxxxxxxxxx wrote:
> From: Mike Christie <michaelc@xxxxxxxxxxx>
> 
> When a rport is added back or the role is changed the fc class
> will queue a scan and then call scsi_target_unblock. The problem
> with this is if the devices are in the SDEV_OFFLINE state and
> the scan is run before the scsi_target_unblock, then the scan
> will see LUN0 as offline and the scan will fail. This patch moves
> the unblock call to before the scan, so we know the device state
> will be set correctly when the scan is run.

I forgot to add my signed off for the patch.

Signed-off-by: Mike Christie <michaelc@xxxxxxxxxxx>
--
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