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

2019-04-29 Thread Stefano Garzarella
On Mon, Apr 29, 2019 at 09:00:26AM -0400, Jason Dillaman wrote: > On Mon, Apr 29, 2019 at 8:47 AM Stefano Garzarella > wrote: > > > > On Sat, Apr 27, 2019 at 08:43:26AM -0400, Jason Dillaman wrote: > > > On Sat, Apr 27, 2019 at 7:37 AM Stefano Garzarella > > > wrote: > > > > > > > > This patch

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

2019-04-29 Thread Jason Dillaman
On Mon, Apr 29, 2019 at 8:47 AM Stefano Garzarella wrote: > > On Sat, Apr 27, 2019 at 08:43:26AM -0400, Jason Dillaman wrote: > > On Sat, Apr 27, 2019 at 7:37 AM Stefano Garzarella > > wrote: > > > > > > This patch adds the support of preallocation (off/full) for the RBD > > > block driver. > >

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

2019-04-29 Thread Stefano Garzarella
On Sat, Apr 27, 2019 at 08:43:26AM -0400, Jason Dillaman wrote: > On Sat, Apr 27, 2019 at 7:37 AM 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 > > f

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

2019-04-27 Thread Jason Dillaman
On Sat, Apr 27, 2019 at 7:37 AM 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 > --- >