[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH for-2.6 0/3] block: Fix assertion failure at mirror
From: |
Fam Zheng |
Subject: |
[Qemu-block] [PATCH for-2.6 0/3] block: Fix assertion failure at mirror exit |
Date: |
Fri, 22 Apr 2016 14:35:04 +0800 |
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
- [Qemu-block] [PATCH for-2.6 0/3] block: Fix assertion failure at mirror exit,
Fam Zheng <=