public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] Integrated Unit Attention handling
@ 2014-12-15 15:17 Hannes Reinecke
  2014-12-16  8:32 ` [Lsf-pc] " Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Hannes Reinecke @ 2014-12-15 15:17 UTC (permalink / raw)
  To: lsf-pc@lists.linux-foundation.org; +Cc: linux-scsi@vger.kernel.org

Hi all,

I'd like to discusss 'Integrated Unit Attention handling' at LSF/MM
2015.

Currently we're interpreting some Unit Attention codes and send out
uevents, with the hope that some userspace application will make use
of this.
However, some UAs are easily handled within the kernel directly, eg

- REPORT LUN DATA CHANGED: this could easily trigger a rescan of the
  scsi host driving that LUN.
- INQUIRY DATA CHANGED: Rescan the VPD pages and INQUIRY data itself

When implementing such an integrated UA handling, however, we would
need to revisit the design choice of having the inquiry data fixed
to struct scsi_device. Currently any modification to the inquiry
data requires a complete device removal; this is not really feasible
for integrated event handling.

I'd like to discuss if such an integrated UA handling is desirable
and, if so, if devices should become flexible to have the inquiry
data changed on the fly.

Cheers,

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-17 11:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 15:17 [LSF/MM TOPIC] Integrated Unit Attention handling Hannes Reinecke
2014-12-16  8:32 ` [Lsf-pc] " Christoph Hellwig
2014-12-16 15:30   ` Hannes Reinecke
2014-12-17  9:31     ` Christoph Hellwig
2014-12-17 11:54     ` Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox