Re: Linux 5.6-rc2

From: Linus Torvalds
Date: Sun Feb 16 2020 - 21:25:07 EST


On Sun, Feb 16, 2020 at 6:08 PM Dave Jones <davej@xxxxxxxxxxxxxxxxx> 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?

Linus