On Tue, Dec 16, 2014 at 04:30:34PM +0100, Hannes Reinecke wrote: > On 12/16/2014 09:32 AM, Christoph Hellwig wrote: > > Sounds like a good topic, altough I hope we'll see considerable > > progress before LSF on this item.. > > > Full integration requires a change of the SCSI device model; > currently struct scsi_device has a fixed type and inquiry data, so > rescan is essentially a no-op. > So the current model requires the complete removal of the device and > a rescan on the host. > Doing that from within the SCSI stack will open quite some > interesting race conditions, let alone interesting userspace > interactions. > Alternatively we can change the model to allow for a change of the > inquiry data, but that should be discussed. For now we can just react to new LUNs or size changes, which would be what most people want, and offline devices for anything else. That alone would be a gigantic improvement. -- 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