New: lvm snapshot causes deadlock in 2.6.35
https://bugzilla.kernel.org/show_bug.cgi?id=16278
Summary: lvm snapshot causes deadlock in 2.6.35
Product: File System
Version: 2.5
Kernel Version: 2.6.35-rc[123]
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ext4
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes
Copying from: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/595489
Attempting to snapshot the root lv causes a deadlock in 2.6.35 when it suspends the root lv device to replace the table. The lvcreate -n snap -s -L 1g lv/root command hangs, can not be killed, and no further IO is possible, and the system must be hard booted with magic-sysrq.
Narrowed down cause to commit 6b0310fbf087ad6: "ext4: don't return to userspace after freezing the fs with a mutex held". After reversing this change, the problem goes away.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 16278] lvm snapshot causes deadlock in 2.6.35
https://bugzilla.kernel.org/show_bug.cgi?id=16278
--- Comment #1 from Eric Sandeen <[email protected]> 2010-06-24 15:27:57 --- Created an attachment (id=26933)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26933)
Proposed patch
I've sent this patch upstream, I think it should solve the most egregious problem here, though I think other deadlocks remain (looking as if they are unrelated to the commit mentioned in the original comment)
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 16278] lvm snapshot causes deadlock in 2.6.35
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16278
Eric Sandeen <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] AssignedTo|[email protected] |[email protected] |g |
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.