Bug 684422

Summary: panics with btrfs on homedir
Product: [Fedora] Fedora Reporter: Jeff Layton <jlayton>
Component: kernelAssignee: Josef Bacik <jbacik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: gansalmon, itamar, jbacik, jonathan, kernel-maint, madhu.chinakonda, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-16 20:31:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
excerpt from /var/log/messages with oopses none

Description Jeff Layton 2011-03-12 12:53:50 UTC
Created attachment 483892 [details]
excerpt from /var/log/messages with oopses

My laptop has homedirs on btrfs. This morning I got a chain of panics while doing normal desktop stuff. It seems likely that the fs is corrupt, but I'll hold off on rebuilding it for now in case you want to collect any info from it.

Comment 1 Josef Bacik 2011-03-12 16:22:41 UTC
What do you keep doing to your box?  Are you hibernating at all?

Comment 2 Jeff Layton 2011-03-13 01:22:52 UTC
Yes, I frequently hibernate it (whenever I don't expect to need it within the next few hours or so).

I used to have the rootfs and /home on btrfs, but I recently moved / to ext4. Now, only /home is btrfs. I never rebuilt that so it may have been hosed for a while. Any info want me to collect or anything you want me to try before I rebuild it?

Comment 3 Josef Bacik 2011-03-13 13:17:26 UTC
Yeah I think thats the problem, I'll take a good hard look at our freeze/unfreeze stuff, I have a feeling we're not doing it right and thats what's corrupting you.  For now rebuild and stop hibernating, hibernating is for losers anyway.

Comment 4 Chuck Ebbert 2011-03-14 01:12:51 UTC
There are many reports of fs corruption with hibernate, and they're not limited to btrfs either. AFAICT the upstream maintainers think it can't possibly be broken, since nothing has changed in that code recently.

https://bugzilla.kernel.org/show_bug.cgi?id=26582#c17

Comment 5 Josef Bacik 2011-03-14 14:22:28 UTC
Ok I'll work on fixing this upstream.

Comment 6 Josef Bacik 2011-03-16 20:31:48 UTC
This is the same sort of corruption that will be caught by the fix in 682893.

*** This bug has been marked as a duplicate of bug 682893 ***