commit | 12bde0eed6b740787bca2c998a838b20c556d0ec | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Mar 30 13:17:10 2012 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Apr 05 14:54:40 2012 +0200 |
tree | 70575b80de60a28bdae472b679caaba8d0299f3a | |
parent | 498e386c58497f621a37301ea6e8ca886f9f2e07 [diff] |
block: cancel jobs when a device is ready to go away We do not want jobs to keep a device busy for a possibly very long time, and management could become confused because they thought a device was not even there anymore. So, cancel long-running jobs as soon as their device is going to disappear. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>