All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Raghavendra Talur <rtalur@redhat.com>
Cc: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>,
	Poornima Gurusiddaiah <pgurusid@redhat.com>,
	Vijay Bellur <vbellur@redhat.com>,
	Jeffrey Cody <jcody@redhat.com>,
	qemu-devel@nongnu.org, Prasanna Kalever <pkalever@redhat.com>,
	Rafi Kavungal Chundattu Parambil <rkavunga@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v19 3/5] block/gluster: remove rdma transport
Date: Mon, 18 Jul 2016 16:02:27 +0200	[thread overview]
Message-ID: <87vb03vybw.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <CAM5jxn_hE-RHOmtgyY13HL7bjgX3sCaMB8CqquWw2tnJ1Jvu8Q@mail.gmail.com> (Raghavendra Talur's message of "Mon, 18 Jul 2016 19:05:05 +0530")

Raghavendra Talur <rtalur@redhat.com> writes:

> On Mon, Jul 18, 2016 at 5:48 PM, Markus Armbruster <armbru@redhat.com>
> wrote:
>
>> Prasanna Kalever <pkalever@redhat.com> writes:
>>
>> > On Mon, Jul 18, 2016 at 2:23 PM, Markus Armbruster <armbru@redhat.com>
[...]
>> >> This is fine if gluster+rdma never actually worked.  I tried to find out
>> >> at https://github.com/gluster/glusterfs/blob/master/api/src/glfs.h.
>> >> Transport rdma is mentioned there.  Does it work?
>> >
>> > this is transport used for fetching the volume file from the nodes.
>> > Which is of type tcp previously and then now it also supports the unix
>> > transport.
>> >
>> > More response from gluster community
>> > @http://www.gluster.org/pipermail/gluster-devel/2016-July/050112.html
>>
>> Quote Raghavendra Talur's reply:
>>
>>     > My understanding is that @transport argumet in
>>     > glfs_set_volfile_server() is meant for specifying transport used in
>>     > fetching volfile server,
>>     >
>>
>>     Yes, @transport arg here is transport to use for fetching volfile.
>>
>>
>>     > IIRC which currently supports tcp and unix only...
>>     >
>>     Yes, this is correct too.
>>
>> Here, Raghavendra seems to confirm that only tcp and unix are supported.
>>
>>     >
>>     > The doc here
>>     > https://github.com/gluster/glusterfs/blob/master/api/src/glfs.h
>>     > +166 shows the rdma as well, which is something I cannot digest.
>>     >
>>     This is doc written with assumption that rdma would work too.
>>
>>
>>     >
>>     >
>>     > Can someone correct me ?
>>     >
>>     > Have we ever supported volfile fetch over rdma ?
>>     >
>>
>>     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.
>>
>> But here, it sounds like it might work anyway!
>>
>
> Prasanna, Rafi and I tested this. When rdma option is specified, gluster
> defaults to tcp silently.

Good to know.  Thanks!

>                           I do not like this behavior.

Understandable :)

>>     IMO, fetching volfile over rdma is an overkill and would not be
>> required.
>>     RDMA should be kept only for IO operations.
>>
>>     We should just remove it from the docs.
>>
>> Don't misunderstand me, I'm very much in favor of removing the rdma
>> transport here.  All I'm trying to do is figure out what backward
>> compatibility ramifications that might have.
>>
>> If protocol gluster+rdma has never actually worked, we can safely remove
>> it.
>>
>> But if it happens to work even though it isn't really supported, the
>> situation is complicated.  Dropping it might break working setups.
>> Could perhaps be justified by "your setup works, but it's unsupported,
>> and I'm forcing you to switch to a supported setup now, before you come
>> to grief."
>>
>> If it used to work but no more, or if it will stop working, it's
>> differently complicated.  Dropping it would still break working setups,
>> but they'd be bound to break anyway.
>>
>> Thus, my questions: does protocol gluster+rdma work before your patch?
>> If no, did it ever work?  "I don't know" is an acceptable answer to the
>> latter question, but not so much to the former, because that one is
>> easily testable.
>>
>
> Yes, it appeared to user that the option worked and removing the option
> would break such setups. I agree with Markus that removing the option right
> away would hurt users and we should follow a deprecation strategy for
> backward compatibility.

Since Gluster maps rdma to tcp, I think the following should do:

* If the user asks for file=gluster+rdma:..., print a warning and use
  file=gluster+tcp:... instead.  Deprecate this usage.

* Don't add transport 'rdma' to the QAPI schema.

What do you think?

[...]

  parent reply	other threads:[~2016-07-18 14:02 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-15 15:00 [Qemu-devel] [PATCH v19 0/5] block/gluster: add support for multiple gluster servers Prasanna Kumar Kalever
2016-07-15 15:00 ` [Qemu-devel] [PATCH v19 1/5] block/gluster: rename [server, volname, image] -> [host, volume, path] Prasanna Kumar Kalever
2016-07-15 15:00 ` [Qemu-devel] [PATCH v19 2/5] block/gluster: code cleanup Prasanna Kumar Kalever
2016-07-15 15:00 ` [Qemu-devel] [PATCH v19 3/5] block/gluster: remove rdma transport Prasanna Kumar Kalever
2016-07-18  8:53   ` Markus Armbruster
2016-07-18 11:12     ` Prasanna Kalever
2016-07-18 12:18       ` Markus Armbruster
2016-07-18 13:35         ` Raghavendra Talur
2016-07-18 13:50           ` Prasanna Kalever
2016-07-18 14:02           ` Markus Armbruster [this message]
2016-07-15 15:00 ` [Qemu-devel] [PATCH v19 4/5] block/gluster: using new qapi schema Prasanna Kumar Kalever
2016-07-18  9:29   ` Markus Armbruster
2016-07-18 11:29     ` Prasanna Kalever
2016-07-18 13:11       ` Markus Armbruster
2016-07-18 18:28         ` Prasanna Kalever
2016-07-19 11:12           ` Markus Armbruster
2016-07-19 12:57             ` Eric Blake
2016-07-19 14:29               ` Markus Armbruster
2016-07-15 15:00 ` [Qemu-devel] [PATCH v19 5/5] block/gluster: add support for multiple gluster servers Prasanna Kumar Kalever
2016-07-18 10:17   ` Markus Armbruster
2016-07-18 11:51     ` Prasanna Kalever
2016-07-18 14:39       ` Markus Armbruster
2016-07-18 19:02         ` Prasanna Kalever

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vb03vybw.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=jcody@redhat.com \
    --cc=pgurusid@redhat.com \
    --cc=pkalever@redhat.com \
    --cc=prasanna.kalever@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rkavunga@redhat.com \
    --cc=rtalur@redhat.com \
    --cc=vbellur@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.