Bug 10582
Summary: | INFO: task pdflush:27505 blocked for more than 120 seconds. | ||
---|---|---|---|
Product: | File System | Reporter: | Plamen Petrov (plamen.sisi) |
Component: | XFS | Assignee: | Dave Chinner (dgc) |
Status: | CLOSED CODE_FIX | ||
Severity: | blocking | CC: | bunk |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.25-git7 and later | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 10492 | ||
Attachments: |
dmesg output #1
dmesg output #2 kernel config used Don't allow memory reclaim to recurse into the filesystem in inode cluster writeback. |
Description
Plamen Petrov
2008-05-01 02:30:36 UTC
Created attachment 15996 [details]
dmesg output #1
dmesg output #1
Created attachment 15997 [details]
dmesg output #2
dmesg output #2
Created attachment 15998 [details]
kernel config used
kernel config used
Just to address you lkml post - you should post XFS bug reports to xfs@oss.sgi.com, otherwise they may not be seen. if you do post to lkml, putting "XFS" in the subject line means it will probably be noticed by the XFS folk. Better is "[BUG, XFS] <rest of subject>". As it is, it looks this commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bad5584332e888ac40ca13584e8c114149ddb01e is using the wrong allocation primitive - it's allowing memory reclaim to recurse into the filesystem and then deadlocking. I'll attach a patch to fix it in a second. BTW, thanks for reporting the bug with all the relevant info. Created attachment 15999 [details]
Don't allow memory reclaim to recurse into the filesystem in inode cluster writeback.
This patch should fix it. Can you apply it, test, and post the results
to the bugzilla?
Hi, Dave! I did not put "XFS" in the subject line in my lkml message because I wasn't sure its a XFS problem - I was hoping the traces would be seen by someone, who can at least point me in the right direction... I'm glad that what I included in my posts was enough for you to see a cause for my troubles. Currently testing the proposed patch. Will get back to you/bugzilla soon... Thanks! Hello again, Dave! I can confirm that with the patch you supplied on top of the latest git tree from Linus, a have no problems whatsoever : just finished five recompiles one after the other, while ktorrent was running in the background, and its recompiling the kernel as I write this! Nice work, and again, thanks for your time! Ok, good to hear. I'll get this out for review and into the main tree as quickly as possible. I'll close this bug out now. Thanks for testing so quickly. ;) Regression list annotation: Handled-By : Dave Chinner <dgc@sgi.com> Patch : http://bugzilla.kernel.org/attachment.cgi?id=15999 The problem is present in 2.6.26-rc3. References : http://lkml.org/lkml/2008/5/19/20 fixed by commit 49383b0e98ad1f69ff4c816eb1961f703df12318 |