Re: [PATCH] Btrfs: fix sleeping inside atomic context in qgroup rescan worker

2015-11-13 Thread Liu Bo
On Thu, Nov 05, 2015 at 11:04:42AM +, fdman...@kernel.org wrote: > From: Filipe Manana > > We are holding a btree path with spinning locks and then we attempt to > clone an extent buffer, which calls kmem_cache_alloc() and this function > can sleep, causing the following

[PATCH] Btrfs: fix sleeping inside atomic context in qgroup rescan worker

2015-11-05 Thread fdmanana
From: Filipe Manana We are holding a btree path with spinning locks and then we attempt to clone an extent buffer, which calls kmem_cache_alloc() and this function can sleep, causing the following trace to be reported on a debug kernel: [107118.218536] BUG: sleeping function