<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div>Was able to recreate it. Thanks for the report. Will look into why this could possibly happen.<br></div><div>-Krutika</div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Emmanuel Dreyfus" <manu@netbsd.org><br><b>To: </b>"Emmanuel Dreyfus" <manu@netbsd.org><br><b>Cc: </b>"Gluster Devel" <gluster-devel@gluster.org><br><b>Sent: </b>Friday, November 28, 2014 4:00:01 PM<br><b>Subject: </b>Re: [Gluster-devel] spurious error in self-heald.t<br><div><br></div>Would such a workaround make sense?<br><div><br></div>diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/<br>afr-self-heald.c<br>index a341015..dd7ac1a 100644<br>--- a/xlators/cluster/afr/src/afr-self-heald.c<br>+++ b/xlators/cluster/afr/src/afr-self-heald.c<br>@@ -547,6 +579,11 @@ afr_shd_full_sweep (struct subvol_healer *healer, inode_t *inode)<br> entry->d_stat.ia_gfid);<br> <br> if (entry->d_stat.ia_type == IA_IFDIR) {<br>+ if (entry->inode->ia_type == IA_INVAL) {<br>+ inode_unref (entry->inode); <br>+ entry->inode = afr_shd_inode_find (this,<br>+ subvol, entry->d_stat.ia_gfid);<br>+ }<br> ret = afr_shd_full_sweep (healer, entry->inode);<br> if (ret)<br> break;<br>-- <br>Emmanuel Dreyfus<br>manu@netbsd.org<br>_______________________________________________<br>Gluster-devel mailing list<br>Gluster-devel@gluster.org<br>http://supercolony.gluster.org/mailman/listinfo/gluster-devel<br></blockquote><div><br></div></div></body></html>