<div dir="ltr">Thanks for the email Niels!<div><br></div><div>At present we were not actively looking at this, and surely would be great to get some activity going on this front. Happy to re-initiate the discussions if there are any takers for the feature. From my team, I don&#39;t see any sponsors for the feature in next 6 months, at least :-/</div><div><br></div><div>-Amar</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 7, 2018 at 6:27 AM, Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Pranith and Amar,<br>
<br>
The copy_file_range() syscall can support reflinks on the (local)<br>
filesystem. This is something I&#39;d really like to see in Gluster soonish.<br>
There is <a href="https://github.com/gluster/glusterfs/issues/349" rel="noreferrer" target="_blank">https://github.com/gluster/<wbr>glusterfs/issues/349</a> which discusses<br>
some of the technical bits, but there has not been an updated since the<br>
beginning of April.<br>
<br>
If we can support a copy_file_range() FOP in Gluster, support for<br>
reflinks can then be made transarant. The actual data copying will be<br>
done in the bricks, without transporting the data back and forth between<br>
client and server. Distribution of the data might not be optimal, but I<br>
think that is acceptible for many use-cases where the performance of<br>
&#39;file cloning&#39; is important. Many of these environments will not have<br>
distributed volumes in any case.<br>
<br>
Note that copy_file_range() does not guarantee that reflinks are used.<br>
This depends on the support and implementation of the backend<br>
filesystem. XFS in Fedora already supports reflinks (needs special mkfs<br>
options), and we could really benefit of this for large files like VM<br>
disk-images.<br>
<br>
Please provide an updated status by replying to this email, and ideally<br>
adding a note to the GitHub issue.<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888">Niels<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Amar Tumballi (amarts)<br></div></div></div></div></div>
</div>