<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/protocol, branch v2.0.3</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>build warning fixes</title>
<updated>2009-06-30T23:33:45+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-06-30T17:48:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=f6f1b35de108e089dbd7fbadf3632bc9dff992f5'/>
<id>f6f1b35de108e089dbd7fbadf3632bc9dff992f5</id>
<content type='text'>
integer typecast warnings fixed

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>
integer typecast warnings fixed

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>client_xattrop: use dict_allocate_and_serialize during serializing xattr</title>
<updated>2009-06-30T22:24:54+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@zresearch.com</email>
</author>
<published>2009-06-30T00:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=fccb91cba86a8219191d7f241f4c6a722d512b4e'/>
<id>fccb91cba86a8219191d7f241f4c6a722d512b4e</id>
<content type='text'>
- though the previous commit fixes bug #29, this patch fixes bugs
    arising in similar situations where xattrop is initiated by
    xlators other than afr.

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>
- though the previous commit fixes bug #29, this patch fixes bugs
    arising in similar situations where xattrop is initiated by
    xlators other than afr.

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>client: Replace saved_fds dict with list</title>
<updated>2009-06-30T21:36:27+00:00</updated>
<author>
<name>Shehjar Tikoo</name>
<email>shehjart@gluster.com</email>
</author>
<published>2009-06-15T13:05:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=c1f2287c58e7101104756ac0ab416d989cc6b754'/>
<id>c1f2287c58e7101104756ac0ab416d989cc6b754</id>
<content type='text'>
Thhie change removes a huge inefficiency in file open
path where every open resulted in dictionary operations
in order to let the client maintain a list of fd_t's being
used over a particular client context.

Resolves: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=16

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>
Thhie change removes a huge inefficiency in file open
path where every open resulted in dictionary operations
in order to let the client maintain a list of fd_t's being
used over a particular client context.

Resolves: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=16

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libglusterfs: Turn fd-table O(1)</title>
<updated>2009-06-30T21:36:27+00:00</updated>
<author>
<name>Shehjar Tikoo</name>
<email>shehjart@gluster.com</email>
</author>
<published>2009-06-15T13:05:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=abfd8436df46ca46de9766d17445e2a0cc1da590'/>
<id>abfd8436df46ca46de9766d17445e2a0cc1da590</id>
<content type='text'>
This commit reduces CPU usage of gf_fd_unused_get drastically by
making it O(1) instead of O(n).

Related to: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=16

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>
This commit reduces CPU usage of gf_fd_unused_get drastically by
making it O(1) instead of O(n).

Related to: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=16

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some trivial typos.</title>
<updated>2009-06-29T17:15:13+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>idadesub@users.sourceforge.net</email>
</author>
<published>2009-06-26T13:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=de622fb24f1295f19d7023cf903e84f663d89637'/>
<id>de622fb24f1295f19d7023cf903e84f663d89637</id>
<content type='text'>
I noticed that there were some minor spelling mistakes/typos in some
of the source files. This patch fixes the ones I've found.

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>
I noticed that there were some minor spelling mistakes/typos in some
of the source files. This patch fixes the ones I've found.

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>version check between client/server made more specific to protocol only.</title>
<updated>2009-06-29T16:59:12+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-06-25T16:11:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=72e83f9b52b5ed4bbeed1cc1163dc8392ccf6b05'/>
<id>72e83f9b52b5ed4bbeed1cc1163dc8392ccf6b05</id>
<content type='text'>
This patch is a step towards giving compatibility between the versions of
GlusterFS. Now onwards, the protocol-version won't depend on release
versions. In general, multiple glusterfs versions can have common
protocol-version.

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>
This patch is a step towards giving compatibility between the versions of
GlusterFS. Now onwards, the protocol-version won't depend on release
versions. In general, multiple glusterfs versions can have common
protocol-version.

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>server-protocol: interpret the 'op' value properly when a packet is received.</title>
<updated>2009-06-23T19:38:24+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-06-23T13:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=992130efe4d74dd0b69b8e899c620e5dd4786856'/>
<id>992130efe4d74dd0b69b8e899c620e5dd4786856</id>
<content type='text'>
Ref: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=35

The check done earlier was not handling the case when a 'op' is == MAX_VALUE (which
is not defined), and used to skip to the next array (like gf_mops[MAX] == gf_cbks[0])

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>
Ref: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=35

The check done earlier was not handling the case when a 'op' is == MAX_VALUE (which
is not defined), and used to skip to the next array (like gf_mops[MAX] == gf_cbks[0])

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>check if the 'key' is the volume file name itself.</title>
<updated>2009-06-23T19:33:47+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-06-23T10:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=bad7fdb8e15e65f31c764f4feb0e094c11428ca4'/>
<id>bad7fdb8e15e65f31c764f4feb0e094c11428ca4</id>
<content type='text'>
With this patch, one can fetch any volumefile which is not pre-defined in
volume file with 'option' in server protocol volume, instead clients can
fetch the volume files based on the key name itself [From the confdir only]

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>
With this patch, one can fetch any volumefile which is not pre-defined in
volume file with 'option' in server protocol volume, instead clients can
fetch the volume files based on the key name itself [From the confdir only]

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>server-helpers: cleanup connection only if there are no active transports.</title>
<updated>2009-06-08T13:47:40+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@zresearch.com</email>
</author>
<published>2009-06-03T00:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=60341b82ba484ab96f476fb782aa431b0c9b5f97'/>
<id>60341b82ba484ab96f476fb782aa431b0c9b5f97</id>
<content type='text'>
- thanks to Ioannis Aslanidis &lt;iaslanidis@flumotion.com&gt; for reporting.
  - breakup the server_connection_cleanup into smaller procedures.
  - do following operations in a single atomic operation.
      1. conn-&gt;active_transports--
      2. collecting pointer to lock table and all fds if there are no active transports
    this will avoid any race conditions.

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>
- thanks to Ioannis Aslanidis &lt;iaslanidis@flumotion.com&gt; for reporting.
  - breakup the server_connection_cleanup into smaller procedures.
  - do following operations in a single atomic operation.
      1. conn-&gt;active_transports--
      2. collecting pointer to lock table and all fds if there are no active transports
    this will avoid any race conditions.

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>client-protocol: Fix memory corruption in client_lookup</title>
<updated>2009-05-16T11:10:32+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@zresearch.com</email>
</author>
<published>2009-05-15T10:56:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=49523c834f075007352d07bf09463af9499b59f5'/>
<id>49523c834f075007352d07bf09463af9499b59f5</id>
<content type='text'>
- memory corruption was due to new members being added between allocation
    of buffer for serializing xattr_req dictionary and dict_serialize of
    xattr_req.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- memory corruption was due to new members being added between allocation
    of buffer for serializing xattr_req dictionary and dict_serialize of
    xattr_req.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
