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
_______________________________________________
Gluster-devel mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-devel

Reply via email to