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

Ravishankar N ravishankar at redhat.com
Thu Jul 28 15:34:43 UTC 2016


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/ :-)
-Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160728/4b66adf3/attachment.html>


More information about the Gluster-devel mailing list