Re: [PATCH 6/9] writeback: allow sleepy exit of default writebacktask

From: Jan Kara
Date: Thu Aug 06 2009 - 14:56:13 EST


On Thu 06-08-09 09:03:26, Jens Axboe wrote:
> On Wed, Aug 05 2009, Jan Kara wrote:
> > On Thu 30-07-09 23:24:01, Jens Axboe wrote:
> > > Since we do lazy create of default writeback tasks for a bdi, we can
> > > allow sleepy exit if it has been completely idle for 5 minutes.
> > Maybe there should be a sysfs tunable to this?
>
> Not sure, and when in doubt I prefer not to do that. But we could easily
> add one, if people think it will be useful. What would the reason for
> turning it off be?
Well, I thought it might be useful mainly for debugging purposes, e.g. if
you want to watch the writeback thread and don't want it to be restarted
(as that changes it's pid etc.). I don't have a strong opinion on this, it
was just an idea.

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/