[Gluster-devel] Suggestions for improving the block/gluster driver in QEMU

Niels de Vos ndevos at redhat.com
Thu Jul 28 21:24:38 UTC 2016


On Thu, Jul 28, 2016 at 09:04:43PM +0530, Ravishankar N wrote:
> On 07/28/2016 04:43 PM, Niels de Vos wrote:
> > > posix_discard() in gluster seems to be using fallocate() with
> > > >FALLOC_FL_PUNCH_HOLE flag. And posix_zerofill() can be made smarter to use
> > > >FALLOC_FL_ZERO_RANGE and fallback to writing zeroes if ZERO_RANGE is not
> > > >supported.
> > Oh, nice find! I was expecting that posix_zerofill() uses fallocate()
> > already... Definitely something that shoud be improved too. Care to file
> > a bug for that?
> Sent http://review.gluster.org/#/c/15037/ :-)

Or like that, thanks!

Niels
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160728/93304371/attachment.sig>


More information about the Gluster-devel mailing list