Bug 14452
Summary: | Syscall to ftruncate hangs on ext4 + mdadm raid0 filesystem on a file preallocated with fallocate | ||
---|---|---|---|
Product: | File System | Reporter: | Fredrik Andersson (nablamanspamtrap) |
Component: | ext4 | Assignee: | Jan Kara (jack) |
Status: | RESOLVED CODE_FIX | ||
Severity: | blocking | CC: | jack, nablamanspamtrap, qingshenlwy |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 2.6.31.1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Patch fixing deadlock in ext4 truncation code |
Description
Fredrik Andersson
2009-10-21 09:25:03 UTC
This looks like a deadlock that was fixed by commit 487caeef9fc08c0565e082c40a8aaf58dad92bbb. The fix went into vanilla kernel shortly after 2.6.31 was released so you shouldn't see this deadlock anymore with 2.6.32. I'll attach the patch here for reference if you want to test it by itself. Created attachment 23663 [details]
Patch fixing deadlock in ext4 truncation code
Does this patch fix your problem? Reply-To: nablaman@gmail.com Thank you for this information. I will upgrade to .32 as soon as it is available and get back to the list if it doesn't help the problem. I may patch the kernel too before this if I get the time. /Fredrik On Thu, Nov 5, 2009 at 3:22 PM, <bugzilla-daemon@bugzilla.kernel.org> wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=14452 > > > Jan Kara <jack@suse.cz> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |jack@suse.cz > > > > > --- Comment #1 from Jan Kara <jack@suse.cz> 2009-11-05 14:22:32 --- > This looks like a deadlock that was fixed by commit > 487caeef9fc08c0565e082c40a8aaf58dad92bbb. The fix went into vanilla kernel > shortly after 2.6.31 was released so you shouldn't see this deadlock anymore > with 2.6.32. I'll attach the patch here for reference if you want to test it > by > itself. > > -- > Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are watching the assignee of the bug. > -- > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > No, reply for two weeks. Assuming the things got fixed. Closing the bug. |