[PATCH] This patch is to solve the problem that bitmaps in memory are lost after dirve-mirror is completed.

2022-09-20 Thread Hongleilee
Signed-off-by: Hongleilee <281773...@qq.com> --- block/mirror.c | 29 + 1 file changed, 29 insertions(+) diff --git a/block/mirror.c b/block/mirror.c index 3c4ab1159d..86d2cd6b67 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -24,6 +24,7 @@ #include

[PATCH] This patch is to solve the problem that the bitmap file in memory is lost after creating a snapshot

2022-09-20 Thread Hongleilee
From: Hongleili Li (李红磊)-云数据中心集团 Signed-off-by: Hongleili Li (李红磊)-云数据中心集团 --- blockdev.c | 4 1 file changed, 4 insertions(+) diff --git a/blockdev.c b/blockdev.c index 9230888e34..a6b85d06b7 100644 --- a/blockdev.c +++ b/blockdev.c @@ -1534,6 +1534,10 @@ static void external_snapshot_pr