From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH block/for-3.3/core] block: an exiting task should be allowed to create io_context Date: Tue, 3 Jan 2012 09:35:00 -0800 Message-ID: <20120103173500.GB31746@google.com> References: <20111222154427.89b245c7.akpm@linux-foundation.org> <20111222234639.GS17084@google.com> <20111223004244.GU17084@google.com> <20111225010238.GA6013@htj.dyndns.org> <20111228164836.GP17712@google.com> <20111228211918.GA3516@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:35161 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754250Ab2ACRfG (ORCPT ); Tue, 3 Jan 2012 12:35:06 -0500 Content-Disposition: inline In-Reply-To: <20111228211918.GA3516@google.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Hugh Dickins , Jens Axboe Cc: Andrew Morton , Stephen Rothwell , linux-next@vger.kernel.org, LKML , linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org, x86@kernel.org Happy new year, guys. On Wed, Dec 28, 2011 at 01:19:18PM -0800, Tejun Heo wrote: > > On Wed, Dec 28, 2011 at 9:50 AM, Hugh Dickins wr= ote: > > > "It's the tmpfs swapping test that I've been running, with variat= ions, > > > for years. =A0System booted with mem=3D700M and 1.5G swap, two re= petitious > > > make -j20 kernel builds (of a 2.6.24 kernel: I stuck with that be= cause > > > the balance of built to unbuilt source grows smaller with later k= ernels), > > > one directly in a tmpfs, the other in a 1k-block ext2 (that I dri= ve with > > > ext4's CONFIG_EXT4_USE_FOR_EXT23) on /dev/loop0 on a 450MB tmpfs = file." > > > > > > I doubt much of that (quoted from an older mail to someone else a= bout > > > one of the many other bugs it's found) is relevant: maybe just pl= enty > > > of file I/O and swapping. > >=20 > > Plain -j4 build isn't triggering anything. I'll try to replicate t= he condition. >=20 > It's not too reliable but I can reproduce it with -j 22 allmodconfig > build inside qemu w/ 512M of memory. I'll try to find out what's > going on. I misread the code, the problem is empty cfqq on the cfq prio tree. I don't think this is caused by recent io_context changes. It looks like somebody is forgetting to remove cfqq from the dispatch prio tree after emptying a cfqq by removing a request from it. Jens, any ideas? Thanks. --=20 tejun