[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 4/5] block/io: fix bdrv_is_allocated_above
From: |
Alberto Garcia |
Subject: |
Re: [PATCH v5 4/5] block/io: fix bdrv_is_allocated_above |
Date: |
Tue, 18 Aug 2020 16:17:55 +0200 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Wed 10 Jun 2020 02:04:25 PM CEST, Vladimir Sementsov-Ogievskiy wrote:
> bdrv_is_allocated_above wrongly handles short backing files: it reports
> after-EOF space as UNALLOCATED which is wrong, as on read the data is
> generated on the level of short backing file (if all overlays has
> unallocated area at that place).
>
> Reusing bdrv_common_block_status_above fixes the issue and unifies code
> path.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Berto
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v5 4/5] block/io: fix bdrv_is_allocated_above,
Alberto Garcia <=