qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.6 0/3] block: Fix assertion failure at mirror exit
@ 2016-04-22  6:35 Fam Zheng
  2016-04-22  6:35 ` [Qemu-devel] [PATCH for-2.6 1/3] mirror: Extract mirror_replace Fam Zheng
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Fam Zheng @ 2016-04-22  6:35 UTC (permalink / raw)
  To: qemu-devel
  Cc: Jeff Cody, Kevin Wolf, Max Reitz, qemu-block, pbonzini, stefanha

This supersedes the "virtio: Register host notifier handler as external" patch
from yesterday.

The bug was initially reported by Matthew Schumacher as LaunchPad Bug 1570134,
and nicely bisected by Max Reitz. See patch 2 for the analysis.

We are late for 2.6 so the fix is done locally in mirror.c. In 2.7 we should
revisit this and let bdrv_drained_begin do the work.

Fam Zheng (3):
  mirror: Extract mirror_replace
  mirror: Skip BH for mirror_exit if in main loop
  block: Update comment of bdrv_drained_begin

 block/mirror.c        | 43 ++++++++++++++++++++++++++++++-------------
 include/block/block.h |  5 +++++
 2 files changed, 35 insertions(+), 13 deletions(-)

-- 
2.8.0

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

end of thread, other threads:[~2016-04-22  9:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22  6:35 [Qemu-devel] [PATCH for-2.6 0/3] block: Fix assertion failure at mirror exit Fam Zheng
2016-04-22  6:35 ` [Qemu-devel] [PATCH for-2.6 1/3] mirror: Extract mirror_replace Fam Zheng
2016-04-22  6:35 ` [Qemu-devel] [PATCH for-2.6 2/3] mirror: Skip BH for mirror_exit if in main loop Fam Zheng
2016-04-22  9:37   ` Fam Zheng
2016-04-22  6:35 ` [Qemu-devel] [PATCH for-2.6 3/3] block: Update comment of bdrv_drained_begin Fam Zheng
2016-04-22  6:46 ` [Qemu-devel] [PATCH for-2.6 0/3] block: Fix assertion failure at mirror exit Fam Zheng

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).