From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 13F156B0011 for ; Wed, 4 May 2011 07:15:59 -0400 (EDT) Date: Wed, 4 May 2011 19:15:47 +0800 From: Wu Fengguang Subject: Re: [PATCH 2/2] writeback: elevate queue_io() into wb_writeback() Message-ID: <20110504111547.GA5441@localhost> References: <20110426144218.GA14862@localhost> <20110426144402.GA15166@localhost> <20110504110849.GC4646@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110504110849.GC4646@infradead.org> Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Hellwig Cc: Andrew Morton , Jan Kara , Mel Gorman , Dave Chinner , Trond Myklebust , Itaru Kitayama , Minchan Kim , LKML , "linux-fsdevel@vger.kernel.org" , Linux Memory Management List On Wed, May 04, 2011 at 07:08:49PM +0800, Christoph Hellwig wrote: > > return 1; > > } > > > > -void writeback_inodes_wb(struct bdi_writeback *wb, > > - struct writeback_control *wbc) > > +static void __writeback_inodes_wb(struct bdi_writeback *wb, > > + struct writeback_control *wbc) > > { > > int ret = 0; > > > > if (!wbc->wb_start) > > wbc->wb_start = jiffies; /* livelock avoidance */ > > This should move to writeback_inodes_wb and be unconditional as > wb_writeback already always initializes it. Never mind :) wbc->wb_start has been killed in a later patch named "writeback: avoid extra sync work at enqueue time". Thanks, Fengguang -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org