linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: notify userspace of offline -> running transitions
@ 2013-09-24 19:23 Ewan Milne
  2013-09-25  8:54 ` Hannes Reinecke
  0 siblings, 1 reply; 3+ messages in thread
From: Ewan Milne @ 2013-09-24 19:23 UTC (permalink / raw)
  To: linux-scsi

http://marc.info/?l=linux-scsi&m=133901769900806&w=2

Can we reconsider applying patch 4 in Mike's set?
The problem still exists, and there was never another
solution proposed as far as I can see.  (I posted a
question about this a while back...)

It is a big issue for people who happen to get a
KOBJ_CHANGE uevent while their iSCSI session happens
to be disconnected for some reason, because udev
will end up removing the /dev/by-xxx links when it
can't access the device.  If there is no subsequent
uevent when the device is available again, the links
are never recreated.

-Ewan



^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: notify userspace of offline -> running transitions
@ 2013-05-06 19:45 Ewan Milne
  0 siblings, 0 replies; 3+ messages in thread
From: Ewan Milne @ 2013-05-06 19:45 UTC (permalink / raw)
  To: linux-scsi; +Cc: kay

http://marc.info/?l=linux-scsi&m=133769378525796&w=2

Did anything ever happen with this?  I don't see that it did.

There seems to be a problem with udev processing an event
for a device at a time when the device can't be accessed.
Mike's original fix was to generate another KOBJ_CHANGE
event when the device comes back online, so that subsequent
udev rule processing would succeed.  Even so, the device
could become inaccessible again by the time the event was
actually processed by udev (if udevd was overloaded...)

-Ewan





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

end of thread, other threads:[~2013-09-25  8:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24 19:23 notify userspace of offline -> running transitions Ewan Milne
2013-09-25  8:54 ` Hannes Reinecke
  -- strict thread matches above, loose matches on Subject: below --
2013-05-06 19:45 Ewan Milne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).