[15159.327167] run fstests generic/501 at 2022-04-04 01:09:07
[15159.924940] BTRFS: device fsid eef1b1c4-9913-4393-b354-fcedf13b30d6 devid 1 transid 6 /dev/mapper/vg0-lv7 scanned by mkfs.btrfs (2323747)
[15159.965623] BTRFS info (device dm-7): flagging fs with big metadata feature
[15159.965960] BTRFS info (device dm-7): using free space tree
[15159.966161] BTRFS info (device dm-7): has skinny extents
[15159.967911] BTRFS info (device dm-7): checking UUID tree
[15160.224212] BTRFS: device fsid 86da3a06-e886-49d0-bf23-0267df5886b2 devid 1 transid 6 /dev/mapper/vg0-lv7 scanned by mkfs.btrfs (2323812)
[15160.303544] BTRFS info (device dm-9): flagging fs with big metadata feature
[15160.303756] BTRFS info (device dm-9): using free space tree
[15160.303931] BTRFS info (device dm-9): has skinny extents
[15160.341084] BTRFS info (device dm-9): checking UUID tree
[15275.995894] BTRFS info: devid 1 device path /dev/mapper/flakey-test changed to /dev/dm-9 scanned by systemd-udevd (2323866)
[15275.996802] BTRFS info: devid 1 device path /dev/dm-9 changed to /dev/mapper/flakey-test scanned by systemd-udevd (2323866)
[15276.094913] BTRFS info (device dm-9): flagging fs with big metadata feature
[15276.095138] BTRFS info (device dm-9): using free space tree
[15276.095342] BTRFS info (device dm-9): has skinny extents
[15276.097474] BTRFS info (device dm-9): start tree-log replay
[15276.267571] BUG: sleeping function called from invalid context at block/blk-sysfs.c:766
[15276.267880] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2323871, name: fstrim
[15276.268202] preempt_count: 101, expected: 0
[15276.268356] RCU nest depth: 0, expected: 0
[15276.268511] INFO: lockdep is turned off.
[15276.268685] Preemption disabled at:
[15276.268686] [<0000000000000000>] 0x0
[15276.268988] CPU: 1 PID: 2323871 Comm: fstrim Tainted: G W 5.17.0+ #641
[15276.269254] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[15276.269596] Call Trace:
[15276.269732]
[15276.269862] dump_stack_lvl+0x56/0x6f
[15276.270012] __might_resched.cold+0xff/0x13a
[15276.270203] blk_release_queue+0x24/0x120
[15276.270361] kobject_put+0x7c/0x1d0
[15276.270508] ? rcu_do_batch+0x1ac/0x570
[15276.270660] blkg_free.part.0+0x41/0x60
[15276.270841] rcu_do_batch+0x1e1/0x570
[15276.270990] ? rcu_do_batch+0x1ac/0x570
[15276.271168] rcu_core+0x2cb/0x460
[15276.271316] __do_softirq+0x178/0x517
[15276.271468] __irq_exit_rcu+0xe3/0x160
[15276.271626] irq_exit_rcu+0xa/0x20
[15276.271783] sysvec_apic_timer_interrupt+0xa2/0xd0
[15276.271966]
[15276.272105]
[15276.272229] asm_sysvec_apic_timer_interrupt+0x12/0x20
[15276.272406] RIP: 0010:_find_next_bit+0x13/0x90
[15276.272569] Code: d2 48 01 d0 49 39 c0 4c 0f 47 c0 4c 89 c0 c3 0f 1f 84 00 00 00 00 00 49 89 d2 48 39 d1 73 76 48 89 ca 48 c1 ea 06 48 8b 04 d7 <48> 85 f6 74 04 48 23 04 d6 48 c7 c2 ff ff ff ff 4c 31 c0 48 d3 e2
[15276.273081] RSP: 0018:ffffb94a0337fb38 EFLAGS: 00000202
[15276.273279] RAX: 0000000000000000 RBX: 0000000000006797 RCX: 0000000000005783
[15276.273495] RDX: 000000000000015e RSI: 0000000000000000 RDI: ffff963441364000
[15276.273702] RBP: ffff9634567144e0 R08: ffffffffffffffff R09: 0000000000000000
[15276.273926] R10: 0000000000008000 R11: 000000000000f000 R12: ffff96344e8d1c00
[15276.274163] R13: 0000000000005782 R14: 0000000000006797 R15: ffff963445a32548
[15276.274376] steal_from_bitmap+0x1f5/0x2c0
[15276.274564] __btrfs_add_free_space+0xb3/0x4e0
[15276.274725] ? rcu_read_lock_sched_held+0x12/0x60
[15276.274905] do_trimming+0x11d/0x220
[15276.275055] trim_no_bitmap+0x27b/0x480
[15276.275207] btrfs_trim_block_group+0x85/0x130
[15276.275404] ? _raw_spin_unlock+0x29/0x40
[15276.275563] btrfs_trim_fs+0x9c/0x480
[15276.275711] btrfs_ioctl_fitrim+0x14a/0x230
[15276.275871] btrfs_ioctl+0xe42/0x2cf0
[15276.276022] ? lock_acquire+0x176/0x2d0
[15276.276174] ? rcu_read_lock_sched_held+0x12/0x60
[15276.276342] ? __seccomp_filter+0x38b/0x5d0
[15276.276522] ? __x64_sys_ioctl+0x80/0xb0
[15276.276696] __x64_sys_ioctl+0x80/0xb0
[15276.276856] do_syscall_64+0x38/0x90
[15276.277003] entry_SYSCALL_64_after_hwframe+0x44/0xae
[15276.277203] RIP: 0033:0x7f592daf70ab
[15276.277354] Code: ff ff ff 85 c0 79 9b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 bd 0c 00 f7 d8 64 89 01 48
[15276.277878] RSP: 002b:00007fff5a9e16f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[15276.278183] RAX: ffffffffffffffda RBX: 00007fff5a9e1810 RCX: 00007f592daf70ab
[15276.278381] RDX: 00007fff5a9e1710 RSI: 00000000c0185879 RDI: 0000000000000003
[15276.278575] RBP: 0000559d54206eb0 R08: 0000559d54206eb0 R09: 0000000000000000
[15276.278770] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
[15276.279049] R13: 0000559d54206c60 R14: 0000559d54206900 R15: 0000559d54206900
[15276.279247]