Bug 13676
Summary: | unmount after fsstress on a ramdisk causes orphan inode list corruption | ||
---|---|---|---|
Product: | File System | Reporter: | Eric Sandeen (sandeen) |
Component: | ext3 | Assignee: | Jan Kara (jack) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | akpm, jack |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.30-6.fc12 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
debug messages & oops.
Fix truncation of a long symlink after we failed to allocate a block for it |
Description
Eric Sandeen
2009-06-29 18:38:29 UTC
More likely to be a ramdisk bug. <checks> yup, according to Adrian's report, it happened after the introduction of brd. <marks as regression, assigns to Nick> hm, we don't have a category for ramdisk. I'll make it IO/Storage, Block layer. Hm, ok. FWIW, running the same test w/ xfs found no errors, and xfs generally is quite good at letting you know if something got corrupted. *shrug* note that Adrian reported a different problem than I'm seeing now ... It's a genuine ext3/4 bug appearing when allocation of block for a long symlink fails and I'm the one who wrote it :(. Anyway, attached patch should fix it. Created attachment 22356 [details]
Fix truncation of a long symlink after we failed to allocate a block for it
Eric, can you test the patch? It fixes the issue for me... Sure thing, thanks Jan! This bug had dropped off my radar TBH ... The patch worked for me and is already upstream... I'm closing this as fixed. Please reopen if you see the bug again. Thanks. |