aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHeinz Graalfs <[email protected]>2014-04-28 11:24:05 +0930
committerRusty Russell <[email protected]>2014-04-28 11:34:13 +0930
commite75279c4fb853f42004cbabb6dbf6b23188dc163 (patch)
tree623a5644aa98b17d49328acb8e260d39f7f43ab2 /tools/perf/util/trace-event-scripting.c
parente2dcdfe95c0bd67e37db6057edd9c4ee1f1c7b17 (diff)
virtio_ccw: introduce device_lost in virtio_ccw_device
When a device is lost, the common I/O layer calls the notification handler with CIO_GONE: In that event, flag device_lost as true. In case the device had been flagged as lost when the remove/offline callbacks are called, call the new virtio_break_device() function prior to invoking device_unregister(). This avoids hangs of I/O triggered via the device unregistration callbacks. Signed-off-by: Heinz Graalfs <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions