xfs
[Top] [All Lists]

Re: XFS/md/blkdev warning (was Re: Linux 2.6.26-rc2)

To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: XFS/md/blkdev warning (was Re: Linux 2.6.26-rc2)
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sat, 17 May 2008 19:39:08 -0400
Cc: Alistair John Strachan <alistair@xxxxxxxxxxxxx>, Jens Axboe <jens.axboe@xxxxxxxxxx>, xfs@xxxxxxxxxxx, Neil Brown <neilb@xxxxxxx>, Nick Piggin <npiggin@xxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, dgc@xxxxxxx
In-reply-to: <alpine.LFD.1.10.0805171411250.3020@woody.linux-foundation.org>
References: <alpine.LFD.1.10.0805120731480.3188@woody.linux-foundation.org> <200805171922.56272.alistair@devzero.co.uk> <alpine.LFD.1.10.0805171131000.3020@woody.linux-foundation.org> <200805172109.59244.alistair@devzero.co.uk> <alpine.LFD.1.10.0805171411250.3020@woody.linux-foundation.org>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
On Sat, May 17, 2008 at 02:17:37PM -0700, Linus Torvalds wrote:
> > [4294293.003500]  [<ffffffff8028106a>] __kmalloc+0x3e/0xe6
> > [4294293.003500]  [<ffffffff803067fc>] ? xfs_iflush_int+0x272/0x2fb
> > [4294293.003500]  [<ffffffff80320552>] kmem_alloc+0x6a/0xd1
> > [4294293.003500]  [<ffffffff80307a9c>] xfs_iflush_cluster+0x4b/0x33f
> > [4294293.003500]  [<ffffffff8030681e>] ? xfs_iflush_int+0x294/0x2fb
> > [4294293.003500]  [<ffffffff80307f4b>] xfs_iflush+0x1bb/0x29d
> > [4294293.003500]  [<ffffffff8031bc30>] xfs_inode_flush+0xb8/0xdd
> > [4294293.003500]  [<ffffffff80328b1f>] 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?

Attachment: xfs-icluster-add-nofs
Description: Text document

Attachment: xfs-fix-icluster-alloc-size
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>