[Bug 779432] New: kernel panic when mounting btrfs filesystem in free-space-cache.c
https://bugzilla.novell.com/show_bug.cgi?id=779432
https://bugzilla.novell.com/show_bug.cgi?id=779432#c0
Summary: kernel panic when mounting btrfs filesystem in
free-space-cache.c
Classification: openSUSE
Product: openSUSE 12.2
Version: Final
Platform: x86-64
OS/Version: openSUSE 12.2
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@forge.provo.novell.com
ReportedBy: gryffus@hkfree.org
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101
Firefox/15.0
Btrfs: fix tree log remove space corner case
The tree log stuff can have allocated space that we end up having split across
a bitmap and a real extent. The free space code does not deal with this, it
assumes that if it finds an extent or bitmap entry that the entire range must
fall within the entry it finds. This isn't necessarily the case, so rework the
remove function so it can handle this case properly. This fixed two panics the
user hit, first in the case where the space was initially in a bitmap and then
in an extent entry, and then the reverse case. Thanks,
Reported-and-tested-by: Shaun Reich
https://bugzilla.novell.com/show_bug.cgi?id=779432
https://bugzilla.novell.com/show_bug.cgi?id=779432#c
Lukas Krejza
https://bugzilla.novell.com/show_bug.cgi?id=779432
https://bugzilla.novell.com/show_bug.cgi?id=779432#c2
David Sterba
https://bugzilla.novell.com/show_bug.cgi?id=779432
https://bugzilla.novell.com/show_bug.cgi?id=779432#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=779432
https://bugzilla.novell.com/show_bug.cgi?id=779432#c3
--- Comment #3 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=779432
https://bugzilla.novell.com/show_bug.cgi?id=779432#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=779432
https://bugzilla.novell.com/show_bug.cgi?id=779432#c4
--- Comment #4 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=779432
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=779432
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com