[Gluster-devel] debugging syntasks

Anand Avati anand.avati at gmail.com
Sat May 4 19:03:18 UTC 2013


On Sat, May 4, 2013 at 4:56 AM, Jeff Darcy <jdarcy at redhat.com> wrote:
>
> Is there any reasonable way to get such listings for *all* synctasks?
> That would probably be pretty handy.


The list head of all waiting synctasks can reached at ((struct syncenv
*)THIS->ctx->env)->waitq. And the list of all synctasks in the run queue at
((struct syncenv *)THIS->ctx->env)->runq. The synctasks currently executing
(not just enqueued in runq) will anyways be accessible in the native
pthread of syncproc itself.

Avati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20130504/3c546bbd/attachment-0001.html>


More information about the Gluster-devel mailing list