[PATCH 2/2] xfs: mark the xfs-alloc workqueue as high priority
Tejun Heo
tj at kernel.org
Tue Jan 13 14:46:33 CST 2015
Hello, Eric.
On Tue, Jan 13, 2015 at 02:29:53PM -0600, Eric Sandeen wrote:
> > Can you please also report the value of nr_running? That's what
> > regulates the kick off of new workers and rescuers.
>
> sorry about that, swapped nr_workers w/ nr_running in my brain:
>
> nr_running = {
> counter = 0
> },
So,
nr_workers == 15,
nr_idle == 0,
nr_running == 0,
That means one worker must be playing the role of manager by executing
manage_workers() whic his also responsible for kicking off the
rescuers if it fails to create new workers in a short period of time.
The manager is identifier as the holder of pool->manager_arb and while
a manager is trying to creat a worker, pool->mayday_timer must be
armed continuously firing off every MAYDAY_INTERVAL summoning rescuers
to the pool, which should be visible through the pool_pwq->mayday_node
corresponding to the stalled pool being queued on wq->maydays.
Can you post the full dump of the pool, wq and all kworkers?
Thanks.
--
tejun
More information about the xfs
mailing list