<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/transport/ib-verbs, branch v3.4.6beta1</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>structuring of protocol - 2</title>
<updated>2010-05-04T06:40:05+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2010-05-04T00:36:24+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=f75b76350747f5f58a4bbe704915c74979cc5ac3'/>
<id>f75b76350747f5f58a4bbe704915c74979cc5ac3</id>
<content type='text'>
* 'transports/' and 'auth/' moved to xlators/protocol/
* transport.{c,h}, authenticate.{c,h}, protocol.h moved to
    xlators/protocol/lib/src/

Signed-off-by: Amar Tumballi &lt;amar@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'transports/' and 'auth/' moved to xlators/protocol/
* transport.{c,h}, authenticate.{c,h}, protocol.h moved to
    xlators/protocol/lib/src/

Signed-off-by: Amar Tumballi &lt;amar@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
</pre>
</div>
</content>
</entry>
<entry>
<title>Memory accounting changes</title>
<updated>2010-04-23T13:32:52+00:00</updated>
<author>
<name>Vijay Bellur</name>
<email>vijay@gluster.com</email>
</author>
<published>2010-04-22T13:33:09+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=582de0677da4be19fc6f873625c58c45d069ab1c'/>
<id>582de0677da4be19fc6f873625c58c45d069ab1c</id>
<content type='text'>
Memory accounting Changes. Thanks to Vinayak Hegde and Csaba Henk for their
contributions.

Signed-off-by: Vijay Bellur &lt;vijay@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 329 (Replacing memory allocation functions with mem-type functions)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=329
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Memory accounting Changes. Thanks to Vinayak Hegde and Csaba Henk for their
contributions.

Signed-off-by: Vijay Bellur &lt;vijay@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 329 (Replacing memory allocation functions with mem-type functions)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=329
</pre>
</div>
</content>
</entry>
<entry>
<title>Hardcoded infiniband port is now handled dynamically by searching for active ports.</title>
<updated>2010-03-31T16:29:36+00:00</updated>
<author>
<name>Harshavardhana</name>
<email>harsha@gluster.com</email>
</author>
<published>2010-03-31T08:29:54+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=aa6028a600ccfea14d3f047402dfe157047cabdc'/>
<id>aa6028a600ccfea14d3f047402dfe157047cabdc</id>
<content type='text'>
* If user specifies a port then that port will be used regardless of which port is active.
* If user doesn't specify any port then any one of the active ports is used.

Signed-off-by: Harshavardhana &lt;harsha@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 793 (Infiniband port handling should be dynamic by picking up from active ports)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=793
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* If user specifies a port then that port will be used regardless of which port is active.
* If user doesn't specify any port then any one of the active ports is used.

