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, 12 Jul 2011 06:41:32 -0400 Message-ID: <20110712104132.GA14189@infradead.org> References: <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> <20110711201157.GA21460@infradead.org> <20110712103453.GC31226@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Curt Wohlgemuth , Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, fengguang.wu@intel.com To: Jan Kara Return-path: Content-Disposition: inline In-Reply-To: <20110712103453.GC31226@quack.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Jul 12, 2011 at 12:34:53PM +0200, Jan Kara wrote: > > All block device inodes sit on blockdev_superblock, we got rid of inodes > > without a superblock long time ago. > Sure, we can easily iterate also blockdev_superblock. What I meant is > that blockdev_superblock will need a special handling since we otherwise > ignore pseudo superblocks... Pseudo superblocks aren't ignored. They are added to super_blocks like all others, and iterate_supers doesn't skip over them. The problem is that blockdev_superblock doesn't have a proper s_bdi set, and thus gets skipped over by __sync_filesystem.