From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id 82CB96B0022 for ; Wed, 4 May 2011 07:08:57 -0400 (EDT) Date: Wed, 4 May 2011 07:08:49 -0400 From: Christoph Hellwig Subject: Re: [PATCH 2/2] writeback: elevate queue_io() into wb_writeback() Message-ID: <20110504110849.GC4646@infradead.org> References: <20110426144218.GA14862@localhost> <20110426144402.GA15166@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110426144402.GA15166@localhost> Sender: owner-linux-mm@kvack.org List-ID: To: Wu Fengguang Cc: Andrew Morton , Christoph Hellwig , Jan Kara , Mel Gorman , Dave Chinner , Trond Myklebust , Itaru Kitayama , Minchan Kim , LKML , "linux-fsdevel@vger.kernel.org" , Linux Memory Management List > 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. -- 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