<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 18, 2016 at 4:35 PM, Raghavendra Talur <span dir="ltr">&lt;<a href="mailto:rtalur@redhat.com" target="_blank">rtalur@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"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Jul 18, 2016 at 4:10 PM, Prasanna Kalever <span dir="ltr">&lt;<a href="mailto:pkalever@redhat.com" target="_blank">pkalever@redhat.com</a>&gt;</span> wrote:<br></span><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Team,<br>
<br>
<br>
My understanding is that @transport argumet in<br>
glfs_set_volfile_server() is meant for specifying transport used in<br>
fetching volfile server,<br></blockquote><div><br></div></span><div>Yes, @transport arg here is transport to use for fetching volfile.</div><span><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
IIRC which currently supports tcp and unix only...<br></blockquote></span><div>Yes, this is correct too.<br> </div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The doc here <a href="https://github.com/gluster/glusterfs/blob/master/api/src/glfs.h" rel="noreferrer" target="_blank">https://github.com/gluster/glusterfs/blob/master/api/src/glfs.h</a><br>
+166 shows the rdma as well, which is something I cannot digest.<br></blockquote></span><div>This is doc written with assumption that rdma would work too.</div><span><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Can someone correct me ?<br>
<br>
Have we ever supported volfile fetch over rdma ?<br></blockquote><div> </div></span><div>I think no. To test, you would have to set rdma as only transport option in glusterd.vol and see what happens in volfile fetch. </div></div></div></div></blockquote><div><br></div><div>Rafi, Prasanna and I looked at the code and verified that volfile is fetched over tcp in the above case.</div><div><br></div><div>Here is the complete scenario</div><div>1. option: unix, volfile is fetched over unix.</div><div>2. option:tcp, volfile is fetched over socket.</div><div>3. option:rdma, volfile is fetched over socket with no warning about no support for rdma.</div><div><br></div><div>This gives an illusion to user that volfile is also fetched over rdma, whereas we used tcp connection for it. I would recommend deprecating the volfile-server-transport option&#39;s overloaded usecase of deciding IO transport in 3.9 version of Gluster and having a different option name for it.</div><div><br></div><div>Thanks, </div><div>Raghavendra Talur</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div><br></div><div>IMO, fetching volfile over rdma is an overkill and would not be required.</div><div>RDMA should be kept only for IO operations.</div><div><br></div><div>We should just remove it from the docs.</div><div><br></div><div>Thanks,</div><div>Raghavendra Talur</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Thanks,<span><font color="#888888"><br>
--<br>
Prasanna<br>
</font></span></blockquote></div><br></div></div>
</blockquote></div><br></div></div>