]> Git Repo - linux.git/commit
s390: cio: Delay uevents for subchannels
authorCornelia Huck <[email protected]>
Thu, 26 Apr 2007 07:12:03 +0000 (00:12 -0700)
committerGreg Kroah-Hartman <[email protected]>
Fri, 27 Apr 2007 17:57:32 +0000 (10:57 -0700)
commitfa1a8c23eb7d3ded8a3c6d0e653339a2bc7fca9e
treea963f25081d843a1ce7215fccd1931767e959833
parent45cd8d8e1e56fba41b1e4fae988f40fe938045c2
s390: cio: Delay uevents for subchannels

We often have the situation that we register a subchannel and start device
recognition, only to find out that the device is not usable after all, which
triggers an unregister of the subchannel.  This often happens on hundreds of
subchannels on a LPAR, leading to a storm of events which aren't of any use.
Therefore, use uevent_suppress to delay the KOBJ_ADD uevent for a subchannel
until we know that its ccw_device is to be registered.

Signed-off-by: Cornelia Huck <[email protected]>
Cc: Kay Sievers <[email protected]>
Cc: Eric Rannaud <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/s390/cio/device.c
This page took 0.055832 seconds and 4 git commands to generate.