Re: [PATCH v6 4/5] block/io: fix bdrv_is_allocated_above

2020-09-24 Thread Alberto Garcia
On Wed 16 Sep 2020 02:20:07 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 > unalloca

[PATCH v6 4/5] block/io: fix bdrv_is_allocated_above

2020-09-16 Thread Vladimir Sementsov-Ogievskiy
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 an