gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] debugging syntasks


From: Anand Avati
Subject: Re: [Gluster-devel] debugging syntasks
Date: Sat, 4 May 2013 12:03:18 -0700


On Sat, May 4, 2013 at 4:56 AM, Jeff Darcy <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]