ceph: No mds server is up or the cluster is laggy Increase LOCKDEP_CIRCULAR_QUEUE_BITS to avoid this warning: ------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 1 PID: 19839 at kernel/locking/lockdep.c:2090 print_bfs_bug+0x29/0x50 kernel/locking/lockdep.c:2090 Modules linked in: CPU: 1 UID: 0 PID: 19839 Comm: syz.2.2643 Not tainted 6.12.0-rc1-syzkaller-ge32cde8d2bd7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:print_bfs_bug+0x29/0x50 kernel/locking/lockdep.c:2090 Code: 90 55 53 89 fb e8 a7 90 22 03 89 c5 e8 50 fd ff ff 85 ed 74 19 83 fb ff 74 1b 90 48 c7 c7 60 d6 6c 8b 89 de e8 78 ae e4 ff 90 <0f> 0b 90 90 5b 5d c3 cc cc cc cc 48 c7 c7 00 d6 6c 8b e8 40 73 03 RSP: 0018:ffffc90004b57028 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: ffffffff814e7329 RDX: ffff888020f93c00 RSI: ffffffff814e7336 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: fffffffffffe96e0 R12: ffff888020f94758 R13: ffff888020f94780 R14: ffffc90004b57140 R15: dffffc0000000000 FS: 00007f33c06f96c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557f99f808 CR3: 000000007f530000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_irq_usage+0x5c7/0x1290 kernel/locking/lockdep.c:2847 check_prev_add kernel/locking/lockdep.c:3165 [inline] check_prevs_add kernel/locking/lockdep.c:3280 [inline] validate_chain kernel/locking/lockdep.c:3904 [inline] __lock_acquire+0x2521/0x3ce0 kernel/locking/lockdep.c:5202 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 debug_object_deactivate+0x13c/0x370 lib/debugobjects.c:763 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate kernel/time/hrtimer.c:484 [inline] remove_hrtimer kernel/time/hrtimer.c:1153 [inline] hrtimer_try_to_cancel+0x1b7/0x2f0 kernel/time/hrtimer.c:1338 update_curr_dl_se+0x3ab/0x5d0 kernel/sched/deadline.c:1509 update_curr+0x427/0x5a0 kernel/sched/fair.c:1245 put_prev_entity+0x123/0x260 kernel/sched/fair.c:5644 pick_next_task_fair+0x8ec/0x1280 kernel/sched/fair.c:8907 __pick_next_task+0xf1/0x6c0 kernel/sched/core.c:5955 pick_next_task kernel/sched/core.c:6053 [inline] __schedule+0x4cc/0x5750 kernel/sched/core.c:6629 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6997 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire.part.0+0x155/0x380 kernel/locking/lockdep.c:5790 Code: b8 ff ff ff ff 65 0f c1 05 f0 d4 97 7e 83 f8 01 0f 85 d0 01 00 00 9c 58 f6 c4 02 0f 85 e5 01 00 00 48 85 ed 0f 85 b6 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffffc90004b579d8 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff9200096af3c RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffffff8b6cd340 RDI: ffffffff8bd19d40 RBP: 0000000000000200 R08: 000000000028df08 R09: fffffbfff2df7d17 R10: ffffffff96fbe8bf R11: 1ffffffff2c74540 R12: 0000000000000000 R13: ffff88814234ed48 R14: 0000000000000000 R15: 0000000000000000 touch_wq_lockdep_map+0xad/0x1c0 kernel/workqueue.c:3880 __flush_workqueue+0x129/0x1200 kernel/workqueue.c:3922 drain_workqueue+0x18f/0x3d0 kernel/workqueue.c:4086 destroy_workqueue+0xc2/0xaa0 kernel/workqueue.c:5830 destroy_fs_client+0x198/0x360 fs/ceph/super.c:896 deactivate_locked_super+0xbe/0x1a0 fs/super.c:473 ceph_get_tree+0x14e1/0x1e10 fs/ceph/super.c:1363 vfs_get_tree+0x8f/0x380 fs/super.c:1800 vfs_cmd_create+0xd7/0x2a0 fs/fsopen.c:225 vfs_fsconfig_locked fs/fsopen.c:289 [inline] __do_sys_fsconfig+0x884/0xbe0 fs/fsopen.c:472 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f33bf979eb9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f33c06f9038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f33bfb15f80 RCX: 00007f33bf979eb9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 00007f33bf9e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f33bfb15f80 R15: 00007ffde8420db8 ---------------- Code disassembly (best guess): 0: b8 ff ff ff ff mov $0xffffffff,%eax 5: 65 0f c1 05 f0 d4 97 xadd %eax,%gs:0x7e97d4f0(%rip) # 0x7e97d4fd c: 7e d: 83 f8 01 cmp $0x1,%eax 10: 0f 85 d0 01 00 00 jne 0x1e6 16: 9c pushf 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 0f 85 e5 01 00 00 jne 0x206 21: 48 85 ed test %rbp,%rbp 24: 0f 85 b6 01 00 00 jne 0x1e0 * 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 48 01 c3 add %rax,%rbx 37: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 3e: 48 rex.W 3f: c7 .byte 0xc7