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
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel