Re: [PATCH] sd: sd should not modify read capacity, cache type or write protect flag on rescan when there is a transport error

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

 



On 03/08/2011 08:22 AM, James Bottomley wrote:
On Tue, 2011-03-08 at 09:30 +0000, Menny_Hamburger@xxxxxxxx wrote:
Another totally different way may be to have the SCSI layer send some
notification (unknown property, needs rescan) that could be picked up
and handled by the transport layer.

This is the hotplug I suggested, isn't it?


Yeah.

Menny, I think you can just do the scsi/iscsi_rescan_target option I suggested in my pseudo patch where when the transport comes back online the iscsi class calls some helper scsi function that calls scsi_rescan_device for each device on the target, so proper values are picked up.
--
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