<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/cluster, branch v3.0.2rc1</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>dht: initialize layout type</title>
<updated>2010-01-23T19:07:05+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2010-01-23T13:26:39+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=da505a63c12ea9be0e783711547fe7bbfecf05ea'/>
<id>da505a63c12ea9be0e783711547fe7bbfecf05ea</id>
<content type='text'>
Instead of relying on CALLOC's zero initialization which happens
to be the value of DHT_HASH_TYPE_DM, explicitly set the value

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

BUG: 523 (Hash type is not initialized in dht_layout_new)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=523
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of relying on CALLOC's zero initialization which happens
to be the value of DHT_HASH_TYPE_DM, explicitly set the value

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

BUG: 523 (Hash type is not initialized in dht_layout_new)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=523
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: Send the struct flock returned by the server to the user.</title>
<updated>2010-01-21T14:40:59+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2010-01-21T07:28:59+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=27399cc92d62a168f768c490fc19c935e7e513f1'/>
<id>27399cc92d62a168f768c490fc19c935e7e513f1</id>
<content type='text'>
Signed-off-by: Vikas Gorur &lt;vikas@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 521 (SPECFS validation fails over distribute + replicate)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=521
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vikas Gorur &lt;vikas@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 521 (SPECFS validation fails over distribute + replicate)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=521
</pre>
</div>
</content>
</entry>
<entry>
<title>stripe entry self heal</title>
<updated>2010-01-19T13:26:02+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2010-01-12T13:21:59+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=4951f4dcc1b795b42fa845b6a89a9902af5b6586'/>
<id>4951f4dcc1b795b42fa845b6a89a9902af5b6586</id>
<content type='text'>
Create the entry (either regular file or directory), when its
missing in some of the subvolumes and available on some.

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

BUG: 535 (stripe entry self-heal..)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=535
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create the entry (either regular file or directory), when its
missing in some of the subvolumes and available on some.

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

BUG: 535 (stripe entry self-heal..)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=535
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: Pick a source for metadata self-heal even if all nodes are innocent.</title>
<updated>2010-01-15T07:23:49+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2010-01-12T04:14:25+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=5522f6eaef99616efe01b8f4688be0486e511b12'/>
<id>5522f6eaef99616efe01b8f4688be0486e511b12</id>
<content type='text'>
If metadata changelog has been disabled, all subvolumes
will be innocent. In that case, simply pick the subvolume
on which the file has the lowest uid as the source and
sync other subvolumes to it.

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

BUG: 451 (metadata self-heal does not a pick a source if mode/times have been changed at the backend)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=451
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If metadata changelog has been disabled, all subvolumes
will be innocent. In that case, simply pick the subvolume
on which the file has the lowest uid as the source and
sync other subvolumes to it.

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

BUG: 451 (metadata self-heal does not a pick a source if mode/times have been changed at the backend)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=451
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/unify: don't call xl_init_tree on namespace node.</title>
<updated>2010-01-15T07:23:42+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2010-01-06T20:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=a1965b73da712644d1536d0dac3212041de5eb0c'/>
<id>a1965b73da712644d1536d0dac3212041de5eb0c</id>
<content type='text'>
- just before xl_init_tree call on namespace, unify node is set as parent of
    namespace node and since xl-&gt;ready of unify node is set only after return
    from init call, calling xl_init_tree on namespace node will result in
    execution of init of unify node for the second time. This results in
    following bugs:

    * since during second execution, parent of namespace node is unify, init of
      unify xlator fails.
    * even if init did not fail, re-execution of init in itself is bad, since it
      results in memory leaks etc. Worse, it can result in infinite recursive
      calls into init of unify node.

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

BUG: 518 (unify does not start)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=518
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- just before xl_init_tree call on namespace, unify node is set as parent of
    namespace node and since xl-&gt;ready of unify node is set only after return
    from init call, calling xl_init_tree on namespace node will result in
    execution of init of unify node for the second time. This results in
    following bugs:

    * since during second execution, parent of namespace node is unify, init of
      unify xlator fails.
    * even if init did not fail, re-execution of init in itself is bad, since it
      results in memory leaks etc. Worse, it can result in infinite recursive
      calls into init of unify node.

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

BUG: 518 (unify does not start)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=518
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: Use dict_ref instead of dict_copy_with_ref.</title>
<updated>2010-01-08T11:51:18+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2010-01-07T05:17:17+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=3adb7082c63d28950aca21718be84b65806e5d6e'/>
<id>3adb7082c63d28950aca21718be84b65806e5d6e</id>
<content type='text'>
Signed-off-by: Vikas Gorur &lt;vikas@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

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

BUG: 509 (Crash in afr_local_cleanup ())
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=509
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: Allocate diff algorithm loop_state structures only once.</title>
<updated>2009-12-28T12:39:24+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-12-28T06:07:48+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=3bcf8d4ce67654e2b5648ae11aaeb2e49dbcfa95'/>
<id>3bcf8d4ce67654e2b5648ae11aaeb2e49dbcfa95</id>
<content type='text'>
Instead of CALLOC'ing a loop_state structure at the beginning
of every loop, keep a table of allocated structures and reuse
them.

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

BUG: 320 (Improve self-heal performance)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=320
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of CALLOC'ing a loop_state structure at the beginning
of every loop, keep a table of allocated structures and reuse
them.

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

BUG: 320 (Improve self-heal performance)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=320
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: Report number of blocks healed during diff self-heal.</title>
<updated>2009-12-28T12:39:20+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-12-24T05:30:40+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=9658e13bd91849f75d968376aae5b937aabec512'/>
<id>9658e13bd91849f75d968376aae5b937aabec512</id>
<content type='text'>
Signed-off-by: Vikas Gorur &lt;vikas@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 320 (Improve self-heal performance)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=320
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vikas Gorur &lt;vikas@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 320 (Improve self-heal performance)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=320
</pre>
</div>
</content>
</entry>
<entry>
<title>properly ref/unref fd in stripe_opendir_cbk</title>
<updated>2009-12-22T10:42:33+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-12-22T01:53:33+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=6917011ee224fc41f6ca46a674d9c2df4e72913a'/>
<id>6917011ee224fc41f6ca46a674d9c2df4e72913a</id>
<content type='text'>
fixes the crash due to dereferencing NULL fd pointer

Signed-off-by: Amar Tumballi &lt;amar@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 497 (Client crashes in fuse_fd_cbk while running ltp tests)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=497
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes the crash due to dereferencing NULL fd pointer

Signed-off-by: Amar Tumballi &lt;amar@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 497 (Client crashes in fuse_fd_cbk while running ltp tests)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=497
</pre>
</div>
</content>
</entry>
<entry>
<title>distribute: Dont dereference sbuf on failed readlink_cbk</title>
<updated>2009-12-18T16:41:33+00:00</updated>
<author>
<name>Shehjar Tikoo</name>
<email>shehjart@gluster.com</email>
</author>
<published>2009-12-18T07:06:27+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=4921bc8c0fd045fdb82eb21eb358d378cdcad976'/>
<id>4921bc8c0fd045fdb82eb21eb358d378cdcad976</id>
<content type='text'>
This fixes a crash that was caused due to a NULL pointer deref
because a NULL sbuf is returned if the readlink fop fails.

Signed-off-by: Shehjar Tikoo &lt;shehjart@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 492 (distribute crashes in readlink)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=492
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a crash that was caused due to a NULL pointer deref
because a NULL sbuf is returned if the readlink fop fails.

Signed-off-by: Shehjar Tikoo &lt;shehjart@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 492 (distribute crashes in readlink)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=492
</pre>
</div>
</content>
</entry>
</feed>
