<div dir="ltr"><div><div>Will look into these in some time. But to make sure we have conversation going, will track everything here: <a href="https://github.com/gluster/glusterfs/issues/145">https://github.com/gluster/glusterfs/issues/145</a><br><br></div>Regards,<br></div>Amar<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 22, 2017 at 1:19 PM, Mark Ferrell <span dir="ltr"><<a href="mailto:major@homeonderanged.org" target="_blank">major@homeonderanged.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I currently have 2 branches related to snapshots on GlusterFS.<br><br></div><a href="https://github.com/major0/glusterfs/tree/lvm-snapshot-cleanup" target="_blank">https://github.com/major0/<wbr>glusterfs/tree/lvm-snapshot-<wbr>cleanup</a><br>Based code from Sriram that I found on GitHub, though I removed the ZFS code from Sriram's patches and created this LVM-only branch. Subsequent changes to this branch where done i response to changes necessary to implement support for btrfs snapshots (and cleanup a memory leak in the missed-snapshot code)...<br><br><br><a href="https://github.com/major0/glusterfs/tree/btrfs-snapshots" target="_blank">https://github.com/major0/<wbr>glusterfs/tree/btrfs-snapshots</a><br></div>This code is branched from my lvm-snapshot-cleanup branch and is directly dependant on the changes contained there-in.<br><br></div>Both of these branches are currently in-flux, and I have been performing regular rebasing against the GlusterFS master branch.<br><div><div><br></div><div>Btrfs snapshots currently work and have been tested on Ubuntu 16.04, though the process for configuring btrfs for gluster snapshots has not yet been documented.<br><br></div><div>Required interfaces to support hard-coded snapshot support can be found:<br><a href="https://github.com/major0/glusterfs/blob/lvm-snapshot-cleanup/xlators/mgmt/glusterd/src/snapshot/glusterd-lvm-snapshot.h" target="_blank">https://github.com/major0/<wbr>glusterfs/blob/lvm-snapshot-<wbr>cleanup/xlators/mgmt/glusterd/<wbr>src/snapshot/glusterd-lvm-<wbr>snapshot.h</a><br><br></div><div>It should be relatively straight-forward to package up these interfaces into a structure of function pointers and allow glusterd to itterate the array firing off the glusterd_is_<type>_brick() function at the path to figure out which subsystem to use.<br></div></div></div>
<br>______________________________<wbr>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-devel</a><br></blockquote></div><br><br clear="all"><br>-- <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>