Re: [PATCH v2 2/7] block/block-copy: use block_status

2020-02-17 Thread Max Reitz
On 08.02.20 13:25, Vladimir Sementsov-Ogievskiy wrote: > 07.02.2020 20:46, Max Reitz wrote: >> On 27.11.19 19:08, Vladimir Sementsov-Ogievskiy wrote: >>> Use bdrv_block_status_above to chose effective chunk size and to handle >>> zeroes effectively. >>> >>> This substitutes checking for just being

Re: [PATCH v2 2/7] block/block-copy: use block_status

2020-02-08 Thread Vladimir Sementsov-Ogievskiy
07.02.2020 20:46, Max Reitz wrote: On 27.11.19 19:08, Vladimir Sementsov-Ogievskiy wrote: Use bdrv_block_status_above to chose effective chunk size and to handle zeroes effectively. This substitutes checking for just being allocated or not, and drops old code path for it. Assistance by backup j

Re: [PATCH v2 2/7] block/block-copy: use block_status

2020-02-07 Thread Max Reitz
On 27.11.19 19:08, Vladimir Sementsov-Ogievskiy wrote: > Use bdrv_block_status_above to chose effective chunk size and to handle > zeroes effectively. > > This substitutes checking for just being allocated or not, and drops > old code path for it. Assistance by backup job is dropped too, as > cach

Re: [PATCH v2 2/7] block/block-copy: use block_status

2020-01-29 Thread Andrey Shinkevich
On 27/11/2019 21:08, Vladimir Sementsov-Ogievskiy wrote: > Use bdrv_block_status_above to chose effective chunk size and to handle > zeroes effectively. > > This substitutes checking for just being allocated or not, and drops > old code path for it. Assistance by backup job is dropped too, as >

[PATCH v2 2/7] block/block-copy: use block_status

2019-11-27 Thread Vladimir Sementsov-Ogievskiy
Use bdrv_block_status_above to chose effective chunk size and to handle zeroes effectively. This substitutes checking for just being allocated or not, and drops old code path for it. Assistance by backup job is dropped too, as caching block-status information is more difficult than just caching is