[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100718065613.GI23811@infradead.org>
Date: Sun, 18 Jul 2010 02:56:13 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Artem Bityutskiy <dedekind1@...il.com>
Cc: Jens Axboe <axboe@...nel.dk>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH 10/16] writeback: simplify bdi code a little
Looks correct, but I would do this slightly different. Add a new
bdi_writeback_start_thread helper, and then call it from the list
walk as long as there are bdis that need a thread. Only break
out of the loop once nothing needs to be done and then sleep.
--
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