[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 1/2] qcow2: try load bitmaps only once
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH v2 1/2] qcow2: try load bitmaps only once |
Date: |
Wed, 11 Apr 2018 18:33:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 2018-04-11 14:26, Vladimir Sementsov-Ogievskiy wrote:
> Checking reopen by existence of some bitmaps is wrong, as it may be
> some other bitmaps, or on the other hand, user may remove bitmaps. This
> criteria is bad. To simplify things and make behavior more predictable
> let's just add a flag to remember, that we've already tried to load
> bitmaps on open and do not want do it again.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> ---
> block/qcow2.h | 1 +
> block/qcow2.c | 16 ++++++++--------
> 2 files changed, 9 insertions(+), 8 deletions(-)
Reviewed-by: Max Reitz <address@hidden>