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.

And then there is the Power-On/Reset handling, which probably would
warrant a discussion on its own ...

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                            zSeries & Storage
h...@suse.de                                   +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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to