From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754014Ab1GKUMF (ORCPT ); Mon, 11 Jul 2011 16:12:05 -0400 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:48014 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750870Ab1GKUME (ORCPT ); Mon, 11 Jul 2011 16:12:04 -0400 Date: Mon, 11 Jul 2011 16:11:57 -0400 From: Christoph Hellwig To: Jan Kara Cc: Curt Wohlgemuth , Christoph Hellwig , Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, fengguang.wu@intel.com Subject: Re: [PATCH] writeback: Don't wait for completion in writeback_inodes_sb_nr Message-ID: <20110711201157.GA21460@infradead.org> References: <20110629005422.GQ32466@dastard> <20110629081155.GA5558@infradead.org> <20110629165714.GF17590@quack.suse.cz> <20110629175534.GA32236@infradead.org> <20110629191518.GA23196@quack.suse.cz> <20110711170042.GE5482@quack.suse.cz> <20110711194835.GI5482@quack.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110711194835.GI5482@quack.suse.cz> User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 11, 2011 at 09:48:35PM +0200, Jan Kara wrote: > Well, they're not exactly cheap (journaling filesystems have to force > transaction commits and wait for them) but that does not really matter. > The real problem is that to wait for IO completion you need some list of > inodes you want to wait for and you can currently get such list only from > superblock. All block device inodes sit on blockdev_superblock, we got rid of inodes without a superblock long time ago.