Re: [Qemu-devel] [PATCH v2] block/rbd: add preallocation support

2019-06-26 Thread Stefano Garzarella
On Tue, Jun 25, 2019 at 06:06:02PM +0200, Max Reitz wrote: > On 06.05.19 14:23, Stefano Garzarella wrote: > > This patch adds the support of preallocation (off/full) for the RBD > > block driver. > > If available, we use rbd_writesame() to quickly fill the image when > > full preallocation is requi

Re: [Qemu-devel] [PATCH v2] block/rbd: add preallocation support

2019-06-25 Thread Max Reitz
On 06.05.19 14:23, Stefano Garzarella wrote: > This patch adds the support of preallocation (off/full) for the RBD > block driver. > If available, we use rbd_writesame() to quickly fill the image when > full preallocation is required. > > Signed-off-by: Stefano Garzarella > --- > v2: > - Use 4 Ki

[Qemu-devel] [PATCH v2] block/rbd: add preallocation support

2019-05-06 Thread Stefano Garzarella
This patch adds the support of preallocation (off/full) for the RBD block driver. If available, we use rbd_writesame() to quickly fill the image when full preallocation is required. Signed-off-by: Stefano Garzarella --- v2: - Use 4 KiB buffer for rbd_writesame() [Jason] - Use "rbd_concurrent_mana