Re: Linux 5.6-rc2

From: Dave Jones
Date: Sun Feb 16 2020 - 21:37:19 EST


On Sun, Feb 16, 2020 at 01:32:32PM -0800, Linus Torvalds wrote:

> Outside of drivers, there's the usual smattering of changes all over.
> Filesystems (nfs, ext4, ceph, cifs, btrfs), architecture updates (x86,
> arm), and some core code (scheduling, tracing, networking, io_uring).
>
> The shortlog is appended, you can get a feel for the details by scanning it.
>
> Go forth and test,

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.794834] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1141, name: rsync
[ 70.794863] 5 locks held by rsync/1141:
[ 70.794876] #0: ffff888417b9c408 (sb_writers#17){.+.+}, at: mnt_want_write+0x20/0x50
[ 70.795030] #1: ffff888428de28e8 (&type->i_mutex_dir_key#13/1){+.+.}, at: lock_rename+0xf1/0x100
[ 70.795051] #2: ffff888417b9c608 (sb_internal#2){.+.+}, at: start_transaction+0x394/0x560
[ 70.795124] #3: ffff888403081768 (btrfs-fs-01){++++}, at: btrfs_try_tree_write_lock+0x2f/0x160
[ 70.795203] #4: ffff888403086568 (btrfs-fs-00){++++}, at: btrfs_try_tree_write_lock+0x2f/0x160
[ 70.795222] CPU: 5 PID: 1141 Comm: rsync Not tainted 5.6.0-rc2-backup+ #2
[ 70.795291] Hardware name: ASUS All Series/Z97-DELUXE, BIOS 3503 04/18/2018
[ 70.795362] Call Trace:
[ 70.795374] dump_stack+0x71/0xa0
[ 70.795445] ___might_sleep.part.96.cold.106+0xa6/0xb6
[ 70.795459] kmem_cache_alloc+0x1d3/0x290
[ 70.795471] alloc_extent_state+0x22/0x1c0
[ 70.795544] __clear_extent_bit+0x3ba/0x580
[ 70.795557] ? _raw_spin_unlock_irq+0x24/0x30
[ 70.795569] btrfs_truncate_inode_items+0x339/0xe50
[ 70.795647] btrfs_evict_inode+0x269/0x540
[ 70.795659] ? dput.part.38+0x29/0x460
[ 70.795671] evict+0xcd/0x190
[ 70.795682] __dentry_kill+0xd6/0x180
[ 70.795754] dput.part.38+0x2ad/0x460
[ 70.795765] do_renameat2+0x3cb/0x540
[ 70.795777] __x64_sys_rename+0x1c/0x20
[ 70.795788] do_syscall_64+0x6d/0x6b0
[ 70.795864] ? trace_hardirqs_off_thunk+0x1a/0x1c
[ 70.795876] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 70.795889] RIP: 0033:0x7f7fa39256d7
[ 70.795965] Code: e8 6e e9 07 00 85 c0 0f 95 c0 0f b6 c0 f7 d8 5b c3 66 90 b8 ff ff ff ff 5b c3 66 0f 1f 84 00 00 00 00 00 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 89 d7 14 00 f7 d8 64 89 02 b8
[ 70.795990] RSP: 002b:00007ffc8ad171a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
[ 70.796070] RAX: ffffffffffffffda RBX: 00007ffc8ad19350 RCX: 00007f7fa39256d7
[ 70.796084] RDX: 0000000000000000 RSI: 00007ffc8ad17350 RDI: 00007ffc8ad19350
[ 70.796097] RBP: 00007ffc8ad17350 R08: 0000000000000000 R09: 0000000000000000
[ 70.796170] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 70.796184] R13: 0000000000000004 R14: 00000000000081a4 R15: 0000000000000000