./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2677148504 <...> Warning: Permanently added '10.128.1.130' (ED25519) to the list of known hosts. execve("./syz-executor2677148504", ["./syz-executor2677148504"], 0x7ffc206b2400 /* 10 vars */) = 0 brk(NULL) = 0x555569205000 brk(0x555569205d00) = 0x555569205d00 arch_prctl(ARCH_SET_FS, 0x555569205380) = 0 set_tid_address(0x555569205650) = 5833 set_robust_list(0x555569205660, 24) = 0 rseq(0x555569205ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2677148504", 4096) = 28 getrandom("\xd7\x3e\x27\x96\x94\xe3\xdd\x10", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555569205d00 brk(0x555569226d00) = 0x555569226d00 brk(0x555569227000) = 0x555569227000 mprotect(0x7fe71332d000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5834 attached , child_tidptr=0x555569205650) = 5834 [pid 5834] set_robust_list(0x555569205660, 24) = 0 [pid 5834] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5834] setpgid(0, 0) = 0 [pid 5834] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5834] write(3, "1000", 4) = 4 [pid 5834] close(3) = 0 [pid 5834] write(1, "executing program\n", 18executing program ) = 18 [pid 5834] memfd_create("syzkaller", 0) = 3 [pid 5834] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe70ae00000 [pid 5834] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5834] munmap(0x7fe70ae00000, 138412032) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5834] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5834] close(3) = 0 [pid 5834] close(4) = 0 [pid 5834] mkdir("./file0", 0777) = 0 [ 93.717772][ T5834] loop0: detected capacity change from 0 to 32768 [ 93.762396][ T5834] bcachefs (/dev/loop0): error reading default superblock: checksum error, type none: got should be [ 93.799503][ T5834] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 93.816536][ T5834] invalid journal entry, version=1.7: mi_btree_bitmap type=btree_keys in superblock: extends past end of journal entry, fixing [ 93.830119][ T5834] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 93.838305][ T5834] bcachefs (loop0): Doing compatible version upgrade from 1.7: mi_btree_bitmap to 1.13: inode_has_child_snapshots [ 93.838305][ T5834] running recovery passes: check_allocations,check_inodes [ 93.864275][ T5834] invalid bkey u64s 18 type inode_v3 0:536870912:U32_MAX len 0 ver 0: [ 93.864290][ T5834] mode=0 [ 93.864296][ T5834] flags=backptr_untrusted(900) [ 93.864301][ T5834] journal_seq=4 [ 93.864306][ T5834] hash_seed=8469d717004af4ef [ 93.864312][ T5834] hash_type=crc32c [ 93.864317][ T5834] bi_size=10 [ 93.864322][ T5834] bi_sectors=0 [ 93.864327][ T5834] bi_version=0 [ 93.864332][ T5834] bi_atime=0 [ 93.864337][ T5834] bi_ctime=0 [ 93.864342][ T5834] bi_mtime=0 [ 93.864347][ T5834] bi_otime=0 [ 93.864354][ T5834] bi_uid=0 [ 93.864359][ T5834] bi_gid=0 [ 93.864364][ T5834] bi_nlink=0 [ 93.864369][ T5834] bi_generation=0 [ 93.864374][ T5834] bi_dev=0 [ 93.864379][ T5834] bi_data_checksum=0 [ 93.864384][ T5834] bi_compression=0 [ 93.864389][ T5834] bi_project=0 [ 93.864394][ T5834] bi_background_compression=0 [ 93.864400][ T5834] bi_data_replicas=0 [ 93.864405][ T5834] bi_promote_target=0 [ 93.864410][ T5834] bi_foreground_target=0 [ 93.864415][ T5834] bi_background_target=0 [ 93.864420][ T5834] bi_erasure_code=0 [ 93.864425][ T5834] bi_fields_set=0 [ 93.864430][ T5834] bi_dir=0 [ 93.864435][ T5834] bi_dir_offset=0 [ 93.864440][ T5834] bi_subvol=0 [ 93.864445][ T5834] bi_parent_subvol=0 [ 93.864450][ T5834] bi_nocow=0 [ 93.864455][ T5834] invalid fields_start (got 0, min 6 max 13): deleting [ 94.004197][ T5834] bcachefs (loop0): pointer to nonexistent device 2 [ 94.011016][ T5834] bcachefs (loop0): btree node read error: no device to read from [ 94.011016][ T5834] at lru level 0/0 [ 94.011016][ T5834] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 0 ptr: 2:7168 gen 0 [ 94.036812][ T5834] bcachefs (loop0): flagging btree lru lost data [ 94.043420][ T5834] bcachefs (loop0): running explicit recovery pass check_alloc_info (12), currently at scan_for_btree_nodes (0) [ 94.057829][ T5834] error reading btree root btree=lru level=0: btree_node_read_error, fixing [ 94.069246][ T5834] invalid bkey u64s 9 type backpointer 0:589824:0 len 0 ver 0: bucket=0:2:0 btree=extents level=1 offset=0:0 len=256 pos=SPOS_MAX [ 94.069259][ T5834] backpointer bucket_offset wrong: delete?, fixing [ 94.090995][ T5834] bcachefs (loop0): accounting_read... done [ 94.098064][ T5834] bcachefs (loop0): alloc_read... done [ 94.103622][ T5834] bcachefs (loop0): stripes_read... done [ 94.109304][ T5834] bcachefs (loop0): snapshots_read... done [ 94.115481][ T5834] bcachefs (loop0): check_allocations... [ 94.117352][ T5834] btree ptr not marked in member info btree allocated bitmap [ 94.117368][ T5834] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 94.148018][ T5834] btree ptr not marked in member info btree allocated bitmap [ 94.148031][ T5834] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 94.170946][ T5834] btree ptr not marked in member info btree allocated bitmap [ 94.170957][ T5834] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 94.193943][ T5834] btree ptr not marked in member info btree allocated bitmap [ 94.193954][ T5834] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 94.216858][ T5834] btree ptr not marked in member info btree allocated bitmap [ 94.216870][ T5834] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0, fixing [ 94.239920][ T5834] btree ptr not marked in member info btree allocated bitmap [ 94.239931][ T5834] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 21 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 94.263269][ T5834] bucket 0:22 gen 0 data type sb has wrong cached_sectors: got 524288, should be 0, fixing [ 94.274254][ T5834] bucket 0:28 gen 0 has wrong data_type: got btree, should be need_discard, fixing [ 94.283635][ T5834] bucket 0:28 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing [ 94.295613][ T5834] done [ 94.299748][ T5834] bcachefs (loop0): going read-write [ 94.306947][ T5834] bcachefs (loop0): journal_replay... [ 94.314491][ T58] u64s 12 type alloc_v4 0:27:0 len 0 ver 0: [ 94.314508][ T58] gen 0 oldest_gen 0 data_type btree [ 94.314514][ T58] journal_seq 4 [ 94.314521][ T58] need_discard 1 [ 94.314526][ T58] need_inc_gen 1 [ 94.314532][ T58] dirty_sectors 256 [ 94.314538][ T58] stripe_sectors 0 [ 94.314544][ T58] cached_sectors 0 [ 94.314550][ T58] stripe 0 [ 94.314555][ T58] stripe_redundancy 0 [ 94.314561][ T58] io_time[READ] 1 [ 94.314567][ T58] io_time[WRITE] 256 [ 94.314573][ T58] fragmentation 0 [ 94.314579][ T58] bp_start 8 [ 94.314584][ T58] [ 94.314590][ T58] incorrectly set at freespace:0:27:0 (free 0, genbits 0 should be 0), fixing [ 94.395194][ T58] u64s 12 type alloc_v4 0:27:0 len 0 ver 0: [ 94.395222][ T58] gen 0 oldest_gen 0 data_type btree [ 94.395233][ T58] journal_seq 4 [ 94.395244][ T58] need_discard 1 [ 94.395254][ T58] need_inc_gen 1 [ 94.395264][ T58] dirty_sectors 256 [ 94.395275][ T58] stripe_sectors 0 [ 94.395285][ T58] cached_sectors 0 [ 94.395304][ T58] stripe 0 [ 94.395314][ T58] stripe_redundancy 0 [ 94.395323][ T58] io_time[READ] 1 [ 94.395334][ T58] io_time[WRITE] 256 [ 94.395344][ T58] fragmentation 0 [ 94.395354][ T58] bp_start 8 [ 94.395365][ T58] [ 94.395375][ T58] incorrectly set at freespace:0:27:0 (free 0, genbits 0 should be 0), fixing [ 94.468758][ T58] [ 94.471072][ T58] ============================================ [ 94.477199][ T58] WARNING: possible recursive locking detected [ 94.483334][ T58] 6.12.0-rc6-next-20241107-syzkaller #0 Not tainted [ 94.489894][ T58] -------------------------------------------- [ 94.496024][ T58] kworker/1:2/58 is trying to acquire lock: [ 94.501902][ T58] ffff88807871dc38 (&wp->lock){+.+.}-{4:4}, at: bch2_alloc_sectors_start_trans+0x956/0x2030 [ 94.511988][ T58] [ 94.511988][ T58] but task is already holding lock: [ 94.519337][ T58] ffff88807871dc38 (&wp->lock){+.+.}-{4:4}, at: bch2_alloc_sectors_start_trans+0x2e8/0x2030 [ 94.529419][ T58] [ 94.529419][ T58] other info that might help us debug this: [ 94.537462][ T58] Possible unsafe locking scenario: [ 94.537462][ T58] [ 94.544902][ T58] CPU0 [ 94.548171][ T58] ---- [ 94.551435][ T58] lock(&wp->lock); [ 94.555322][ T58] lock(&wp->lock); [ 94.559206][ T58] [ 94.559206][ T58] *** DEADLOCK *** [ 94.559206][ T58] [ 94.567330][ T58] May be due to missing lock nesting notation [ 94.567330][ T58] [ 94.575638][ T58] 7 locks held by kworker/1:2/58: [ 94.580651][ T58] #0: ffff88802070fd48 ((wq_completion)bcachefs_write_ref){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 [ 94.592651][ T58] #1: ffffc9000133fd00 ((work_completion)(&ca->invalidate_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 [ 94.605173][ T58] #2: ffff888078704750 (&wb->flushing.lock){+.+.}-{4:4}, at: bch2_btree_write_buffer_tryflush+0x14b/0x1c0 [ 94.616561][ T58] #3: ffff8880787043a8 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0x9a/0x1a0 [ 94.627249][ T58] #4: ffff888078726710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x682/0x14e0 [ 94.637341][ T58] #5: ffff88807871dc38 (&wp->lock){+.+.}-{4:4}, at: bch2_alloc_sectors_start_trans+0x2e8/0x2030 [ 94.647867][ T58] #6: ffff888078726710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x682/0x14e0 [ 94.657960][ T58] [ 94.657960][ T58] stack backtrace: [ 94.663852][ T58] CPU: 1 UID: 0 PID: 58 Comm: kworker/1:2 Not tainted 6.12.0-rc6-next-20241107-syzkaller #0 [ 94.673902][ T58] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 94.683947][ T58] Workqueue: bcachefs_write_ref bch2_do_invalidates_work [ 94.690975][ T58] Call Trace: [ 94.694257][ T58] [ 94.697180][ T58] dump_stack_lvl+0x241/0x360 [ 94.701848][ T58] ? __pfx_dump_stack_lvl+0x10/0x10 [ 94.707037][ T58] ? __pfx__printk+0x10/0x10 [ 94.711616][ T58] ? lockdep_unlock+0x16a/0x300 [ 94.716470][ T58] print_deadlock_bug+0x483/0x620 [ 94.721497][ T58] validate_chain+0x15e2/0x5920 [ 94.726348][ T58] ? __pfx_validate_chain+0x10/0x10 [ 94.731538][ T58] ? __pfx_validate_chain+0x10/0x10 [ 94.736722][ T58] ? __pfx_check_noncircular+0x10/0x10 [ 94.742170][ T58] ? lockdep_unlock+0x16a/0x300 [ 94.747010][ T58] ? __pfx_lockdep_unlock+0x10/0x10 [ 94.752205][ T58] ? mark_lock+0x9a/0x360 [ 94.756522][ T58] __lock_acquire+0x1397/0x2100 [ 94.761364][ T58] lock_acquire+0x1ed/0x550 [ 94.765851][ T58] ? bch2_alloc_sectors_start_trans+0x956/0x2030 [ 94.772168][ T58] ? __pfx_lock_acquire+0x10/0x10 [ 94.777180][ T58] ? __pfx___might_resched+0x10/0x10 [ 94.782455][ T58] ? __pfx_reacquire_held_locks+0x10/0x10 [ 94.788161][ T58] ? lock_release+0xbf/0xa30 [ 94.792740][ T58] __mutex_lock+0x1ac/0xee0 [ 94.797244][ T58] ? bch2_alloc_sectors_start_trans+0x956/0x2030 [ 94.803560][ T58] ? bch2_trans_unlock+0x346/0x470 [ 94.808662][ T58] ? __pfx_lock_release+0x10/0x10 [ 94.813673][ T58] ? bch2_alloc_sectors_start_trans+0x956/0x2030 [ 94.819989][ T58] ? __pfx___mutex_lock+0x10/0x10 [ 94.825004][ T58] ? bch2_trans_unlock+0x3a6/0x470 [ 94.830120][ T58] bch2_alloc_sectors_start_trans+0x956/0x2030 [ 94.836277][ T58] ? __pfx_lock_release+0x10/0x10 [ 94.841294][ T58] ? trace_contention_end+0x3c/0x120 [ 94.846567][ T58] ? __pfx_bch2_alloc_sectors_start_trans+0x10/0x10 [ 94.853148][ T58] ? __mutex_unlock_slowpath+0x21e/0x790 [ 94.858771][ T58] ? __pfx___mutex_lock+0x10/0x10 [ 94.863790][ T58] bch2_btree_reserve_get+0x612/0x1890 [ 94.869247][ T58] ? __pfx_bch2_btree_reserve_get+0x10/0x10 [ 94.875129][ T58] ? percpu_up_read+0xdc/0x1b0 [ 94.879887][ T58] ? __pfx___bch2_disk_reservation_add+0x10/0x10 [ 94.886200][ T58] ? bch2_btree_update_start+0x682/0x14e0 [ 94.891913][ T58] bch2_btree_update_start+0xe56/0x14e0 [ 94.897448][ T58] ? bch2_btree_split_leaf+0x121/0x880 [ 94.902896][ T58] ? __pfx_bch2_btree_update_start+0x10/0x10 [ 94.908865][ T58] ? __build_rw_aux_tree+0x6ce/0x880 [ 94.914142][ T58] ? __do_six_trylock+0x832/0x9f0 [ 94.919155][ T58] bch2_btree_split_leaf+0x121/0x880 [ 94.924431][ T58] bch2_trans_commit_error+0x212/0x1390 [ 94.929960][ T58] ? bch2_check_discard_freespace_key+0xba7/0x1120 [ 94.936447][ T58] ? six_unlock_ip+0x2ce/0x3e0 [ 94.941201][ T58] ? bch2_trans_unlock_write+0x892/0xce0 [ 94.946819][ T58] ? __pfx_bch2_trans_commit_error+0x10/0x10 [ 94.952783][ T58] ? bch2_trans_unlock_write+0xc2d/0xce0 [ 94.958404][ T58] ? bch2_btree_path_verify_locks+0x633/0x720 [ 94.964465][ T58] ? bch2_trans_verify_locks+0x339/0x3c0 [ 94.970093][ T58] __bch2_trans_commit+0x8069/0x9610 [ 94.975370][ T58] ? bch2_check_discard_freespace_key+0xba7/0x1120 [ 94.981862][ T58] ? __pfx___bch2_trans_commit+0x10/0x10 [ 94.987488][ T58] ? __asan_memcpy+0x40/0x70 [ 94.992078][ T58] bch2_check_discard_freespace_key+0xba7/0x1120 [ 94.998398][ T58] ? __pfx_bch2_check_discard_freespace_key+0x10/0x10 [ 95.005147][ T58] ? bch2_path_get+0xf03/0x15d0 [ 95.009994][ T58] ? bch2_check_discard_freespace_key+0x2b2/0x1120 [ 95.016485][ T58] ? __bch2_path_free+0x6ef/0x820 [ 95.021500][ T58] bch2_bucket_alloc_trans+0x1526/0x31a0 [ 95.027131][ T58] ? bch2_bucket_alloc_trans+0xbd2/0x31a0 [ 95.032845][ T58] ? __pfx_bch2_bucket_alloc_trans+0x10/0x10 [ 95.038814][ T58] ? mark_lock+0x70/0x360 [ 95.043130][ T58] ? __pfx___bfs+0x10/0x10 [ 95.047533][ T58] ? __lock_acquire+0x1397/0x2100 [ 95.052549][ T58] ? bch2_bucket_alloc_trans+0xbd2/0x31a0 [ 95.058254][ T58] ? __pfx_lock_release+0x10/0x10 [ 95.063267][ T58] bch2_bucket_alloc_set_trans+0x517/0xd30 [ 95.069060][ T58] ? bch2_bucket_alloc_set_trans+0x26f/0xd30 [ 95.075029][ T58] ? __pfx_bch2_bucket_alloc_set_trans+0x10/0x10 [ 95.081350][ T58] ? unwind_next_frame+0x18e6/0x22d0 [ 95.086618][ T58] ? deref_stack_reg+0x17c/0x210 [ 95.091542][ T58] ? __asan_memset+0x23/0x50 [ 95.096120][ T58] ? unwind_next_frame+0x193b/0x22d0 [ 95.101391][ T58] ? mark_lock+0x9a/0x360 [ 95.105708][ T58] ? __lock_acquire+0x1397/0x2100 [ 95.110732][ T58] __open_bucket_add_buckets+0x13d0/0x1ec0 [ 95.116534][ T58] ? __pfx_validate_chain+0x10/0x10 [ 95.121717][ T58] ? __pfx___open_bucket_add_buckets+0x10/0x10 [ 95.127864][ T58] ? mark_lock+0x9a/0x360 [ 95.132180][ T58] ? __lock_acquire+0x1397/0x2100 [ 95.137194][ T58] ? bch2_btree_path_verify_locks+0x633/0x720 [ 95.143256][ T58] ? __bch2_trans_relock+0x44d/0x5f0 [ 95.148529][ T58] open_bucket_add_buckets+0x33a/0x410 [ 95.153978][ T58] bch2_alloc_sectors_start_trans+0xce9/0x2030 [ 95.160124][ T58] ? __pfx_lock_release+0x10/0x10 [ 95.165133][ T58] ? trace_contention_end+0x3c/0x120 [ 95.170409][ T58] ? __pfx_bch2_alloc_sectors_start_trans+0x10/0x10 [ 95.176989][ T58] ? __mutex_unlock_slowpath+0x21e/0x790 [ 95.182617][ T58] ? __pfx___mutex_lock+0x10/0x10 [ 95.187634][ T58] bch2_btree_reserve_get+0x612/0x1890 [ 95.193090][ T58] ? __pfx_bch2_btree_reserve_get+0x10/0x10 [ 95.198974][ T58] ? percpu_up_read+0xdc/0x1b0 [ 95.203732][ T58] ? __pfx___bch2_disk_reservation_add+0x10/0x10 [ 95.210048][ T58] ? bch2_btree_update_start+0x682/0x14e0 [ 95.215756][ T58] bch2_btree_update_start+0xe56/0x14e0 [ 95.221292][ T58] ? bch2_btree_split_leaf+0x121/0x880 [ 95.226740][ T58] ? __pfx_bch2_btree_update_start+0x10/0x10 [ 95.232704][ T58] ? wb_flush_one_slowpath+0xf4/0x170 [ 95.238066][ T58] ? run_btree_triggers+0x1263/0x1270 [ 95.243427][ T58] ? __do_six_trylock+0x832/0x9f0 [ 95.248468][ T58] bch2_btree_split_leaf+0x121/0x880 [ 95.253742][ T58] bch2_trans_commit_error+0x212/0x1390 [ 95.259273][ T58] ? bch2_btree_write_buffer_flush_locked+0x2b23/0x5a40 [ 95.266203][ T58] ? six_unlock_ip+0x2ce/0x3e0 [ 95.270952][ T58] ? bch2_trans_unlock_write+0x892/0xce0 [ 95.276571][ T58] ? __pfx_bch2_trans_commit_error+0x10/0x10 [ 95.282534][ T58] ? bch2_trans_unlock_write+0xc2d/0xce0 [ 95.288154][ T58] ? bch2_btree_path_verify_locks+0x633/0x720 [ 95.294235][ T58] ? bch2_trans_verify_locks+0x339/0x3c0 [ 95.299860][ T58] __bch2_trans_commit+0x8069/0x9610 [ 95.305136][ T58] ? bch2_btree_write_buffer_flush_locked+0x2b23/0x5a40 [ 95.312061][ T58] ? __pfx___bch2_trans_commit+0x10/0x10 [ 95.317678][ T58] ? __asan_memset+0x23/0x50 [ 95.322258][ T58] ? wb_flush_one_slowpath+0x135/0x170 [ 95.327705][ T58] bch2_btree_write_buffer_flush_locked+0x2b23/0x5a40 [ 95.334468][ T58] ? __pfx_bch2_btree_write_buffer_flush_locked+0x10/0x10 [ 95.341568][ T58] ? rcu_is_watching+0x15/0xb0 [ 95.346325][ T58] ? bch2_btree_write_buffer_flush_locked+0x1582/0x5a40 [ 95.353255][ T58] bch2_btree_write_buffer_tryflush+0x16a/0x1c0 [ 95.359575][ T58] bch2_do_invalidates_work+0x131/0x2400 [ 95.365200][ T58] ? __pfx_validate_chain+0x10/0x10 [ 95.370394][ T58] ? stack_trace_save+0x118/0x1d0 [ 95.375410][ T58] ? __pfx_stack_trace_save+0x10/0x10 [ 95.380777][ T58] ? __pfx_bch2_do_invalidates_work+0x10/0x10 [ 95.386829][ T58] ? lockdep_unlock+0x16a/0x300 [ 95.391672][ T58] ? mark_lock+0x2ae/0x360 [ 95.396075][ T58] ? __lock_acquire+0x1397/0x2100 [ 95.401084][ T58] ? do_raw_spin_unlock+0x13c/0x8b0 [ 95.406276][ T58] ? __pfx_lock_acquire+0x10/0x10 [ 95.411286][ T58] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 95.417257][ T58] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 95.423573][ T58] ? process_scheduled_works+0x976/0x1850 [ 95.429283][ T58] process_scheduled_works+0xa63/0x1850 [ 95.434827][ T58] ? __pfx_process_scheduled_works+0x10/0x10 [ 95.440797][ T58] ? assign_work+0x364/0x3d0 [ 95.445379][ T58] worker_thread+0x870/0xd30 [ 95.449965][ T58] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 95.455846][ T58] ? __kthread_parkme+0x169/0x1d0 [ 95.460862][ T58] ? __pfx_worker_thread+0x10/0x10 [ 95.465963][ T58] kthread+0x2f0/0x390 [ 95.470019][ T58] ? __pfx_worker_thread+0x10/0x10 [ 95.475122][ T58] ? __pfx_kthread+0x10/0x10 [ 95.479697][ T58] ret_from_fork+0x4b/0x80 [ 95.484098][ T58] ? __pfx_kthread+0x10/0x10 [ 95.488673][ T58] ret_from_fork_asm+0x1a/0x30 [ 95.493435][ T58] [pid 5834] mount("/dev/loop0", "./file0", "bcachefs", 0, "errors=continue,fowner>00000000000000000000,pcr=00000000000000000019,euid<00000000000000000000,fsmag"... [pid 5833] kill(-5834, SIGKILL) = 0 [pid 5833] kill(5834, SIGKILL) = 0 [pid 5833] openat(AT_FDCWD, "/sys/fs/fuse/connections", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5833] newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(3, 0x5555692066f0 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(3, 0x5555692066f0 /* 0 entries */, 32768) = 0 [pid 5833] close(3) = 0