On 07/28/2016 04:43 PM, Niels de Vos
wrote:
Sent http://review.gluster.org/#/c/15037/ :-)posix_discard() in gluster seems to be using fallocate() withFALLOC_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? -Ravi |
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel