[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v2 0/3] potentially broken drive-mirror/drive-backup
From: |
Denis V. Lunev |
Subject: |
[Qemu-block] [PATCH v2 0/3] potentially broken drive-mirror/drive-backup in bdrv_co_discard |
Date: |
Thu, 16 Jun 2016 19:09:38 +0300 |
Actually I have found this problem running iotest 132 for active async
mirror I have sent yesturday. Anyway, the problem is actual for current
backup/mirror implementation.
bdrv_co_discard must mark areas dirty after writing zeroes, it must call
before_write_notifier chain to push underlying data to backup and it also
must properly fill tracked request information.
Changes from v1:
- fixed problem in patch as pointed out by Vova
- ported to current (was made on top of active block mirror)
- minor spelling changes in commit messages
Signed-off-by: Denis V. Lunev <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy<address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Kevin Wolf <address@hidden>
CC: Max Reitz <address@hidden>
Denis V. Lunev (3):
block: fixed BdrvTrackedRequest filling in bdrv_co_discard
block: fix race in bdrv_co_discard with drive-mirror
block: process before_write_notifiers in bdrv_co_discard
block/io.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
--
2.1.4
- [Qemu-block] [PATCH v2 0/3] potentially broken drive-mirror/drive-backup in bdrv_co_discard,
Denis V. Lunev <=
- [Qemu-block] [PATCH 1/3] block: fixed BdrvTrackedRequest filling in bdrv_co_discard, Denis V. Lunev, 2016/06/16
- [Qemu-block] [PATCH 3/3] block: process before_write_notifiers in bdrv_co_discard, Denis V. Lunev, 2016/06/16
- [Qemu-block] [PATCH 2/3] block: fix race in bdrv_co_discard with drive-mirror, Denis V. Lunev, 2016/06/16
- Re: [Qemu-block] [PATCH v2 0/3] potentially broken drive-mirror/drive-backup in bdrv_co_discard, Stefan Hajnoczi, 2016/06/17
- Re: [Qemu-block] [PATCH v2 0/3] potentially broken drive-mirror/drive-backup in bdrv_co_discard, Kevin Wolf, 2016/06/17