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 11:54:31 -0400 Message-ID: <20110719155431.GA5631@infradead.org> References: <1309304616-8657-1-git-send-email-curtw@google.com> <20110629005422.GQ32466@dastard> <20110629081155.GA5558@infradead.org> <20110629180010.GB32236@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 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 Wed, Jun 29, 2011 at 02:30:17PM -0700, Curt Wohlgemuth wrote: > I can definitely see how tagging with the start of sync would be > helpful; also how going from three to two passes seems like a > no-brainer. > > But what's the real point of doing even two passes -- one SYNC_NONE > followed by one SYNC_ALL? Is it try to get through as many inodes as > possible before we potentially lock up by waiting on an inode on an > unavailable device? Yes. Or at least that's the idea, I'd love to see an actual prove for it.