<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 21, 2019 at 9:00 AM Xiubo Li &lt;<a href="mailto:xiubli@redhat.com">xiubli@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    <p class="gmail-m_-8427338770979236914part">All,</p>
    <p class="gmail-m_-8427338770979236914part">I am one of the
      contributor for<span> </span><a href="https://github.com/gluster/gluster-block" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">gluster-block</a>[1]
      project, and also I contribute to linux kernel and<span> </span><a href="https://github.com/open-iscsi" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">open-iscsi</a>
      project.[2]</p>
    <p class="gmail-m_-8427338770979236914part">NBD was around for some
      time, but in recent time, linux kernel’s Network Block Device
      (NBD) is enhanced and made to work with more devices and also the
      option to integrate with netlink is added. So, I tried to provide
      a glusterfs client based NBD driver recently. Please refer<span> </span><a href="https://github.com/gluster/glusterfs/issues/633" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">github issue #633</a>[3], and good news
      is I have a working code, with most basic things @<span> </span><a href="https://github.com/gluster/nbd-runner" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">nbd-runner
        project</a>[4].</p>
    <p class="gmail-m_-8427338770979236914part">While this email is
      about announcing the project, and asking for more collaboration, I
      would also like to discuss more about the placement of the project
      itself. Currently nbd-runner project is expected to be shared by
      our friends at Ceph project too, to provide NBD driver for Ceph. I
      have personally worked with some of them closely while
      contributing to open-iSCSI project, and we would like to take this
      project to great success.</p>
    <p class="gmail-m_-8427338770979236914part">Now few questions:</p>
    <ol class="gmail-m_-8427338770979236914part">
      <li style="box-sizing:border-box">Can I continue to use<span> </span><a href="http://github.com/gluster/nbd-runner" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">http://github.com/gluster/nbd-runner</a><span> </span>as
        home for this project, even if its shared by other filesystem
        projects?</li>
    </ol>
    <ul class="gmail-m_-8427338770979236914part">
      <li style="box-sizing:border-box">I personally am fine with this.</li>
    </ul>
    <ol start="2" class="gmail-m_-8427338770979236914part">
      <li style="box-sizing:border-box">Should there be a separate
        organization for this repo?</li>
    </ol>
    <ul class="gmail-m_-8427338770979236914part">
      <li style="box-sizing:border-box">While it may make sense in
        future, for now, I am not planning to start any new thing?</li>
    </ul>
    <p class="gmail-m_-8427338770979236914part">It would be great if we
      have some consensus on this soon as nbd-runner is a new
      repository. If there are no concerns, I will continue to
      contribute to the existing repository.</p></div></blockquote><div><br></div><div><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif;font-size:small"></span><font face="arial, helvetica, sans-serif">Thanks Xiubo Li, for finally sending this email out. Since this email is out on gluster mailing list, I would like to take a stand from gluster community point of view *only* and share my views.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">My honest answer is &quot;If we want to maintain this within gluster org, then 80% of the effort is common/duplicate of what we did all these days with gluster-block&quot;,</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">like:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* rpc/socket code</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* cli/daemon parser/helper logics</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* gfapi util functions</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* logger framework</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* inotify &amp; dyn-config threads</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* configure/Makefile/specfiles</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* docsAboutGluster and etc ..</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">The repository gluster-block is actually a home for all the block related stuff within gluster and its designed to accommodate alike functionalities, if I was you I would have simply copied nbd-runner.c into <a href="https://github.com/gluster/gluster-block/tree/master/daemon/">https://github.com/gluster/gluster-block/tree/master/daemon/</a> just like ceph plays it here <a href="https://github.com/ceph/ceph/blob/master/src/tools/rbd_nbd/rbd-nbd.cc">https://github.com/ceph/ceph/blob/master/src/tools/rbd_nbd/rbd-nbd.cc</a> and be done.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Advantages of keeping nbd client within gluster-block:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">-&gt; No worry about maintenance code burdon</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">-&gt; No worry about monitoring a new component</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">-&gt; shipping packages to fedora/centos/rhel is handled</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">-&gt; This helps improve and stabilize the current gluster-block framework</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">-&gt; We can build a common CI</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">-&gt; We can use reuse common test framework and etc ..</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">If you have an impression that gluster-block is for management, then I would really want to correct you at this point.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Some of my near future plans for gluster-block:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* Allow exporting blocks with FUSE access via fileIO backstore to improve large-file workloads, draft:  <a href="https://github.com/gluster/gluster-block/pull/58">https://github.com/gluster/gluster-block/pull/58</a></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* Accommodate kernel loopback handling for local only applications</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* The same way we can accommodate nbd app/client, and IMHO this effort shouldn&#39;t take 1 or 2 days to get it merged with in gluster-block and ready for a go release.</font></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Hope that clarifies it.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Best Regards,</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">--</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Prasanna</font><span style="font-family:arial,helvetica,sans-serif;font-size:small"></span></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
    <p class="gmail-m_-8427338770979236914part">Regards,<br style="box-sizing:border-box">
      Xiubo Li (@lxbsz)</p>
    <p class="gmail-m_-8427338770979236914part">[1] -<span> </span><a href="https://github.com/gluster/gluster-block" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">https://github.com/gluster/gluster-block</a><br style="box-sizing:border-box">
      [2] -<span> </span><a href="https://github.com/open-iscsi" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">https://github.com/open-iscsi</a><br style="box-sizing:border-box">
      [3] -<span> </span><a href="https://github.com/gluster/glusterfs/issues/633" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">https://github.com/gluster/glusterfs/issues/633</a><br style="box-sizing:border-box">
      [4] -<span> </span><a href="https://github.com/gluster/nbd-runner" rel="noopener" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none" target="_blank">https://github.com/gluster/nbd-runner</a></p>
  </div>

_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-devel</a></blockquote></div></div></div>