<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/cluster/afr/src/afr-self-heal-common.c, branch 2.0.0</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>Check return value of afr_sh_select_source.</title>
<updated>2009-04-20T12:31:24+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-04-20T10:54:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=82394d484803e02e28441bc0b988efaaff60dd94'/>
<id>82394d484803e02e28441bc0b988efaaff60dd94</id>
<content type='text'>
If select_source returns -1, abort self-heal.

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>
If select_source returns -1, abort self-heal.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor fix in afr_sh_build_pending_matrix.</title>
<updated>2009-04-20T10:51:32+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-04-20T10:38:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=2f5ee29248f4eafcd1c2f5cc31432d22739349d0'/>
<id>2f5ee29248f4eafcd1c2f5cc31432d22739349d0</id>
<content type='text'>
Remove incorrect check for xattr[i] being NULL.

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>
Remove incorrect check for xattr[i] being NULL.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix two memory leaks in afr self heal code.</title>
<updated>2009-04-17T12:44:39+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-04-17T12:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=7b1beca0a3b60a8b9347a3122d77aea081ccb773'/>
<id>7b1beca0a3b60a8b9347a3122d77aea081ccb773</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>Changed xattr format of afr changelog to support adding and removing of subvolumes while keeping existing data.</title>
<updated>2009-04-16T09:11:41+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-04-14T15:15:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=f7902b7072015c9c20f47e999af85c923f202d33'/>
<id>f7902b7072015c9c20f47e999af85c923f202d33</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>Compulsorily do self heal if file sizes differ.</title>
<updated>2009-04-09T13:27:08+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-04-09T10:54:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=fb034ba3036fadc7cf35edc5cae7481149a67ca0'/>
<id>fb034ba3036fadc7cf35edc5cae7481149a67ca0</id>
<content type='text'>
If file sizes differ, then compulsorily do self-heal. If no 'wise'
sources are found, then pick a 'fool' with the biggest file size.
If even 'fools' aren't found, pick the 'innocent' source with the
biggest file size.

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>
If file sizes differ, then compulsorily do self-heal. If no 'wise'
sources are found, then pick a 'fool' with the biggest file size.
If even 'fools' aren't found, pick the 'innocent' source with the
biggest file size.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle files which have no pending xattrs at all.</title>
<updated>2009-04-09T13:27:05+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-04-09T10:53:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=bfbcde78924fc5847b31ae56fe8d14ea52b60dfd'/>
<id>bfbcde78924fc5847b31ae56fe8d14ea52b60dfd</id>
<content type='text'>
If a pending xattr key is non-existent on a file (call such
files 'ignorant'), make all other non-ignorant subvolumes point
towards the ignorant one.

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>
If a pending xattr key is non-existent on a file (call such
files 'ignorant'), make all other non-ignorant subvolumes point
towards the ignorant one.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Erase xattr during self-heal based on original dict.</title>
<updated>2009-04-09T13:27:01+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-04-09T10:53:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=ec35b79f746d8a9451d7a3b9894025fdad7382f4'/>
<id>ec35b79f746d8a9451d7a3b9894025fdad7382f4</id>
<content type='text'>
Decrement xattr during self-heal based on the original dict instead
of pending_matrix, as the pending_matrix might have been
altered later.

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>
Decrement xattr during self-heal based on the original dict instead
of pending_matrix, as the pending_matrix might have been
altered later.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix in return value of afr_sh_mark_sources</title>
<updated>2009-04-06T16:34:48+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-04-06T12:21:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=258fec70ba2cc588f500f3e3bc16c99af212b4c9'/>
<id>258fec70ba2cc588f500f3e3bc16c99af212b4c9</id>
<content type='text'>
afr_sh_mark_sources now returns:
  -1   if two wise subvols conflict (split-brain)
   0   if all subvols are innocent (no self-heal needed)
  &gt;0   if sources found

Also, changes to callers of afr_sh_mark_sources to handle return
value properly.

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>
afr_sh_mark_sources now returns:
  -1   if two wise subvols conflict (split-brain)
   0   if all subvols are innocent (no self-heal needed)
  &gt;0   if sources found

Also, changes to callers of afr_sh_mark_sources to handle return
value properly.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Made self heal logic more precise.</title>
<updated>2009-03-24T16:23:19+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-03-24T12:44:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=6e8017479fd9997ae47e7c8cbb74247d7e2b4fd0'/>
<id>6e8017479fd9997ae47e7c8cbb74247d7e2b4fd0</id>
<content type='text'>
Discard earlier patch sent for the same error. This patch fixes
it more comprehensively.

This solves the spurious split-brain seen by many users.

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>
Discard earlier patch sent for the same error. This patch fixes
it more comprehensively.

This solves the spurious split-brain seen by many users.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add extra 'volume' parameter to inodelk/entrylk calls</title>
<updated>2009-03-12T10:59:45+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@zresearch.com</email>
</author>
<published>2009-03-12T10:51:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=7af8d8edbd8554235348e0f54348edf222c0b46e'/>
<id>7af8d8edbd8554235348e0f54348edf222c0b46e</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>
</feed>
