<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/protocol/server, branch v2.0.5</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>server: don't check for 'loc-&gt;parent' in entrylk and inodelk calls</title>
<updated>2009-07-17T21:05:32+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-07-17T14:13:37+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=215b62f1db24bc7ff55d224046e343401d78c38b'/>
<id>215b62f1db24bc7ff55d224046e343401d78c38b</id>
<content type='text'>
the lock operation on entry or inode is going to happen on only one
inode, and it doesn't need dentry (with info on parent) for the
lock operation to complete. Hence, in server_{inode,entry}lk() calls
after server_loc_fill, we -should not- be checking for parent inode.

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

BUG: 112 (parallel deletion of files mounted by different clients on the same back-end hangs and/or does not completely delete)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=112
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the lock operation on entry or inode is going to happen on only one
inode, and it doesn't need dentry (with info on parent) for the
lock operation to complete. Hence, in server_{inode,entry}lk() calls
after server_loc_fill, we -should not- be checking for parent inode.

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

BUG: 112 (parallel deletion of files mounted by different clients on the same back-end hangs and/or does not completely delete)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=112
</pre>
</div>
</content>
</entry>
<entry>
<title>protocol/server: use translated flags in protocol/server open and create fops</title>
<updated>2009-07-08T02:32:19+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2009-07-07T20:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=c392a1e90c6504967da7dc3f4fce5c1009e0034f'/>
<id>c392a1e90c6504967da7dc3f4fce5c1009e0034f</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>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://dev.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>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://dev.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://dev.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://dev.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://dev.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>transport shortcut b/w client and server</title>
<updated>2009-05-06T19:54:41+00:00</updated>
<author>
<name>Anand V. Avati</name>
<email>avati@amp.gluster.com</email>
</author>
<published>2009-05-06T19:54:41+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=f9f5519b66a25651eb03de577f68d481abdd4c40'/>
<id>f9f5519b66a25651eb03de577f68d481abdd4c40</id>
<content type='text'>
This patch makes the server pass back the transport pointer of the client. If the UUID matches, the client makes the local transport 'shortcut' with the remote transport (pointer received from server)

The shortcut simulates a socket queue. Instead of serialized messages going over the network and getting queued in the tcp socket queue, the messages get queued in a transport specific queue picked by a polling thread.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch makes the server pass back the transport pointer of the client. If the UUID matches, the client makes the local transport 'shortcut' with the remote transport (pointer received from server)

The shortcut simulates a socket queue. Instead of serialized messages going over the network and getting queued in the tcp socket queue, the messages get queued in a transport specific queue picked by a polling thread.
</pre>
</div>
</content>
</entry>
<entry>
<title>bug fix in server protocol segfault when the volume file key is NULL</title>
<updated>2009-04-30T11:55:02+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-04-29T15:51:41+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=ce6fa580af849b03c4641baf77bf07c590be934a'/>
<id>ce6fa580af849b03c4641baf77bf07c590be934a</id>
<content type='text'>
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>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>protocol/server indentation fixes</title>
<updated>2009-04-28T14:14:00+00:00</updated>
<author>
<name>Anand V. Avati</name>
<email>avati@amp.gluster.com</email>
</author>
<published>2009-04-28T13:59:50+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=f827d1536635c53dbee27ade459f1e207c1115e8'/>
<id>f827d1536635c53dbee27ade459f1e207c1115e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
