Bug 112101

Summary: cgroup kmem limit causing kernel BUG and complete lockup
Product: File System Reporter: nfnty (arch)
Component: btrfsAssignee: Josef Bacik (josef)
Status: RESOLVED CODE_FIX    
Severity: high CC: anand.jain, dsterba, szg00000
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.1.17-1-lts Subsystem:
Regression: No Bisected commit-id:
Attachments: BUG traces

Description nfnty 2016-02-07 14:12:54 UTC
Created attachment 203081 [details]
BUG traces

Happened in connection to Docker limiting container cgroup kmem to 4194304 requiring a hard reset and resulting in data loss.

Full issue report here: https://github.com/docker/docker/issues/20080

Attached BUG traces.
Comment 1 Anand Jain 2017-04-11 04:48:55 UTC
this bug is already been fixed by

commit 059f791c6bbaba72dc3c1bd6e2657aacc8552849
Author: David Sterba <dsterba@suse.com>
Date:   Wed Apr 27 01:03:45 2016 +0200

    btrfs: make state preallocation more speculative in __set_extent_bit