Signed-off-by: Harshavardhana &lt;harsha@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 793 (Infiniband port handling should be dynamic by picking up from active ports)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=793
</pre>
</div>
</content>
</entry>
<entry>
<title>transport/ib-verbs: assign to qpreg before accessing it in __ib_verbs_lookup_peer.</title>
<updated>2009-11-19T10:57:45+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-11-18T15:07:22+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=717faf468fcac827d00c81c76ac53057c43e28fa'/>
<id>717faf468fcac827d00c81c76ac53057c43e28fa</id>
<content type='text'>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 381 (glusterfs crash in ib-verbs)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=381
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 381 (glusterfs crash in ib-verbs)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=381
</pre>
</div>
</content>
</entry>
<entry>
<title>transport/ib-verbs: fix race-condition resulting in freeing of transport while it was still being used.</title>
<updated>2009-11-16T08:41:36+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-11-13T16:08:15+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=0c7597a1339f1a6762505cfe7292202a0db196a6'/>
<id>0c7597a1339f1a6762505cfe7292202a0db196a6</id>
<content type='text'>
- while handling a failed work completion status, the transport is
    disconnected. But further down in the code, the transport is still
    used. There can be a possibility that transport might've been freed
    by the time control reaches this point. More detailed description of
    events leading to this situation can be found at
    http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=381

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 381 (glusterfs crash in ib-verbs)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=381
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- while handling a failed work completion status, the transport is
    disconnected. But further down in the code, the transport is still
    used. There can be a possibility that transport might've been freed
    by the time control reaches this point. More detailed description of
    events leading to this situation can be found at
    http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=381

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 381 (glusterfs crash in ib-verbs)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=381
</pre>
</div>
</content>
</entry>
<entry>
<title>transport/ib-verbs: synchronize ib_verbs_recv_completion_proc with ib_verbs_receive so that the former doesn't overwrite the pointer from which latter reads.</title>
<updated>2009-11-16T08:41:32+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-11-13T16:07:50+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=d67322fdfa27746f82fb6e37ffe57efde9bfa021'/>
<id>d67322fdfa27746f82fb6e37ffe57efde9bfa021</id>
<content type='text'>
- There can be a condition wherein,
    1. the thread executing ib_verbs_recv_completion_proc (thr 1) stores the
       buffer pointer and notifies the upper translators about a POLLIN event.
    2. the thread waiting for events on socket (thr 2) calls transport_receive,
       but in ib_verbs_receive it has not still read the data.
    3. thr 1 receives work completion event for another work request and
       overwrites the buffer pointer.
    4. thr 2 reads from the new pointer there by missing the data stored in
       buffer pointed by pointer which got overwritten.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 382 (Data can be lost before it is read in ib_verbs_receive.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=382
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- There can be a condition wherein,
    1. the thread executing ib_verbs_recv_completion_proc (thr 1) stores the
       buffer pointer and notifies the upper translators about a POLLIN event.
    2. the thread waiting for events on socket (thr 2) calls transport_receive,
       but in ib_verbs_receive it has not still read the data.
    3. thr 1 receives work completion event for another work request and
       overwrites the buffer pointer.
    4. thr 2 reads from the new pointer there by missing the data stored in
       buffer pointed by pointer which got overwritten.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 382 (Data can be lost before it is read in ib_verbs_receive.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=382
</pre>
</div>
</content>
</entry>
<entry>
<title>transport/name.c: refine the address resolution logic when listen-host is not specified.</title>
<updated>2009-11-03T14:48:58+00:00</updated>
<author>
<name>Corentin Chary</name>
<email>corentin.chary@gmail.com</email>
</author>
<published>2009-10-27T12:57:35+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=2bda225433762f78c09c2a751b321eb9d94c37c6'/>
<id>2bda225433762f78c09c2a751b321eb9d94c37c6</id>
<content type='text'>
- when listen-host is not specified and there are are no interfaces having
    adresses belonging to the address-family specified, listen at 0.0.0.0/::0.

  - this patch is necessary since with AI_ADDRCONFIG, getaddrinfo fails if there
    are no active interfaces for the address family specified and when
    listen-host is specified we still want the functionality provided with
    usage of AI_ADDRCONFIG.
Signed-off-by: Corentin Chary &lt;corentin.chary@gmail.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 339 (glusterfsd fails to start when there are no active interfaces having address in the address family configured.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=339
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- when listen-host is not specified and there are are no interfaces having
    adresses belonging to the address-family specified, listen at 0.0.0.0/::0.

  - this patch is necessary since with AI_ADDRCONFIG, getaddrinfo fails if there
    are no active interfaces for the address family specified and when
    listen-host is specified we still want the functionality provided with
    usage of AI_ADDRCONFIG.
Signed-off-by: Corentin Chary &lt;corentin.chary@gmail.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 339 (glusterfsd fails to start when there are no active interfaces having address in the address family configured.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=339
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed occurrences of Z Research to Gluster.</title>
<updated>2009-10-07T10:54:49+00:00</updated>
<author>
<name>Vijay Bellur</name>
<email>vijay@gluster.com</email>
</author>
<published>2009-10-05T23:59:13+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=0b1197defa255ee533e568c9534bc6a5b5aadc29'/>
<id>0b1197defa255ee533e568c9534bc6a5b5aadc29</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>transport/ib-verbs: initialize fini member of new-transports created during accepting client connections.</title>
<updated>2009-09-15T06:33:04+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-09-15T00:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=ad33df39dec4850c249c453822a99b3038b41389'/>
<id>ad33df39dec4850c249c453822a99b3038b41389</id>
<content type='text'>
- This bug used to cause a memory leak of 2 * sizeof(ib_verbs_private_t) for each new client connection.

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 259 (Memory leak on server side when there are large number of disconnections from clients)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=259
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- This bug used to cause a memory leak of 2 * sizeof(ib_verbs_private_t) for each new client connection.

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 259 (Memory leak on server side when there are large number of disconnections from clients)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=259
</pre>
</div>
</content>
</entry>
<entry>
<title>ib-verbs: handle failure of ibv_create_qp gracefully.</title>
<updated>2009-09-02T17:30:15+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-08-31T22:35:28+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=cf1005c9f650069a22d443dec32f33129431990a'/>
<id>cf1005c9f650069a22d443dec32f33129431990a</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 217 (crash in ib_verbs_create_qp)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=217
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 217 (crash in ib_verbs_create_qp)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=217
</pre>
</div>
</content>
</entry>
</feed>
