Received: with ECARTIS (v1.0.0; list xfs); Sun, 18 May 2008 07:12:06 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4IEC0Ci004830 for ; Sun, 18 May 2008 07:12:01 -0700 X-ASG-Debug-ID: 1211119968-25e400700000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from smtp1.betherenow.co.uk (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with SMTP id D36CD184D38 for ; Sun, 18 May 2008 07:12:49 -0700 (PDT) Received: from smtp1.betherenow.co.uk (smtp1.betherenow.co.uk [87.194.0.68]) by cuda.sgi.com with SMTP id OmBFL0uQQ3jBMY54 for ; Sun, 18 May 2008 07:12:49 -0700 (PDT) Received: from damocles.lan (87-194-153-38.bethere.co.uk [87.194.153.38]) by smtp1.betherenow.co.uk (Postfix) with ESMTP id 9624FB0001; Sun, 18 May 2008 15:12:43 +0100 (BST) From: Alistair John Strachan To: Christoph Hellwig X-ASG-Orig-Subj: Re: XFS/md/blkdev warning (was Re: Linux 2.6.26-rc2) Subject: Re: XFS/md/blkdev warning (was Re: Linux 2.6.26-rc2) Date: Sun, 18 May 2008 15:12:42 +0100 User-Agent: KMail/1.9.9 Cc: Linus Torvalds , Jens Axboe , xfs@oss.sgi.com, Neil Brown , Nick Piggin , linux-kernel@vger.kernel.org, dgc@sgi.com References: <20080517233908.GA15279@infradead.org> In-Reply-To: <20080517233908.GA15279@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805181512.42921.alistair@devzero.co.uk> X-Barracuda-Connect: smtp1.betherenow.co.uk[87.194.0.68] X-Barracuda-Start-Time: 1211119969 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.50718 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/6021/Wed Feb 27 15:55:48 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 15978 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: alistair@devzero.co.uk Precedence: bulk X-list: xfs On Sunday 18 May 2008 00:39:08 Christoph Hellwig wrote: > On Sat, May 17, 2008 at 02:17:37PM -0700, Linus Torvalds wrote: > > > [4294293.003500] [] __kmalloc+0x3e/0xe6 > > > [4294293.003500] [] ? xfs_iflush_int+0x272/0x2fb > > > [4294293.003500] [] kmem_alloc+0x6a/0xd1 > > > [4294293.003500] [] xfs_iflush_cluster+0x4b/0x33f > > > [4294293.003500] [] ? xfs_iflush_int+0x294/0x2fb > > > [4294293.003500] [] xfs_iflush+0x1bb/0x29d > > > [4294293.003500] [] xfs_inode_flush+0xb8/0xdd > > > [4294293.003500] [] xfs_fs_write_inode+0x30/0x4c > > > > And as a result, all the XFS stuff is then waiting for that lock which is > > held by pdflush above: > > Btw, just that function has a missing GFP_NOFS and a too large > allocation which were fixed by Dave Chinner but aren't in mainline > yet. Can you check whether it still happens with the patch below? These patches fix the problem. Thanks Christoph. -- Cheers, Alistair. 137/1 Warrender Park Road, Edinburgh, UK.