From: Rusty Russell <rusty@rustcorp.com.au>
To: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Cc: borntraeger@de.ibm.com, virtualization@lists.linux-foundation.org
Subject: Re: [PATCH 1/1] virtio_ccw: introduce device_lost in virtio_ccw_device
Date: Mon, 28 Apr 2014 11:24:30 +0930 [thread overview]
Message-ID: <87fvkyte09.fsf@rustcorp.com.au> (raw)
In-Reply-To: <1398429327-31391-2-git-send-email-graalfs@linux.vnet.ibm.com>
Heinz Graalfs <graalfs@linux.vnet.ibm.com> writes:
> 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 <graalfs@linux.vnet.ibm.com>
> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Thanks!
Applied,
Rusty.
prev parent reply other threads:[~2014-04-28 1:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-25 12:35 [PATCH 0/1] virtio_ccw: exploit virtio_break_device() Heinz Graalfs
2014-04-25 12:35 ` [PATCH 1/1] virtio_ccw: introduce device_lost in virtio_ccw_device Heinz Graalfs
2014-04-28 1:54 ` Rusty Russell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fvkyte09.fsf@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=borntraeger@de.ibm.com \
--cc=graalfs@linux.vnet.ibm.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.