<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/cluster/afr/src, branch v2.0.8</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>cluster/afr: Don't try to self-heal if there are locks held</title>
<updated>2009-10-30T11:30:59+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-10-30T05:58:01+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=e4548d105538182ee3e2be72d9ceb11df18610fd'/>
<id>e4548d105538182ee3e2be72d9ceb11df18610fd</id>
<content type='text'>
If the inodelk_count or entrylk_count is positive on a
file/directory, don't try to do self-heal on it.

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

BUG: 326 ([2.0.8rc9] Spurious self-heal)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=326
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the inodelk_count or entrylk_count is positive on a
file/directory, don't try to do self-heal on it.

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

BUG: 326 ([2.0.8rc9] Spurious self-heal)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=326
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: Prevent spurious entry self-heal.</title>
<updated>2009-10-23T12:54:57+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-10-23T06:45:23+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=ef9a28bb2dd57f06c8c4ff75615aba894f2d0bf7'/>
<id>ef9a28bb2dd57f06c8c4ff75615aba894f2d0bf7</id>
<content type='text'>
If the initial lookup shows that 'pending' is positive, then
self-heal will hold a lock and do a lookup again. This lookup
might show that 'pending' is zero everywhere. However, entry
self-heal used to consider this as a case of 'no sources' and
try to merge the directories. This patch checks for that case
and does not do the merge.

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

BUG: 326 ([2.0.8rc9] Spurious self-heal)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=326
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the initial lookup shows that 'pending' is positive, then
self-heal will hold a lock and do a lookup again. This lookup
might show that 'pending' is zero everywhere. However, entry
self-heal used to consider this as a case of 'no sources' and
try to merge the directories. This patch checks for that case
and does not do the merge.

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

BUG: 326 ([2.0.8rc9] Spurious self-heal)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=326
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: Attempt to set fd ctx in create only if the call has succeeded.</title>
<updated>2009-10-20T07:28:12+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-10-20T01:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=121a781c1dd2d46f01bc6e9e30e1efc6b676a07a'/>
<id>121a781c1dd2d46f01bc6e9e30e1efc6b676a07a</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 325 (crash in afr_fd_ctx_set)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=325
</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: 325 (crash in afr_fd_ctx_set)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=325
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: Unlock only those paths which have been locked during rename.</title>
<updated>2009-10-16T12:03:40+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-10-16T06:27:36+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=d3722f7546bdcfeed7cf3c2745c1bfafa7fa79a4'/>
<id>d3722f7546bdcfeed7cf3c2745c1bfafa7fa79a4</id>
<content type='text'>
For ENTRY_RENAME_TRANSACTIONs, keep track separately whether the
lower_path and the higher_path have been locked, and unlock only
those which have been.

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>
For ENTRY_RENAME_TRANSACTIONs, keep track separately whether the
lower_path and the higher_path have been locked, and unlock only
those which have been.

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>cluster/afr: Hold lock on all names under "victim" in rmdir</title>
<updated>2009-10-16T10:12:59+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-10-16T03:10:08+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=4e2e497479a37ea659163ec8a84b8876b61ee1f3'/>
<id>4e2e497479a37ea659163ec8a84b8876b61ee1f3</id>
<content type='text'>
When an rmdir is being done, hold a lock on all names under it, so
that new entries cannot be created while the rmdir is in progress.

Without this lock, rmdir and create operations under the
victim directory race with each other leading to
inconsistencies among the subvolumes.

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>
When an rmdir is being done, hold a lock on all names under it, so
that new entries cannot be created while the rmdir is in progress.

Without this lock, rmdir and create operations under the
victim directory race with each other leading to
inconsistencies among the subvolumes.

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>afr transaction: fix op_ret check during locking</title>
<updated>2009-10-13T13:23:14+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2009-10-13T07:32:27+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=52521b87a32d841d5d4c9492c0916d658dc99907'/>
<id>52521b87a32d841d5d4c9492c0916d658dc99907</id>
<content type='text'>
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>
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>prevent spurious unlocks from afr selfheal</title>
<updated>2009-10-13T12:46:55+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2009-10-13T06:42:50+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=f512ee469bd690f65e388f565b69e2395e43a4aa'/>
<id>f512ee469bd690f65e388f565b69e2395e43a4aa</id>
<content type='text'>
afr selfheal now remembers all the nodes on which locks were successfully
held and sends unlocks only to those nodes

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>
afr selfheal now remembers all the nodes on which locks were successfully
held and sends unlocks only to those nodes

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>afr transaction prevent spurious unlocks</title>
<updated>2009-10-13T12:46:52+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2009-10-13T06:27:22+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=92a5fd621db0949637bb37e698709271e13610df'/>
<id>92a5fd621db0949637bb37e698709271e13610df</id>
<content type='text'>
mark a subvol with held lock only if op_ret == 0

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>
mark a subvol with held lock only if op_ret == 0

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>cluster/afr: Hold second lock after first lock has been granted for rename transactions.</title>
<updated>2009-10-12T17:18:51+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@gluster.com</email>
</author>
<published>2009-10-12T07:01:41+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=fd441bca2a68ca93765f7a270cab1b7ffdf90799'/>
<id>fd441bca2a68ca93765f7a270cab1b7ffdf90799</id>
<content type='text'>
Hold the lock on the {higher_path} only after the lock on the
{lower_path} has been granted successfully.

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>
Hold the lock on the {higher_path} only after the lock on the
{lower_path} has been granted successfully.

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>replicate: fix missing frame in entry-self-heal</title>
<updated>2009-10-12T17:18:47+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2009-10-12T11:21:22+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=42e8f30a7c8e6fa7755aa058a2ef73542c7e8f0e'/>
<id>42e8f30a7c8e6fa7755aa058a2ef73542c7e8f0e</id>
<content type='text'>
when files on all backend nodes are missing, the logic in afr_sh_entry_erase_pending
is broken and results in missing lookup frame. this causes processes to enter into
uninterruptible sleep state.

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

BUG: 311 (missing frame (lookup) when entry-selfheal finds missing files in all backend nodes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=311
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when files on all backend nodes are missing, the logic in afr_sh_entry_erase_pending
is broken and results in missing lookup frame. this causes processes to enter into
uninterruptible sleep state.

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

BUG: 311 (missing frame (lookup) when entry-selfheal finds missing files in all backend nodes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=311
</pre>
</div>
</content>
</entry>
</feed>
