Re: [Qemu-devel] [RFC PATCH v0 2/3] gluster: Implement .bdrv_co_write_zeroes for gluster

2013-12-05 Thread Bharata B Rao
On Wed, Dec 04, 2013 at 02:16:28PM -0500, Jeff Cody wrote: > On Fri, Nov 22, 2013 at 12:46:17PM +0530, Bharata B Rao wrote: > > + > > +ret = glfs_zerofill_async(s->fd, offset, size, &gluster_finish_aiocb, > > acb); > > +if (ret < 0) { > > I believe glfs_zerofill_async returns -1 on failur

Re: [Qemu-devel] [RFC PATCH v0 2/3] gluster: Implement .bdrv_co_write_zeroes for gluster

2013-12-04 Thread Jeff Cody
On Fri, Nov 22, 2013 at 12:46:17PM +0530, Bharata B Rao wrote: > Support .bdrv_co_write_zeroes() from gluster driver by using GlusterFS API > glfs_zerofill() that off-loads the writing of zeroes to GlusterFS server. > > Signed-off-by: Bharata B Rao > --- > block/gluster.c | 101 > ++

[Qemu-devel] [RFC PATCH v0 2/3] gluster: Implement .bdrv_co_write_zeroes for gluster

2013-11-21 Thread Bharata B Rao
Support .bdrv_co_write_zeroes() from gluster driver by using GlusterFS API glfs_zerofill() that off-loads the writing of zeroes to GlusterFS server. Signed-off-by: Bharata B Rao --- block/gluster.c | 101 configure | 8 + 2 fil