[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1279950907.4655.0.camel@localhost>
Date: Sat, 24 Jul 2010 08:55:06 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: Jens Axboe <axboe@...nel.dk>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCHv4 10/14] writeback: move bdi threads exiting logic to
the forker thread
On Fri, 2010-07-23 at 12:23 -0400, Christoph Hellwig wrote:
> Looks good,
>
> Reviewed-by: Christoph Hellwig <hch@....de>
>
> Maybe bdi_forker_thread can be cleaned up a bit more by introducing a
>
> enum {
> NO_ACTION,
> START_THREAD,
> KILL_THREAD,
> } action;
>
> and then do a switch based on it later?
Just did this. May be it became a bit nicer, not sure. Matter of taste.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists