Re: [Qemu-block] [PATCH 0/5] Discrad blocks during block-stream operation

2018-11-23 Thread Andrey Shinkevich
Dear Peter, Thank you for your response. The 'discard' option is useful when pulling a huge file. That will save a disk space significantly. The 'commit' operation would be useful as well but it is harder to implement due to concurrent writes of a guest. Which command to use, 'pull' or

Re: [Qemu-block] [PATCH 0/5] Discrad blocks during block-stream operation

2018-11-22 Thread Peter Krempa
On Thu, Nov 22, 2018 at 21:48:02 +0300, Andrey Shinkevich wrote: > Hello everyone! > > The given feature discards blocks with copy-on-read operation while the > streaming process runs. Adding the 'discard' argument to the QMP block-stream > command allows dropping a block in the backing chain

[Qemu-block] [PATCH 0/5] Discrad blocks during block-stream operation

2018-11-22 Thread Andrey Shinkevich
Hello everyone! The given feature discards blocks with copy-on-read operation while the streaming process runs. Adding the 'discard' argument to the QMP block-stream command allows dropping a block in the backing chain after it has been copied to the active layer. That will elude the block