13.08.2019 17:31, Max Reitz wrote: > On 13.08.19 13:51, Kevin Wolf wrote: > > [...] > >> Hm... This is a mess. :-) > > Just out of curiosity: Why? > > Aren’t there only two things we really need from the block_status > infrastructure? > > (1) Whether something is allocated in the given layer of the backing chain, > > (2) Whether we know that a given range reads as zeroes. > > Do we really need anything else? >
qemu-img map? 1. We need to fix the bug somehow 2. We need to fix comment about different block-status flags, as it really lacks information of what actually "DATA" means (together with *file). And what finally means "allocated", can you define it precisely? 3. Fix nbd-server to be closer to NBD spec about block-status I made several tries to imagine [1] and [2] but never succeeded.. -- Best regards, Vladimir