If you can reproduce it, can you put a breakpoint when error is positive and inspect the stack in glusterfs?<div><br></div><div>Avati<br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 10:33 PM, Emmanuel Dreyfus <span dir="ltr">&lt;<a href="mailto:manu@netbsd.org" target="_blank">manu@netbsd.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
FUSE usually returns negative errno, just like what the Linux kernel<br>
does internally. After my previous glusterfs upgrade (on branch<br>
release-3.3), I started getting occcasionaly positive ERSCH returned. I<br>
have not fully investigated so I cannot be definitively affirmative, but<br>
I think that error is produced by glusterfs.<br>
<br>
Does it makes sense? Is it a bug or a feature? What should I do with it?<br>
Ignore? Return -ERSCH?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Emmanuel Dreyfus<br>
<a href="http://hcpnet.free.fr/pubz" target="_blank">http://hcpnet.free.fr/pubz</a><br>
<a href="mailto:manu@netbsd.org">manu@netbsd.org</a><br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</font></span></blockquote></div><br></div>