Re: [PATCH] Btrfs: fix scrub race leading to use-after-free

2015-02-09 Thread Chris Mason
On Tue, Jan 27, 2015 at 11:11 AM, Filipe Manana fdman...@suse.com wrote: While running a scrub on a kernel with CONFIG_DEBUG_PAGEALLOC=y, I got the following trace: This actually trades one bug for another: [ 1928.950319] BUG: sleeping function called from invalid context at

[PATCH] Btrfs: fix scrub race leading to use-after-free

2015-01-27 Thread Filipe Manana
While running a scrub on a kernel with CONFIG_DEBUG_PAGEALLOC=y, I got the following trace: [68127.807663] BUG: unable to handle kernel paging request at 8803f8947a50 [68127.807663] IP: [8107da31] do_raw_spin_lock+0x94/0x122 [68127.807663] PGD 3003067 PUD 43e1f5067 PMD 43e030067 PTE