From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] writeback: Don't wait for completion in writeback_inodes_sb_nr Date: Tue, 19 Jul 2011 12:53:45 -0400 Message-ID: <20110719165345.GB11540@infradead.org> References: <20110629191518.GA23196@quack.suse.cz> <20110711170042.GE5482@quack.suse.cz> <20110711194835.GI5482@quack.suse.cz> <20110711201157.GA21460@infradead.org> <20110712103453.GC31226@quack.suse.cz> <20110712104132.GA14189@infradead.org> <20110712223715.GC13656@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kara , Christoph Hellwig , Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, fengguang.wu@intel.com To: Curt Wohlgemuth Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Jul 14, 2011 at 09:29:34AM -0700, Curt Wohlgemuth wrote: > Your patch looks good to me, in that it does hit all the bdevs with > both WB_SYNC_NONE and SYNC_ALL. However, I still say that the call to > wakeup_flusher_threads() in sys_sync() is superfluous, at least as > long as writeback_inodes_sb() waits for completion of the work item > that it enqueues. Commit 3beab0b42413e83a7907db7176b54c840fc75a81 "sys_sync(): fix 16% performance regression in ffsb create_4k test" suggests we need the wakeup_flusher_threads. We might be able to get rid of the writeback_inodes_sb call if we're lucky.