lkml.org 
[lkml]   [2020]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 5.6-rc2
From
Date
On 2/16/20 9:24 PM, Linus Torvalds wrote:
> On Sun, Feb 16, 2020 at 6:08 PM Dave Jones <davej@codemonkey.org.uk> wrote:
>>
>> This didn't happen in rc1, but showed up when I booted into rc2 and
>> tried to and pull some stuff with rsync.
>>
>> [ 70.794783] BUG: sleeping function called from invalid context at mm/slab.h:565
>> [ 70.795459] kmem_cache_alloc+0x1d3/0x290
>> [ 70.795471] alloc_extent_state+0x22/0x1c0
>> [ 70.795544] __clear_extent_bit+0x3ba/0x580
>> [ 70.795569] btrfs_truncate_inode_items+0x339/0xe50
>> [ 70.795647] btrfs_evict_inode+0x269/0x540
>
> At a guess (just by functions involved, and the timing between rc1 and
> rc2 - no actual analysis), this is probably due to
>
> 28553fa992cb ("Btrfs: fix race between shrinking truncate and fiemap")
>
> which is also marked for stable, so... Filipe?
>

I assume Filipe wrote this based on my patch here

https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git/commit/?id=c821555d2b9733d8f483c9e79481c7209e1c1fb0

which makes it so we can allocate safely in this context, but that patch hasn't
made it's way to you yet. Do you want it now? It was prep for a much less safe
patchset, but is fine by itself. Thanks,

Josef

\
 
 \ /
  Last update: 2020-02-17 04:03    [W:0.127 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site