[Gluster-devel] spurious error in self-heald.t
Krutika Dhananjay
kdhananj at redhat.com
Mon Dec 1 09:00:46 UTC 2014
Was able to recreate it. Thanks for the report. Will look into why this could possibly happen.
-Krutika
----- Original Message -----
> From: "Emmanuel Dreyfus" <manu at netbsd.org>
> To: "Emmanuel Dreyfus" <manu at netbsd.org>
> Cc: "Gluster Devel" <gluster-devel at gluster.org>
> Sent: Friday, November 28, 2014 4:00:01 PM
> Subject: Re: [Gluster-devel] spurious error in self-heald.t
> Would such a workaround make sense?
> diff --git a/xlators/cluster/afr/src/afr-self-heald.c
> b/xlators/cluster/afr/src/
> afr-self-heald.c
> index a341015..dd7ac1a 100644
> --- a/xlators/cluster/afr/src/afr-self-heald.c
> +++ b/xlators/cluster/afr/src/afr-self-heald.c
> @@ -547,6 +579,11 @@ afr_shd_full_sweep (struct subvol_healer *healer,
> inode_t *inode)
> entry->d_stat.ia_gfid);
> if (entry->d_stat.ia_type == IA_IFDIR) {
> + if (entry->inode->ia_type == IA_INVAL) {
> + inode_unref (entry->inode);
> + entry->inode = afr_shd_inode_find (this,
> + subvol, entry->d_stat.ia_gfid);
> + }
> ret = afr_shd_full_sweep (healer, entry->inode);
> if (ret)
> break;
> --
> Emmanuel Dreyfus
> manu at netbsd.org
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20141201/b6f319b7/attachment.html>
More information about the Gluster-devel
mailing list