|
From: | Max Reitz |
Subject: | Re: [Qemu-block] [PATCH v2 1/6] block: Add blocker on mirror target |
Date: | Mon, 20 Jul 2015 17:10:40 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 25.06.2015 05:22, Fam Zheng wrote:
In block/backup.c, we already check and add blocker on the target bs, which is necessary so that it won't be intervened with other operations. In block/mirror.c we should also protect the mirror target bs, because it could have a node-name (drive-mirror ... node-name=XXX), and on top of that it's safe to add blockdev-mirror. Signed-off-by: Fam Zheng <address@hidden> --- block/mirror.c | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by: Max Reitz <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |