Warning: Permanently added '10.128.0.124' (ED25519) to the list of known hosts. executing program [ 42.275725][ T6515] loop0: detected capacity change from 0 to 32768 [ 42.354109][ T6515] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 42.354109][ T6515] allowing incompatible features above 0.0: (unknown version) [ 42.354109][ T6515] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 42.354203][ T6515] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 42.354312][ T6515] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 42.354448][ T6515] bcachefs (loop0): Version upgrade required: [ 42.354448][ T6515] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 42.354448][ T6515] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 42.354448][ T6515] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 42.367561][ T6515] bcachefs (loop0): accounting_read... done [ 42.399370][ T6515] bcachefs (loop0): alloc_read... done [ 42.400427][ T6515] bcachefs (loop0): snapshots_read... done [ 42.401104][ T6515] bcachefs (loop0): check_allocations... [ 42.403223][ T6515] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 42.403245][ T6515] while marking 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 [ 42.404586][ T6515] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 42.404601][ T6515] while marking 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 [ 42.405432][ T6515] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 42.405446][ T6515] while marking 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 [ 42.406368][ T6515] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 42.406382][ T6515] while marking 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 [ 42.409051][ T6515] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 42.409067][ T6515] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 42.409673][ T6515] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.409766][ T6515] bcachefs (loop0): bucket 0:1 gen 0 data type sb ** replaying previous printk message ** [ 42.409766][ T6515] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.410140][ T6515] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.410220][ T6515] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.410325][ T6515] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.410386][ T6515] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.410485][ T6515] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.410545][ T6515] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.410644][ T6515] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.410704][ T6515] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.410807][ T6515] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.410867][ T6515] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.410974][ T6515] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.411035][ T6515] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.411133][ T6515] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.411201][ T6515] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 42.411303][ T6515] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.411368][ T6515] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.411468][ T6515] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.411529][ T6515] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.411644][ T6515] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.411657][ T6515] Ratelimiting new instances of previous error [ 42.411737][ T6515] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.411750][ T6515] Ratelimiting new instances of previous error [ 42.416950][ T6515] done [ 42.419151][ T6515] bcachefs (loop0): going read-write [ 42.442482][ T6526] ODEBUG: object 00000000e5340f56 is on stack 00000000d448e1d2, but NOT annotated. [ 42.443175][ T6526] ------------[ cut here ]------------ [ 42.443196][ T6526] WARNING: CPU: 0 PID: 6526 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 42.517702][ T6526] Modules linked in: [ 42.519198][ T6526] CPU: 0 UID: 0 PID: 6526 Comm: bch-copygc/loop Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 42.522349][ T6526] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 42.524823][ T6515] bcachefs (loop0): journal_replay... [ 42.525086][ T6526] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 42.528750][ T6526] pc : __debug_object_init+0x364/0x40c [ 42.530279][ T6526] lr : __debug_object_init+0x364/0x40c [ 42.531777][ T6526] sp : ffff8000a3ac7700 [ 42.532916][ T6526] x29: ffff8000a3ac7700 x28: 0000000000000000 x27: dfff800000000000 [ 42.535128][ T6526] x26: ffff800097693000 x25: ffff0000c6f98020 x24: 0000000000000000 [ 42.537437][ T6526] x23: ffff0000c71c37e0 x22: 0000000000000000 x21: ffff8000976397e0 [ 42.539635][ T6526] x20: ffff80008af70de0 x19: ffff8000a3ac7bb0 x18: 00000000ffffffff [ 42.541985][ T6526] x17: ffff80009331f000 x16: ffff80008aec8e2c x15: 0000000000000001 [ 42.544268][ T6526] x14: 1ffff00014758e58 x13: 0000000000000000 x12: 0000000000000000 [ 42.546481][ T6526] x11: ffff700014758e59 x10: 0000000000ff0100 x9 : 54f9d829112f1f00 [ 42.548745][ T6526] x8 : 54f9d829112f1f00 x7 : 0000000000000001 x6 : 0000000000000001 [ 42.550950][ T6526] x5 : ffff8000a3ac7098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 42.553113][ T6526] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 ** replaying previous printk message ** [ 42.553244][ T6515] done [ 42.557094][ T6526] Call trace: [ 42.557522][ T6515] bcachefs (loop0): check_alloc_info... [ 42.558011][ T6526] __debug_object_init+0x364/0x40c (P) [ 42.561102][ T6526] debug_object_init+0x20/0x2c [ 42.562485][ T6526] __init_work+0x58/0x68 [ 42.563659][ T6526] rhashtable_init_noprof+0x734/0xa10 [ 42.565118][ T6526] bch2_copygc_thread+0xec/0xd40 [ 42.566497][ T6526] kthread+0x5fc/0x75c [ 42.567661][ T6526] ret_from_fork+0x10/0x20 [ 42.568900][ T6526] irq event stamp: 22 [ 42.570005][ T6526] hardirqs last enabled at (21): [] get_random_u32+0x2d4/0x540 [ 42.572624][ T6526] hardirqs last disabled at (22): [] _raw_spin_lock_irqsave+0x2c/0x7c [ 42.575334][ T6526] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 42.577843][ T6526] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 42.579821][ T6526] ---[ end trace 0000000000000000 ]--- [ 42.585685][ T6515] done [ 42.585733][ T6515] bcachefs (loop0): check_lrus... done [ 42.586649][ T6515] bcachefs (loop0): check_btree_backpointers... done [ 42.587580][ T6515] bcachefs (loop0): check_backpointers_to_extents... done [ 42.590218][ T6515] bcachefs (loop0): check_extents_to_backpointers... [ 42.590928][ T6515] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 42.592029][ T6515] done [ 42.594573][ T6515] bcachefs (loop0): check_alloc_to_lru_refs... done [ 42.596192][ T6515] bcachefs (loop0): bucket_gens_init... done [ 42.602403][ T6515] bcachefs (loop0): check_snapshot_trees... done [ 42.602972][ T6515] bcachefs (loop0): check_snapshots... [ 42.603402][ T6515] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 42.603419][ T6515] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 42.609838][ T6515] done [ 42.610751][ T6515] bcachefs (loop0): check_subvols... done [ 42.611792][ T6515] bcachefs (loop0): check_subvol_children... done [ 42.612553][ T6515] bcachefs (loop0): delete_dead_snapshots... done [ 42.613129][ T6515] bcachefs (loop0): check_inodes... [ 42.614306][ T6515] bcachefs (loop0): inode points to missing dirent [ 42.614321][ T6515] inum: 4099:4294967295 [ 42.614330][ T6515] mode=100755 [ 42.614339][ T6515] flags=(15300000) [ 42.614348][ T6515] journal_seq=5 [ 42.614357][ T6515] hash_seed=fc917866faeb7b5b [ 42.614367][ T6515] hash_type=siphash [ 42.614375][ T6515] bi_size=1050 [ 42.614384][ T6515] bi_sectors=8 [ 42.614393][ T6515] bi_version=0 [ 42.614402][ T6515] bi_atime=2770562249 [ 42.614411][ T6515] bi_ctime=2770562249 [ 42.614420][ T6515] bi_mtime=2770562249 [ 42.614429][ T6515] bi_otime=2770562249 [ 42.614438][ T6515] bi_uid=0 [ 42.614446][ T6515] bi_gid=0 [ 42.614455][ T6515] bi_nlink=0 [ 42.614464][ T6515] bi_generation=0 [ 42.614473][ T6515] bi_dev=0 [ 42.614481][ T6515] bi_data_checksum=0 [ 42.614490][ T6515] bi_compression=0 [ 42.614499][ T6515] bi_project=0 [ 42.614508][ T6515] bi_background_compression=0 [ 42.614517][ T6515] bi_data_replicas=0 [ 42.614526][ T6515] bi_promote_target=0 [ 42.614535][ T6515] bi_foreground_target=0 [ 42.614544][ T6515] bi_background_target=0 [ 42.614554][ T6515] bi_erasure_code=0 [ 42.614562][ T6515] bi_fields_set=0 [ 42.614571][ T6515] bi_dir=4098 [ 42.614580][ T6515] bi_dir_offset=8977922886548783724 [ 42.614589][ T6515] bi_subvol=0 [ 42.614598][ T6515] bi_parent_subvol=0 [ 42.614607][ T6515] bi_nocow=0 [ 42.614616][ T6515] bi_depth=0 [ 42.614625][ T6515] bi_inodes_32bit=0 [ 42.614634][ T6515] bi_casefold=0, fixing [ 42.615203][ T6515] bcachefs (loop0): inode points to missing dirent [ 42.615215][ T6515] inum: 4100:4294967295 [ 42.615224][ T6515] mode=120777 [ 42.615233][ T6515] flags=(15300000) [ 42.615242][ T6515] journal_seq=4 [ 42.615251][ T6515] hash_seed=f4891abdd5c0cd85 [ 42.615260][ T6515] hash_type=siphash [ 42.615269][ T6515] bi_size=38 [ 42.615277][ T6515] bi_sectors=8 [ 42.615286][ T6515] bi_version=0 [ 42.615300][ T6515] bi_atime=2770562249 [ 42.615309][ T6515] bi_ctime=2780562352 [ 42.615318][ T6515] bi_mtime=2770562249 [ 42.615327][ T6515] bi_otime=2770562249 [ 42.615336][ T6515] bi_uid=0 [ 42.615345][ T6515] bi_gid=0 [ 42.615354][ T6515] bi_nlink=0 [ 42.615362][ T6515] bi_generation=0 [ 42.615371][ T6515] bi_dev=0 [ 42.615380][ T6515] bi_data_checksum=0 [ 42.615389][ T6515] bi_compression=0 [ 42.615398][ T6515] bi_project=0 [ 42.615407][ T6515] bi_background_compression=0 [ 42.615416][ T6515] bi_data_replicas=0 [ 42.615425][ T6515] bi_promote_target=0 [ 42.615434][ T6515] bi_foreground_target=0 [ 42.615443][ T6515] bi_background_target=0 [ 42.615452][ T6515] bi_erasure_code=0 [ 42.615461][ T6515] bi_fields_set=0 [ 42.615470][ T6515] bi_dir=4098 [ 42.615479][ T6515] bi_dir_offset=5675548428000973578 [ 42.615488][ T6515] bi_subvol=0 [ 42.615497][ T6515] bi_parent_subvol=0 [ 42.615506][ T6515] bi_nocow=0 [ 42.615515][ T6515] bi_depth=0 [ 42.615523][ T6515] bi_inodes_32bit=0 [ 42.615532][ T6515] bi_casefold=0, fixing [ 42.616636][ T6515] done [ 42.617141][ T6515] bcachefs (loop0): check_extents... done [ 42.620800][ T6515] bcachefs (loop0): check_indirect_extents... done [ 42.621381][ T6515] bcachefs (loop0): check_dirents... [ 42.621909][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.621922][ T6515] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 42.621997][ T6515] ================================================================== [ 42.622011][ T6515] BUG: KASAN: slab-out-of-bounds in bch2_dirent_init_name+0x28c/0x670 [ 42.622029][ T6515] Write of size 1985 at addr ffff0000dda40041 by task syz-executor288/6515 [ 42.622044][ T6515] [ 42.622057][ T6515] CPU: 1 UID: 0 PID: 6515 Comm: syz-executor288 Tainted: G W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 42.622074][ T6515] Tainted: [W]=WARN [ 42.622078][ T6515] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 42.622084][ T6515] Call trace: [ 42.622088][ T6515] show_stack+0x2c/0x3c (C) [ 42.622104][ T6515] __dump_stack+0x30/0x40 [ 42.622118][ T6515] dump_stack_lvl+0xd8/0x12c [ 42.622131][ T6515] print_address_description+0xa8/0x254 [ 42.622144][ T6515] print_report+0x68/0x84 [ 42.622156][ T6515] kasan_report+0xb0/0x110 [ 42.622167][ T6515] kasan_check_range+0x264/0x2a4 [ 42.622185][ T6515] __asan_memset+0x34/0x64 [ 42.622196][ T6515] bch2_dirent_init_name+0x28c/0x670 [ 42.622207][ T6515] bch2_dirent_create_key+0x1b4/0x434 [ 42.622218][ T6515] bch2_check_dirents+0x1d1c/0x27ac [ 42.622235][ T6515] __bch2_run_recovery_passes+0x29c/0xd18 [ 42.622249][ T6515] bch2_run_recovery_passes+0x174/0x1f4 [ 42.622262][ T6515] bch2_fs_recovery+0x1db8/0x2fd4 [ 42.622275][ T6515] bch2_fs_start+0x914/0xbc0 [ 42.622288][ T6515] bch2_fs_get_tree+0x890/0xfd0 [ 42.622304][ T6515] vfs_get_tree+0x90/0x28c [ 42.622315][ T6515] do_new_mount+0x228/0x814 [ 42.622326][ T6515] path_mount+0x5b4/0xde0 [ 42.622337][ T6515] __arm64_sys_mount+0x3e8/0x468 [ 42.622348][ T6515] invoke_syscall+0x98/0x2b8 [ 42.622361][ T6515] el0_svc_common+0x130/0x23c [ 42.622374][ T6515] do_el0_svc+0x48/0x58 [ 42.622387][ T6515] el0_svc+0x58/0x17c [ 42.622400][ T6515] el0t_64_sync_handler+0x78/0x108 [ 42.622412][ T6515] el0t_64_sync+0x198/0x19c [ 42.622424][ T6515] [ 42.622566][ T6515] Allocated by task 6515: [ 42.622577][ T6515] kasan_save_track+0x40/0x78 [ 42.622595][ T6515] kasan_save_alloc_info+0x44/0x54 [ 42.622611][ T6515] __kasan_kmalloc+0x9c/0xb4 [ 42.622628][ T6515] __kmalloc_node_track_caller_noprof+0x304/0x4d0 [ 42.622644][ T6515] krealloc_noprof+0x11c/0x2f0 [ 42.622658][ T6515] __bch2_trans_kmalloc+0x1f4/0xb8c [ 42.622672][ T6515] bch2_trans_kmalloc+0x10c/0x160 [ 42.622687][ T6515] bch2_dirent_create_key+0x50/0x434 [ 42.622701][ T6515] bch2_check_dirents+0x1d1c/0x27ac [ 42.622718][ T6515] __bch2_run_recovery_passes+0x29c/0xd18 [ 42.622736][ T6515] bch2_run_recovery_passes+0x174/0x1f4 [ 42.622753][ T6515] bch2_fs_recovery+0x1db8/0x2fd4 [ 42.622769][ T6515] bch2_fs_start+0x914/0xbc0 [ 42.622786][ T6515] bch2_fs_get_tree+0x890/0xfd0 [ 42.622801][ T6515] vfs_get_tree+0x90/0x28c [ 42.622815][ T6515] do_new_mount+0x228/0x814 [ 42.622829][ T6515] path_mount+0x5b4/0xde0 [ 42.622843][ T6515] __arm64_sys_mount+0x3e8/0x468 [ 42.622858][ T6515] invoke_syscall+0x98/0x2b8 [ 42.622875][ T6515] el0_svc_common+0x130/0x23c [ 42.622892][ T6515] do_el0_svc+0x48/0x58 [ 42.622908][ T6515] el0_svc+0x58/0x17c [ 42.622923][ T6515] el0t_64_sync_handler+0x78/0x108 [ 42.622939][ T6515] el0t_64_sync+0x198/0x19c [ 42.622953][ T6515] [ 42.622962][ T6515] The buggy address belongs to the object at ffff0000dda40000 [ 42.622962][ T6515] which belongs to the cache kmalloc-2k of size 2048 [ 42.622977][ T6515] The buggy address is located 65 bytes inside of [ 42.622977][ T6515] allocated 2048-byte region [ffff0000dda40000, ffff0000dda40800) [ 42.622996][ T6515] [ 42.623004][ T6515] The buggy address belongs to the physical page: [ 42.623015][ T6515] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11da40 [ 42.623032][ T6515] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 42.623047][ T6515] flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) [ 42.623064][ T6515] page_type: f5(slab) [ 42.623080][ T6515] raw: 05ffc00000000040 ffff0000c0002000 dead000000000122 0000000000000000 [ 42.623096][ T6515] raw: 0000000000000000 0000000080080008 00000000f5000000 0000000000000000 [ 42.623112][ T6515] head: 05ffc00000000040 ffff0000c0002000 dead000000000122 0000000000000000 [ 42.623128][ T6515] head: 0000000000000000 0000000080080008 00000000f5000000 0000000000000000 [ 42.623143][ T6515] head: 05ffc00000000003 fffffdffc3769001 00000000ffffffff 00000000ffffffff [ 42.623159][ T6515] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 42.623175][ T6515] page dumped because: kasan: bad access detected [ 42.623186][ T6515] [ 42.623194][ T6515] Memory state around the buggy address: [ 42.623206][ T6515] ffff0000dda40700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.623219][ T6515] ffff0000dda40780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.623232][ T6515] >ffff0000dda40800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.623244][ T6515] ^ [ 42.623255][ T6515] ffff0000dda40880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.623268][ T6515] ffff0000dda40900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.623280][ T6515] ================================================================== [ 42.623296][ T6515] Disabling lock debugging due to kernel taint [ 42.623563][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.623574][ T6515] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 42.623752][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.623763][ T6515] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 42.623914][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.623925][ T6515] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 42.624087][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.624097][ T6515] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 42.624255][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.624265][ T6515] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 42.624439][ T6515] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 42.629344][ T6515] done [ 42.630996][ T6515] bcachefs (loop0): check_xattrs... done [ 42.632260][ T6515] bcachefs (loop0): check_root... done [ 42.632790][ T6515] bcachefs (loop0): check_unreachable_inodes... [ 42.633362][ T6515] bcachefs (loop0): unreachable inode: [ 42.633373][ T6515] inum: 4099:4294967295 [ 42.633381][ T6515] mode=100755 [ 42.633388][ T6515] flags=(4300000) [ 42.633396][ T6515] journal_seq=21 [ 42.633403][ T6515] hash_seed=fc917866faeb7b5b [ 42.633411][ T6515] hash_type=siphash [ 42.633418][ T6515] bi_size=1050 [ 42.633426][ T6515] bi_sectors=8 [ 42.633433][ T6515] bi_version=0 [ 42.633441][ T6515] bi_atime=2770562249 [ 42.633448][ T6515] bi_ctime=2770562249 [ 42.633456][ T6515] bi_mtime=2770562249 [ 42.633463][ T6515] bi_otime=2770562249 [ 42.633471][ T6515] bi_uid=0 [ 42.633478][ T6515] bi_gid=0 [ 42.633485][ T6515] bi_nlink=0 [ 42.633493][ T6515] bi_generation=0 [ 42.633500][ T6515] bi_dev=0 [ 42.633507][ T6515] bi_data_checksum=0 [ 42.633515][ T6515] bi_compression=0 [ 42.633522][ T6515] bi_project=0 [ 42.633530][ T6515] bi_background_compression=0 [ 42.633538][ T6515] bi_data_replicas=0 [ 42.633545][ T6515] bi_promote_target=0 [ 42.633553][ T6515] bi_foreground_target=0 [ 42.633560][ T6515] bi_background_target=0 [ 42.633568][ T6515] bi_erasure_code=0 [ 42.633575][ T6515] bi_fields_set=0 [ 42.633583][ T6515] bi_dir=0 [ 42.633590][ T6515] bi_dir_offset=0 [ 42.633597][ T6515] bi_subvol=0 [ 42.633605][ T6515] bi_parent_subvol=0 [ 42.633612][ T6515] bi_nocow=0 [ 42.633619][ T6515] bi_depth=0 [ 42.633627][ T6515] bi_inodes_32bit=0 [ 42.633634][ T6515] bi_casefold=0, fixing [ 42.634878][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.636468][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.637311][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.643272][ T6515] bcachefs (loop0): unreachable inode: [ 42.643285][ T6515] inum: 4100:4294967295 [ 42.643300][ T6515] mode=120777 [ 42.643308][ T6515] flags=(4300000) [ 42.643316][ T6515] journal_seq=21 [ 42.643323][ T6515] hash_seed=f4891abdd5c0cd85 [ 42.643331][ T6515] hash_type=siphash [ 42.643339][ T6515] bi_size=38 [ 42.643346][ T6515] bi_sectors=8 [ 42.643353][ T6515] bi_version=0 [ 42.643360][ T6515] bi_atime=2770562249 [ 42.643368][ T6515] bi_ctime=2780562352 [ 42.643375][ T6515] bi_mtime=2770562249 [ 42.643383][ T6515] bi_otime=2770562249 [ 42.643390][ T6515] bi_uid=0 [ 42.643398][ T6515] bi_gid=0 [ 42.643405][ T6515] bi_nlink=0 [ 42.643412][ T6515] bi_generation=0 [ 42.643420][ T6515] bi_dev=0 [ 42.643427][ T6515] bi_data_checksum=0 [ 42.643434][ T6515] bi_compression=0 [ 42.643442][ T6515] bi_project=0 [ 42.643449][ T6515] bi_background_compression=0 [ 42.643457][ T6515] bi_data_replicas=0 [ 42.643464][ T6515] bi_promote_target=0 [ 42.643472][ T6515] bi_foreground_target=0 [ 42.643479][ T6515] bi_background_target=0 [ 42.643487][ T6515] bi_erasure_code=0 [ 42.643494][ T6515] bi_fields_set=0 [ 42.643502][ T6515] bi_dir=0 [ 42.643509][ T6515] bi_dir_offset=0 [ 42.643517][ T6515] bi_subvol=0 [ 42.643524][ T6515] bi_parent_subvol=0 [ 42.643532][ T6515] bi_nocow=0 [ 42.643539][ T6515] bi_depth=0 [ 42.643546][ T6515] bi_inodes_32bit=0 [ 42.643554][ T6515] bi_casefold=0, fixing [ 42.644114][ T6515] bcachefs (loop0): unreachable inode: [ 42.644124][ T6515] inum: 536870913:4294967295 [ 42.644132][ T6515] mode=100755 [ 42.644139][ T6515] flags=(15300000) [ 42.644147][ T6515] journal_seq=22 [ 42.644154][ T6515] hash_seed=b68791a594a6d5ae [ 42.644162][ T6515] hash_type=siphash [ 42.644176][ T6515] bi_size=25769812776 [ 42.644184][ T6515] bi_sectors=24 [ 42.644191][ T6515] bi_version=0 [ 42.644198][ T6515] bi_atime=2780562352 [ 42.644206][ T6515] bi_ctime=2780562352 [ 42.644213][ T6515] bi_mtime=2780562352 [ 42.644221][ T6515] bi_otime=2780562352 [ 42.644229][ T6515] bi_uid=0 [ 42.644236][ T6515] bi_gid=0 [ 42.644243][ T6515] bi_nlink=1 [ 42.644250][ T6515] bi_generation=0 [ 42.644258][ T6515] bi_dev=0 [ 42.644265][ T6515] bi_data_checksum=0 [ 42.644272][ T6515] bi_compression=0 [ 42.644280][ T6515] bi_project=0 [ 42.644287][ T6515] bi_background_compression=0 [ 42.644304][ T6515] bi_data_replicas=0 [ 42.644312][ T6515] bi_promote_target=1 [ 42.644320][ T6515] bi_foreground_target=0 [ 42.644327][ T6515] bi_background_target=0 [ 42.644335][ T6515] bi_erasure_code=0 [ 42.644343][ T6515] bi_fields_set=0 [ 42.644350][ T6515] bi_dir=0 [ 42.644357][ T6515] bi_dir_offset=2695648408715017799 [ 42.644365][ T6515] bi_subvol=0 [ 42.644372][ T6515] bi_parent_subvol=0 [ 42.644380][ T6515] bi_nocow=0 [ 42.644387][ T6515] bi_depth=0 [ 42.644394][ T6515] bi_inodes_32bit=0 [ 42.644402][ T6515] bi_casefold=0, fixing [ 42.644897][ T6515] bcachefs (loop0): unreachable inode: [ 42.644907][ T6515] inum: 536870914:4294967295 [ 42.644915][ T6515] mode=100755 [ 42.644923][ T6515] flags=(15300000) [ 42.644930][ T6515] journal_seq=22 [ 42.644938][ T6515] hash_seed=d483206f1ed95abf [ 42.644945][ T6515] hash_type=siphash [ 42.644953][ T6515] bi_size=100 [ 42.644960][ T6515] bi_sectors=8 [ 42.644967][ T6515] bi_version=1126999418470400 [ 42.644975][ T6515] bi_atime=0 [ 42.644983][ T6515] bi_ctime=0 [ 42.644990][ T6515] bi_mtime=0 [ 42.644997][ T6515] bi_otime=2780562352 [ 42.645005][ T6515] bi_uid=2780562352 [ 42.645012][ T6515] bi_gid=0 [ 42.645019][ T6515] bi_nlink=2780562352 [ 42.645027][ T6515] bi_generation=0 [ 42.645034][ T6515] bi_dev=0 [ 42.645041][ T6515] bi_data_checksum=0 [ 42.645049][ T6515] bi_compression=0 [ 42.645056][ T6515] bi_project=0 [ 42.645064][ T6515] bi_background_compression=0 [ 42.645071][ T6515] bi_data_replicas=0 [ 42.645079][ T6515] bi_promote_target=0 [ 42.645086][ T6515] bi_foreground_target=0 [ 42.645094][ T6515] bi_background_target=0 [ 42.645102][ T6515] bi_erasure_code=0 [ 42.645109][ T6515] bi_fields_set=0 [ 42.645116][ T6515] bi_dir=0 [ 42.645124][ T6515] bi_dir_offset=9097378837824744618 [ 42.645132][ T6515] bi_subvol=0 [ 42.645139][ T6515] bi_parent_subvol=0 [ 42.645146][ T6515] bi_nocow=0 [ 42.645154][ T6515] bi_depth=0 [ 42.645161][ T6515] bi_inodes_32bit=0 [ 42.645175][ T6515] bi_casefold=0, fixing [ 42.645935][ T6515] done [ 42.646396][ T6515] bcachefs (loop0): check_subvolume_structure... done [ 42.646809][ T6515] bcachefs (loop0): check_directory_structure... [ 42.647095][ T6515] bcachefs (loop0): inode points to dirent that does not point back: [ 42.647095][ T6515] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 42.647095][ T6515] inum: 4097:4294967295 [ 42.647095][ T6515] mode=40700 [ 42.647095][ T6515] flags=has_case_insensitive(15300400) [ 42.647095][ T6515] journal_seq=22 [ 42.647095][ T6515] hash_seed=a9fcff247692d1ca [ 42.647095][ T6515] hash_type=siphash [ 42.647095][ T6515] bi_size=0 [ 42.647095][ T6515] bi_sectors=0 [ 42.647095][ T6515] bi_version=0 [ 42.647095][ T6515] bi_atime=200535484 [ 42.647095][ T6515] bi_ctime=200535484 [ 42.647095][ T6515] bi_mtime=200535484 [ 42.647095][ T6515] bi_otime=200535484 [ 42.647095][ T6515] bi_uid=0 [ 42.647095][ T6515] bi_gid=0 [ 42.647095][ T6515] bi_nlink=0 [ 42.647095][ T6515] bi_generation=0 [ 42.647095][ T6515] bi_dev=0 [ 42.647095][ T6515] bi_data_checksum=0 [ 42.647095][ T6515] bi_compression=0 [ 42.647095][ T6515] bi_project=0 [ 42.647095][ T6515] bi_background_compression=0 [ 42.647095][ T6515] bi_data_replicas=0 [ 42.647095][ T6515] bi_promote_target=0 [ 42.647095][ T6515] bi_foreground_target=0 [ 42.647095][ T6515] bi_background_target=0 [ 42.647095][ T6515] bi_erasure_code=0 [ 42.647095][ T6515] bi_fields_set=0 [ 42.647095][ T6515] bi_dir=4096 [ 42.647095][ T6515] bi_dir_offset=8130059955150870709 [ 42.647095][ T6515] bi_subvol=0 [ 42.647095][ T6515] bi_parent_subvol=0 [ 42.647095][ T6515] bi_nocow=0 [ 42.647095][ T6515] bi_depth=0 [ 42.647095][ T6515] bi_inodes_32bit=0 [ 42.647095][ T6515] bi_casefold=0 [ 42.647287][ T6515] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 42.647287][ T6515] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 42.647287][ T6515] mode=40700 [ 42.647287][ T6515] flags=has_case_insensitive(15300400) [ 42.647287][ T6515] journal_seq=22 [ 42.647287][ T6515] hash_seed=a9fcff247692d1ca [ 42.647287][ T6515] hash_type=siphash [ 42.647287][ T6515] bi_size=0 [ 42.647287][ T6515] bi_sectors=0 [ 42.647287][ T6515] bi_version=0 [ 42.647287][ T6515] bi_atime=200535484 [ 42.647287][ T6515] bi_ctime=200535484 [ 42.647287][ T6515] bi_mtime=200535484 [ 42.647287][ T6515] bi_otime=200535484 [ 42.647287][ T6515] bi_uid=0 [ 42.647287][ T6515] bi_gid=0 [ 42.647287][ T6515] bi_nlink=0 [ 42.647287][ T6515] bi_generation=0 [ 42.647287][ T6515] bi_dev=0 [ 42.647287][ T6515] bi_data_checksum=0 [ 42.647287][ T6515] bi_compression=0 [ 42.647287][ T6515] bi_project=0 [ 42.647287][ T6515] bi_background_compression=0 [ 42.647287][ T6515] bi_data_replicas=0 [ 42.647287][ T6515] bi_promote_target=0 [ 42.647287][ T6515] bi_foreground_target=0 [ 42.647287][ T6515] bi_background_target=0 [ 42.647287][ T6515] bi_erasure_code=0 [ 42.647287][ T6515] bi_fields_set=0 [ 42.647287][ T6515] bi_dir=4096 [ 42.647287][ T6515] bi_dir_offset=8130059955150870709 [ 42.647287][ T6515] bi_subvol=0 [ 42.647287][ T6515] bi_parent_subvol=0 [ 42.647287][ T6515] bi_nocow=0 [ 42.647287][ T6515] bi_depth=0 [ 42.647287][ T6515] bi_inodes_32bit=0 [ 42.647287][ T6515] bi_casefold=0 [ 42.647347][ T6515] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 42.647368][ T6515] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 42.647436][ T24] bcachefs (loop0): going read-only [ 42.647461][ T24] bcachefs (loop0): finished waiting for writes to stop [ 42.647537][ T6515] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 42.647565][ T6515] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 42.647585][ T6515] bcachefs (loop0): shutting down [ 42.688094][ T24] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 42.688141][ T24] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 42.688292][ T24] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 42.689224][ T24] bcachefs (loop0): done going read-only, filesystem not clean [ 42.695814][ T6515] bcachefs (loop0): shutdown complete [ 43.940042][ T6515] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 44.069739][ T6531] loop0: detected capacity change from 0 to 32768 [ 44.144712][ T6531] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 44.144712][ T6531] allowing incompatible features above 0.0: (unknown version) [ 44.144712][ T6531] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 44.144783][ T6531] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 44.145014][ T6531] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 44.145118][ T6531] bcachefs (loop0): Version upgrade required: [ 44.145118][ T6531] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 44.145118][ T6531] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 44.145118][ T6531] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 44.153296][ T6531] bcachefs (loop0): accounting_read... done [ 44.198579][ T6531] bcachefs (loop0): alloc_read... done [ 44.199658][ T6531] bcachefs (loop0): snapshots_read... done [ 44.200068][ T6531] bcachefs (loop0): check_allocations... [ 44.200920][ T6531] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 44.200934][ T6531] while marking 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 [ 44.201837][ T6531] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 44.201850][ T6531] while marking 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 [ 44.202472][ T6531] bcachefs (loop0): bucket 0:41 data ** replaying previous printk message ** [ 44.202472][ T6531] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 44.202484][ T6531] while marking 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 [ 44.203180][ T6531] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 44.203193][ T6531] while marking 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 [ 44.204401][ T6531] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 44.204414][ T6531] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 44.204883][ T6531] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.204933][ T6531] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.205083][ T6531] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.205133][ T6531] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.205224][ T6531] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.205282][ T6531] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.205361][ T6531] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.205410][ T6531] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.205488][ T6531] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.205544][ T6531] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.205660][ T6531] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.205712][ T6531] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.205791][ T6531] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.205840][ T6531] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.205918][ T6531] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.205967][ T6531] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 44.206051][ T6531] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 44.206101][ T6531] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 44.206193][ T6531] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 44.206243][ T6531] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 44.206333][ T6531] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 44.206344][ T6531] Ratelimiting new instances of previous error [ 44.206406][ T6531] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 44.206416][ T6531] Ratelimiting new instances of previous error [ 44.211919][ T6531] done [ 44.212903][ T6531] bcachefs (loop0): going read-write [ 44.219265][ T6540] ODEBUG: object 00000000086cdda9 is on stack 00000000e85e816e, but NOT annotated. [ 44.219643][ T6540] ------------[ cut here ]------------ [ 44.219656][ T6540] WARNING: CPU: 1 PID: 6540 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 44.316949][ T6540] Modules linked in: [ 44.318005][ T6540] CPU: 1 UID: 0 PID: 6540 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 44.320108][ T6531] bcachefs (loop0): journal_replay... [ 44.321606][ T6540] Tainted: [B]=BAD_PAGE, [W]=WARN [ 44.324528][ T6540] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 44.327321][ T6540] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 44.329457][ T6540] pc : __debug_object_init+0x364/0x40c [ 44.330966][ T6540] lr : __debug_object_init+0x364/0x40c [ 44.332486][ T6540] sp : ffff8000a4377700 [ 44.333634][ T6540] x29: ffff8000a4377700 x28: 0000000000000001 x27: dfff800000000000 [ 44.335674][ T6531] done [ 44.336521][ T6540] x26: ffff800097693000 x25: ffff0000cb4e8020 x24: 0000000000000000 [ 44.336710][ T6531] bcachefs (loop0): check_alloc_info... [ 44.338706][ T6540] x23: ffff0000c5c43d90 x22: 0000000000000000 x21: ffff8000975a74b8 ** replaying previous printk message ** [ 44.340455][ T6531] done [ 44.340497][ T6531] bcachefs (loop0): check_lrus... [ 44.344141][ T6540] x20: ffff80008af70de0 ** replaying previous printk message ** [ 44.344347][ T6531] done [ 44.348368][ T6540] x19: ffff8000a4377bb0 x18: 1fffe000337e1476 [ 44.350062][ T6540] x17: 7562202c65363138 x16: ffff80008aec8e2c x15: 0000000000000001 [ 44.352236][ T6540] x14: 1ffff0001486ee58 x13: 0000000000000000 x12: 0000000000000000 [ 44.354462][ T6540] x11: ffff70001486ee59 x10: 0000000000ff0100 x9 : 3fb2df4f8901da00 [ 44.356720][ T6540] x8 : 3fb2df4f8901da00 x7 : 0000000000000001 x6 : 0000000000000001 [ 44.358965][ T6540] x5 : ffff8000a4377098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 44.361197][ T6540] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 44.363401][ T6540] Call trace: [ 44.364320][ T6540] __debug_object_init+0x364/0x40c (P) [ 44.365796][ T6540] debug_object_init+0x20/0x2c [ 44.367145][ T6540] __init_work+0x58/0x68 [ 44.368375][ T6540] rhashtable_init_noprof+0x734/0xa10 [ 44.369822][ T6540] bch2_copygc_thread+0xec/0xd40 [ 44.371201][ T6540] kthread+0x5fc/0x75c [ 44.372352][ T6540] ret_from_fork+0x10/0x20 [ 44.373658][ T6540] irq event stamp: 0 [ 44.374701][ T6540] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 44.376715][ T6540] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 44.379269][ T6540] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 44.381818][ T6540] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 44.383777][ T6540] ---[ end trace 0000000000000000 ]--- [ 44.385424][ T6531] bcachefs (loop0): check_btree_backpointers... done [ 44.386245][ T6531] bcachefs (loop0): check_backpointers_to_extents... done [ 44.389414][ T6531] bcachefs (loop0): check_extents_to_backpointers... [ 44.389975][ T6531] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 44.396911][ T6531] done [ 44.397308][ T6531] bcachefs (loop0): check_alloc_to_lru_refs... done [ 44.398658][ T6531] bcachefs (loop0): bucket_gens_init... done [ 44.402507][ T6531] bcachefs (loop0): check_snapshot_trees... done [ 44.402898][ T6531] bcachefs (loop0): check_snapshots... [ 44.403103][ T6531] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 44.403114][ T6531] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 44.406538][ T6531] done [ 44.406893][ T6531] bcachefs (loop0): check_subvols... done [ 44.407541][ T6531] bcachefs (loop0): check_subvol_children... done [ 44.407985][ T6531] bcachefs (loop0): delete_dead_snapshots... done [ 44.408358][ T6531] bcachefs (loop0): check_inodes... [ 44.409149][ T6531] bcachefs (loop0): inode points to missing dirent [ 44.409161][ T6531] inum: 4099:4294967295 [ 44.409177][ T6531] mode=100755 [ 44.409186][ T6531] flags=(15300000) [ 44.409193][ T6531] journal_seq=5 [ 44.409201][ T6531] hash_seed=fc917866faeb7b5b [ 44.409208][ T6531] hash_type=siphash [ 44.409216][ T6531] bi_size=1050 [ 44.409223][ T6531] bi_sectors=8 [ 44.409230][ T6531] bi_version=0 [ 44.409237][ T6531] bi_atime=2770562249 [ 44.409245][ T6531] bi_ctime=2770562249 [ 44.409252][ T6531] bi_mtime=2770562249 [ 44.409260][ T6531] bi_otime=2770562249 [ 44.409267][ T6531] bi_uid=0 [ 44.409274][ T6531] bi_gid=0 [ 44.409281][ T6531] bi_nlink=0 [ 44.409289][ T6531] bi_generation=0 [ 44.409296][ T6531] bi_dev=0 [ 44.409303][ T6531] bi_data_checksum=0 [ 44.409310][ T6531] bi_compression=0 [ 44.409318][ T6531] bi_project=0 [ 44.409325][ T6531] bi_background_compression=0 [ 44.409333][ T6531] bi_data_replicas=0 [ 44.409340][ T6531] bi_promote_target=0 [ 44.409348][ T6531] bi_foreground_target=0 [ 44.409355][ T6531] bi_background_target=0 [ 44.409362][ T6531] bi_erasure_code=0 [ 44.409370][ T6531] bi_fields_set=0 [ 44.409377][ T6531] bi_dir=4098 [ 44.409384][ T6531] bi_dir_offset=8977922886548783724 [ 44.409392][ T6531] bi_subvol=0 [ 44.409399][ T6531] bi_parent_subvol=0 [ 44.409407][ T6531] bi_nocow=0 [ 44.409414][ T6531] bi_depth=0 [ 44.409421][ T6531] bi_inodes_32bit=0 [ 44.409428][ T6531] bi_casefold=0, fixing [ 44.409865][ T6531] bcachefs (loop0): inode points to missing dirent [ 44.409875][ T6531] inum: 4100:4294967295 [ 44.409882][ T6531] mode=120777 [ 44.409889][ T6531] flags=(15300000) [ 44.409897][ T6531] journal_seq=4 [ 44.409904][ T6531] hash_seed=f4891abdd5c0cd85 [ 44.409912][ T6531] hash_type=siphash [ 44.409919][ T6531] bi_size=38 [ 44.409926][ T6531] bi_sectors=8 [ 44.409934][ T6531] bi_version=0 [ 44.409941][ T6531] bi_atime=2770562249 [ 44.409949][ T6531] bi_ctime=2780562352 [ 44.409956][ T6531] bi_mtime=2770562249 [ 44.409963][ T6531] bi_otime=2770562249 [ 44.409971][ T6531] bi_uid=0 [ 44.409978][ T6531] bi_gid=0 [ 44.409985][ T6531] bi_nlink=0 [ 44.409992][ T6531] bi_generation=0 [ 44.410000][ T6531] bi_dev=0 [ 44.410007][ T6531] bi_data_checksum=0 [ 44.410014][ T6531] bi_compression=0 [ 44.410022][ T6531] bi_project=0 [ 44.410029][ T6531] bi_background_compression=0 [ 44.410037][ T6531] bi_data_replicas=0 [ 44.410044][ T6531] bi_promote_target=0 [ 44.410051][ T6531] bi_foreground_target=0 [ 44.410059][ T6531] bi_background_target=0 [ 44.410066][ T6531] bi_erasure_code=0 [ 44.410074][ T6531] bi_fields_set=0 [ 44.410081][ T6531] bi_dir=4098 [ 44.410089][ T6531] bi_dir_offset=5675548428000973578 [ 44.410097][ T6531] bi_subvol=0 [ 44.410104][ T6531] bi_parent_subvol=0 [ 44.410111][ T6531] bi_nocow=0 [ 44.410118][ T6531] bi_depth=0 [ 44.410126][ T6531] bi_inodes_32bit=0 [ 44.410133][ T6531] bi_casefold=0, fixing [ 44.410844][ T6531] done [ 44.411178][ T6531] bcachefs (loop0): check_extents... done [ 44.411980][ T6531] bcachefs (loop0): check_indirect_extents... done [ 44.412366][ T6531] bcachefs (loop0): check_dirents... [ 44.412748][ T6531] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.412759][ T6531] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 44.413025][ T6531] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.413036][ T6531] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 44.413220][ T6531] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.413231][ T6531] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 44.413387][ T6531] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.413397][ T6531] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 44.413569][ T6531] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.413579][ T6531] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 44.413732][ T6531] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.413742][ T6531] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 44.413886][ T6531] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 44.414323][ T6531] done [ 44.414669][ T6531] bcachefs (loop0): check_xattrs... done [ 44.415401][ T6531] bcachefs (loop0): check_root... done [ 44.415898][ T6531] bcachefs (loop0): check_unreachable_inodes... [ 44.416351][ T6531] bcachefs (loop0): unreachable inode: [ 44.416361][ T6531] inum: 4099:4294967295 [ 44.416369][ T6531] mode=100755 [ 44.416376][ T6531] flags=(4300000) [ 44.416384][ T6531] journal_seq=21 [ 44.416391][ T6531] hash_seed=fc917866faeb7b5b [ 44.416399][ T6531] hash_type=siphash [ 44.416406][ T6531] bi_size=1050 [ 44.416414][ T6531] bi_sectors=8 [ 44.416421][ T6531] bi_version=0 [ 44.416428][ T6531] bi_atime=2770562249 [ 44.416441][ T6531] bi_ctime=2770562249 [ 44.416449][ T6531] bi_mtime=2770562249 [ 44.416456][ T6531] bi_otime=2770562249 [ 44.416463][ T6531] bi_uid=0 [ 44.416471][ T6531] bi_gid=0 [ 44.416478][ T6531] bi_nlink=0 [ 44.416485][ T6531] bi_generation=0 [ 44.416493][ T6531] bi_dev=0 [ 44.416500][ T6531] bi_data_checksum=0 [ 44.416507][ T6531] bi_compression=0 [ 44.416515][ T6531] bi_project=0 [ 44.416522][ T6531] bi_background_compression=0 [ 44.416530][ T6531] bi_data_replicas=0 [ 44.416538][ T6531] bi_promote_target=0 [ 44.416545][ T6531] bi_foreground_target=0 [ 44.416553][ T6531] bi_background_target=0 [ 44.416560][ T6531] bi_erasure_code=0 [ 44.416568][ T6531] bi_fields_set=0 [ 44.416575][ T6531] bi_dir=0 [ 44.416582][ T6531] bi_dir_offset=0 [ 44.416590][ T6531] bi_subvol=0 [ 44.416597][ T6531] bi_parent_subvol=0 [ 44.416604][ T6531] bi_nocow=0 [ 44.416612][ T6531] bi_depth=0 [ 44.416619][ T6531] bi_inodes_32bit=0 [ 44.416626][ T6531] bi_casefold=0, fixing [ 44.417879][ T6531] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.419314][ T6531] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.420115][ T6531] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.424085][ T6531] bcachefs (loop0): unreachable inode: [ 44.424098][ T6531] inum: 4100:4294967295 [ 44.424106][ T6531] mode=120777 [ 44.424113][ T6531] flags=(4300000) [ 44.424120][ T6531] journal_seq=21 [ 44.424128][ T6531] hash_seed=f4891abdd5c0cd85 [ 44.424135][ T6531] hash_type=siphash [ 44.424143][ T6531] bi_size=38 [ 44.424150][ T6531] bi_sectors=8 [ 44.424158][ T6531] bi_version=0 [ 44.424165][ T6531] bi_atime=2770562249 [ 44.424182][ T6531] bi_ctime=2780562352 [ 44.424190][ T6531] bi_mtime=2770562249 [ 44.424198][ T6531] bi_otime=2770562249 [ 44.424205][ T6531] bi_uid=0 [ 44.424213][ T6531] bi_gid=0 [ 44.424220][ T6531] bi_nlink=0 [ 44.424227][ T6531] bi_generation=0 [ 44.424234][ T6531] bi_dev=0 [ 44.424241][ T6531] bi_data_checksum=0 [ 44.424249][ T6531] bi_compression=0 [ 44.424256][ T6531] bi_project=0 [ 44.424264][ T6531] bi_background_compression=0 [ 44.424272][ T6531] bi_data_replicas=0 [ 44.424279][ T6531] bi_promote_target=0 [ 44.424286][ T6531] bi_foreground_target=0 [ 44.424294][ T6531] bi_background_target=0 [ 44.424302][ T6531] bi_erasure_code=0 [ 44.424309][ T6531] bi_fields_set=0 [ 44.424317][ T6531] bi_dir=0 [ 44.424324][ T6531] bi_dir_offset=0 [ 44.424331][ T6531] bi_subvol=0 [ 44.424338][ T6531] bi_parent_subvol=0 [ 44.424346][ T6531] bi_nocow=0 [ 44.424353][ T6531] bi_depth=0 [ 44.424360][ T6531] bi_inodes_32bit=0 [ 44.424368][ T6531] bi_casefold=0, fixing [ 44.424906][ T6531] bcachefs (loop0): unreachable inode: [ 44.424916][ T6531] inum: 536870913:4294967295 [ 44.424924][ T6531] mode=100755 [ 44.424931][ T6531] flags=(15300000) [ 44.424938][ T6531] journal_seq=22 [ 44.424945][ T6531] hash_seed=b68791a594a6d5ae [ 44.424953][ T6531] hash_type=siphash [ 44.424961][ T6531] bi_size=25769812776 [ 44.424968][ T6531] bi_sectors=24 [ 44.424976][ T6531] bi_version=0 [ 44.424983][ T6531] bi_atime=2780562352 [ 44.424990][ T6531] bi_ctime=2780562352 [ 44.424998][ T6531] bi_mtime=2780562352 [ 44.425005][ T6531] bi_otime=2780562352 [ 44.425013][ T6531] bi_uid=0 [ 44.425020][ T6531] bi_gid=0 [ 44.425027][ T6531] bi_nlink=1 [ 44.425034][ T6531] bi_generation=0 [ 44.425042][ T6531] bi_dev=0 [ 44.425049][ T6531] bi_data_checksum=0 [ 44.425057][ T6531] bi_compression=0 [ 44.425064][ T6531] bi_project=0 [ 44.425071][ T6531] bi_background_compression=0 [ 44.425079][ T6531] bi_data_replicas=0 [ 44.425087][ T6531] bi_promote_target=1 [ 44.425094][ T6531] bi_foreground_target=0 [ 44.425102][ T6531] bi_background_target=0 [ 44.425109][ T6531] bi_erasure_code=0 [ 44.425116][ T6531] bi_fields_set=0 [ 44.425124][ T6531] bi_dir=0 [ 44.425131][ T6531] bi_dir_offset=2695648408715017799 [ 44.425139][ T6531] bi_subvol=0 [ 44.425146][ T6531] bi_parent_subvol=0 [ 44.425154][ T6531] bi_nocow=0 [ 44.425161][ T6531] bi_depth=0 [ 44.425174][ T6531] bi_inodes_32bit=0 [ 44.425182][ T6531] bi_casefold=0, fixing [ 44.425680][ T6531] bcachefs (loop0): unreachable inode: [ 44.425690][ T6531] inum: 536870914:4294967295 [ 44.425697][ T6531] mode=100755 [ 44.425705][ T6531] flags=(15300000) [ 44.425712][ T6531] journal_seq=22 [ 44.425719][ T6531] hash_seed=d483206f1ed95abf [ 44.425727][ T6531] hash_type=siphash [ 44.425734][ T6531] bi_size=100 [ 44.425742][ T6531] bi_sectors=8 [ 44.425749][ T6531] bi_version=1126999418470400 [ 44.425757][ T6531] bi_atime=0 [ 44.425764][ T6531] bi_ctime=0 [ 44.425771][ T6531] bi_mtime=0 [ 44.425778][ T6531] bi_otime=2780562352 [ 44.425786][ T6531] bi_uid=2780562352 [ 44.425793][ T6531] bi_gid=0 [ 44.425801][ T6531] bi_nlink=2780562352 [ 44.425808][ T6531] bi_generation=0 [ 44.425815][ T6531] bi_dev=0 [ 44.425822][ T6531] bi_data_checksum=0 [ 44.425830][ T6531] bi_compression=0 [ 44.425837][ T6531] bi_project=0 [ 44.425845][ T6531] bi_background_compression=0 [ 44.425852][ T6531] bi_data_replicas=0 [ 44.425860][ T6531] bi_promote_target=0 [ 44.425867][ T6531] bi_foreground_target=0 [ 44.425875][ T6531] bi_background_target=0 [ 44.425882][ T6531] bi_erasure_code=0 [ 44.425890][ T6531] bi_fields_set=0 [ 44.425897][ T6531] bi_dir=0 [ 44.425904][ T6531] bi_dir_offset=9097378837824744618 [ 44.425912][ T6531] bi_subvol=0 [ 44.425919][ T6531] bi_parent_subvol=0 [ 44.425927][ T6531] bi_nocow=0 [ 44.425934][ T6531] bi_depth=0 [ 44.425941][ T6531] bi_inodes_32bit=0 [ 44.425949][ T6531] bi_casefold=0, fixing [ 44.426734][ T6531] done [ 44.427111][ T6531] bcachefs (loop0): check_subvolume_structure... done [ 44.427525][ T6531] bcachefs (loop0): check_directory_structure... [ 44.427823][ T6531] bcachefs (loop0): inode points to dirent that does not point back: [ 44.427823][ T6531] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 44.427823][ T6531] inum: 4097:4294967295 [ 44.427823][ T6531] mode=40700 [ 44.427823][ T6531] flags=has_case_insensitive(15300400) [ 44.427823][ T6531] journal_seq=22 [ 44.427823][ T6531] hash_seed=a9fcff247692d1ca [ 44.427823][ T6531] hash_type=siphash [ 44.427823][ T6531] bi_size=0 [ 44.427823][ T6531] bi_sectors=0 [ 44.427823][ T6531] bi_version=0 [ 44.427823][ T6531] bi_atime=200535484 [ 44.427823][ T6531] bi_ctime=200535484 [ 44.427823][ T6531] bi_mtime=200535484 [ 44.427823][ T6531] bi_otime=200535484 [ 44.427823][ T6531] bi_uid=0 [ 44.427823][ T6531] bi_gid=0 [ 44.427823][ T6531] bi_nlink=0 [ 44.427823][ T6531] bi_generation=0 [ 44.427823][ T6531] bi_dev=0 [ 44.427823][ T6531] bi_data_checksum=0 [ 44.427823][ T6531] bi_compression=0 [ 44.427823][ T6531] bi_project=0 [ 44.427823][ T6531] bi_background_compression=0 [ 44.427823][ T6531] bi_data_replicas=0 [ 44.427823][ T6531] bi_promote_target=0 [ 44.427823][ T6531] bi_foreground_target=0 [ 44.427823][ T6531] bi_background_target=0 [ 44.427823][ T6531] bi_erasure_code=0 [ 44.427823][ T6531] bi_fields_set=0 [ 44.427823][ T6531] bi_dir=4096 [ 44.427823][ T6531] bi_dir_offset=8130059955150870709 [ 44.427823][ T6531] bi_subvol=0 [ 44.427823][ T6531] bi_parent_subvol=0 [ 44.427823][ T6531] bi_nocow=0 [ 44.427823][ T6531] bi_depth=0 [ 44.427823][ T6531] bi_inodes_32bit=0 [ 44.427823][ T6531] bi_casefold=0 [ 44.427974][ T6531] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 44.427974][ T6531] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 44.427974][ T6531] mode=40700 [ 44.427974][ T6531] flags=has_case_insensitive(15300400) [ 44.427974][ T6531] journal_seq=22 [ 44.427974][ T6531] hash_seed=a9fcff247692d1ca [ 44.427974][ T6531] hash_type=siphash [ 44.427974][ T6531] bi_size=0 [ 44.427974][ T6531] bi_sectors=0 [ 44.427974][ T6531] bi_version=0 [ 44.427974][ T6531] bi_atime=200535484 [ 44.427974][ T6531] bi_ctime=200535484 [ 44.427974][ T6531] bi_mtime=200535484 [ 44.427974][ T6531] bi_otime=200535484 [ 44.427974][ T6531] bi_uid=0 [ 44.427974][ T6531] bi_gid=0 [ 44.427974][ T6531] bi_nlink=0 [ 44.427974][ T6531] bi_generation=0 [ 44.427974][ T6531] bi_dev=0 [ 44.427974][ T6531] bi_data_checksum=0 [ 44.427974][ T6531] bi_compression=0 [ 44.427974][ T6531] bi_project=0 [ 44.427974][ T6531] bi_background_compression=0 [ 44.427974][ T6531] bi_data_replicas=0 [ 44.427974][ T6531] bi_promote_target=0 [ 44.427974][ T6531] bi_foreground_target=0 [ 44.427974][ T6531] bi_background_target=0 [ 44.427974][ T6531] bi_erasure_code=0 [ 44.427974][ T6531] bi_fields_set=0 [ 44.427974][ T6531] bi_dir=4096 [ 44.427974][ T6531] bi_dir_offset=8130059955150870709 [ 44.427974][ T6531] bi_subvol=0 [ 44.427974][ T6531] bi_parent_subvol=0 [ 44.427974][ T6531] bi_nocow=0 [ 44.427974][ T6531] bi_depth=0 [ 44.427974][ T6531] bi_inodes_32bit=0 [ 44.427974][ T6531] bi_casefold=0 [ 44.428023][ T6531] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 44.428042][ T6531] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 44.428101][ T10] bcachefs (loop0): going read-only [ 44.428128][ T10] bcachefs (loop0): finished waiting for writes to stop [ 44.428212][ T6531] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 44.428238][ T6531] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 44.428256][ T6531] bcachefs (loop0): shutting down [ 44.448187][ T10] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 44.448228][ T10] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 44.448367][ T10] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 44.449224][ T10] bcachefs (loop0): done going read-only, filesystem not clean [ 44.460059][ T6531] bcachefs (loop0): shutdown complete [ 45.579546][ T6531] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 45.709223][ T6543] loop0: detected capacity change from 0 to 32768 [ 45.784418][ T6543] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 45.784418][ T6543] allowing incompatible features above 0.0: (unknown version) [ 45.784418][ T6543] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 45.784490][ T6543] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 45.784822][ T6543] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 45.784930][ T6543] bcachefs (loop0): Version upgrade required: [ 45.784930][ T6543] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 45.784930][ T6543] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 45.784930][ T6543] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead ** replaying previous printk message ** [ 45.784930][ T6543] bcachefs (loop0): Version upgrade required: [ 45.784930][ T6543] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 45.784930][ T6543] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 45.784930][ T6543] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 45.793137][ T6543] bcachefs (loop0): accounting_read... done [ 45.793619][ T6543] bcachefs (loop0): alloc_read... done [ 45.794061][ T6543] bcachefs (loop0): snapshots_read... done [ 45.794470][ T6543] bcachefs (loop0): check_allocations... [ 45.795299][ T6543] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 45.795312][ T6543] while marking 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 [ 45.796218][ T6543] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 45.796231][ T6543] while marking 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 [ 45.796829][ T6543] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 45.796841][ T6543] while marking 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 [ 45.797528][ T6543] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 45.797541][ T6543] while marking 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 [ 45.799919][ T6543] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 45.799932][ T6543] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 45.800427][ T6543] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.800478][ T6543] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.800613][ T6543] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.800663][ T6543] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.800742][ T6543] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.800792][ T6543] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.800870][ T6543] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.800922][ T6543] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.801016][ T6543] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.801067][ T6543] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.801147][ T6543] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.801210][ T6543] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.801292][ T6543] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.801341][ T6543] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.801427][ T6543] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.801476][ T6543] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 45.801561][ T6543] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.801611][ T6543] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.801697][ T6543] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.801746][ T6543] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.801838][ T6543] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.801849][ T6543] Ratelimiting new instances of previous error [ 45.801910][ T6543] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.801921][ T6543] Ratelimiting new instances of previous error [ 45.805595][ T6543] done [ 45.806576][ T6543] bcachefs (loop0): going read-write [ 45.815112][ T6552] ODEBUG: object 00000000ac09488d is on stack 00000000005d44a9, but NOT annotated. [ 45.815512][ T6552] ------------[ cut here ]------------ [ 45.815525][ T6552] WARNING: CPU: 0 PID: 6552 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 45.954999][ T6552] Modules linked in: [ 45.956142][ T6552] CPU: 0 UID: 0 PID: 6552 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 45.958433][ T6543] bcachefs (loop0): journal_replay... [ 45.959751][ T6552] Tainted: [B]=BAD_PAGE, [W]=WARN [ 45.962689][ T6552] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 45.965545][ T6552] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 45.967763][ T6552] pc : __debug_object_init+0x364/0x40c [ 45.969264][ T6552] lr : __debug_object_init+0x364/0x40c [ 45.970803][ T6552] sp : ffff8000a3a37700 [ 45.971973][ T6552] x29: ffff8000a3a37700 x28: 0000000000000002 x27: dfff800000000000 ** replaying previous printk message ** [ 45.973111][ T6543] done [ 45.975945][ T6552] x26: ffff800097693000 x25: ffff0000cc2f1ea0 x24: 0000000000000000 [ 45.976223][ T6543] bcachefs (loop0): check_alloc_info... [ 45.978255][ T6552] x23: ffff0000c71c3968 ** replaying previous printk message ** [ 45.979190][ T6543] done [ 45.979237][ T6543] bcachefs (loop0): check_lrus... [ 45.982677][ T6552] x22: 0000000000000000 ** replaying previous printk message ** [ 45.982880][ T6543] done [ 45.982923][ T6543] bcachefs (loop0): check_btree_backpointers... [ 45.986915][ T6552] x21: ffff800097638988 ** replaying previous printk message ** [ 45.987140][ T6543] done [ 45.987189][ T6543] bcachefs (loop0): check_backpointers_to_extents... [ 45.991669][ T6552] ** replaying previous printk message ** [ 45.991903][ T6543] done [ 45.995967][ T6552] x20: ffff80008af70de0 x19: ffff8000a3a37bb0 x18: 1fffe000337dc876 ** replaying previous printk message ** [ 45.996283][ T6543] bcachefs (loop0): check_extents_to_backpointers... [ 45.996844][ T6543] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 46.003386][ T6552] x17: 7562202c39613434 x16: ffff80008aec8e2c x15: 0000000000000001 ** replaying previous printk message ** [ 46.003583][ T6543] done [ 46.007456][ T6552] x14: 1ffff00014746e58 x13: 0000000000000000 x12: 0000000000000000 [ 46.007779][ T6543] bcachefs (loop0): check_alloc_to_lru_refs... [ 46.009655][ T6552] x11: ffff700014746e59 ** replaying previous printk message ** [ 46.010419][ T6543] done [ 46.014240][ T6552] x10: 0000000000ff0100 x9 : 9e4e68f06bd2f600 [ 46.014457][ T6543] bcachefs (loop0): bucket_gens_init... [ 46.015931][ T6552] x8 : 9e4e68f06bd2f600 x7 : 0000000000000001 x6 : 0000000000000001 [ 46.019664][ T6552] x5 : ffff8000a3a37098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 46.021952][ T6552] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 46.024163][ T6552] Call trace: [ 46.025090][ T6552] __debug_object_init+0x364/0x40c (P) [ 46.026604][ T6552] debug_object_init+0x20/0x2c [ 46.027903][ T6552] __init_work+0x58/0x68 [ 46.029053][ T6552] rhashtable_init_noprof+0x734/0xa10 [ 46.030568][ T6552] bch2_copygc_thread+0xec/0xd40 [ 46.031955][ T6552] kthread+0x5fc/0x75c [ 46.033100][ T6552] ret_from_fork+0x10/0x20 [ 46.034368][ T6552] irq event stamp: 0 [ 46.035413][ T6552] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 46.037430][ T6552] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 46.040027][ T6552] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 46.042563][ T6552] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 46.044552][ T6552] ---[ end trace 0000000000000000 ]--- [ 46.047091][ T6543] done [ 46.048584][ T6543] bcachefs (loop0): check_snapshot_trees... done [ 46.050828][ T6543] bcachefs (loop0): check_snapshots... [ 46.051039][ T6543] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 46.051050][ T6543] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 46.054386][ T6543] done [ 46.054709][ T6543] bcachefs (loop0): check_subvols... done [ 46.055314][ T6543] bcachefs (loop0): check_subvol_children... done [ 46.055760][ T6543] bcachefs (loop0): delete_dead_snapshots... done [ 46.056111][ T6543] bcachefs (loop0): check_inodes... [ 46.056910][ T6543] bcachefs (loop0): inode points to missing dirent [ 46.056923][ T6543] inum: 4099:4294967295 [ 46.056930][ T6543] mode=100755 [ 46.056938][ T6543] flags=(15300000) [ 46.056945][ T6543] journal_seq=5 [ 46.056953][ T6543] hash_seed=fc917866faeb7b5b [ 46.056960][ T6543] hash_type=siphash [ 46.056968][ T6543] bi_size=1050 [ 46.056975][ T6543] bi_sectors=8 [ 46.056983][ T6543] bi_version=0 [ 46.056990][ T6543] bi_atime=2770562249 [ 46.056998][ T6543] bi_ctime=2770562249 [ 46.057005][ T6543] bi_mtime=2770562249 [ 46.057012][ T6543] bi_otime=2770562249 [ 46.057020][ T6543] bi_uid=0 [ 46.057027][ T6543] bi_gid=0 [ 46.057034][ T6543] bi_nlink=0 [ 46.057042][ T6543] bi_generation=0 [ 46.057049][ T6543] bi_dev=0 [ 46.057056][ T6543] bi_data_checksum=0 [ 46.057064][ T6543] bi_compression=0 [ 46.057071][ T6543] bi_project=0 [ 46.057078][ T6543] bi_background_compression=0 [ 46.057086][ T6543] bi_data_replicas=0 [ 46.057094][ T6543] bi_promote_target=0 [ 46.057101][ T6543] bi_foreground_target=0 [ 46.057109][ T6543] bi_background_target=0 [ 46.057116][ T6543] bi_erasure_code=0 [ 46.057124][ T6543] bi_fields_set=0 [ 46.057131][ T6543] bi_dir=4098 [ 46.057138][ T6543] bi_dir_offset=8977922886548783724 [ 46.057146][ T6543] bi_subvol=0 [ 46.057154][ T6543] bi_parent_subvol=0 [ 46.057161][ T6543] bi_nocow=0 [ 46.057176][ T6543] bi_depth=0 [ 46.057184][ T6543] bi_inodes_32bit=0 [ 46.057191][ T6543] bi_casefold=0, fixing [ 46.057623][ T6543] bcachefs (loop0): inode points to missing dirent [ 46.057633][ T6543] inum: 4100:4294967295 [ 46.057640][ T6543] mode=120777 [ 46.057648][ T6543] flags=(15300000) [ 46.057655][ T6543] journal_seq=4 [ 46.057663][ T6543] hash_seed=f4891abdd5c0cd85 [ 46.057670][ T6543] hash_type=siphash [ 46.058818][ T6543] bi_size=38 [ 46.058828][ T6543] bi_sectors=8 [ 46.058835][ T6543] bi_version=0 [ 46.058842][ T6543] bi_atime=2770562249 [ 46.058850][ T6543] bi_ctime=2780562352 [ 46.058857][ T6543] bi_mtime=2770562249 [ 46.058865][ T6543] bi_otime=2770562249 [ 46.058872][ T6543] bi_uid=0 [ 46.058880][ T6543] bi_gid=0 [ 46.058887][ T6543] bi_nlink=0 [ 46.058894][ T6543] bi_generation=0 [ 46.058902][ T6543] bi_dev=0 [ 46.058909][ T6543] bi_data_checksum=0 [ 46.058916][ T6543] bi_compression=0 [ 46.058923][ T6543] bi_project=0 [ 46.058931][ T6543] bi_background_compression=0 [ 46.058938][ T6543] bi_data_replicas=0 [ 46.058946][ T6543] bi_promote_target=0 [ 46.058954][ T6543] bi_foreground_target=0 [ 46.058961][ T6543] bi_background_target=0 [ 46.058969][ T6543] bi_erasure_code=0 [ 46.058976][ T6543] bi_fields_set=0 [ 46.058983][ T6543] bi_dir=4098 [ 46.058991][ T6543] bi_dir_offset=5675548428000973578 [ 46.058999][ T6543] bi_subvol=0 [ 46.059006][ T6543] bi_parent_subvol=0 [ 46.059013][ T6543] bi_nocow=0 [ 46.059020][ T6543] bi_depth=0 [ 46.059028][ T6543] bi_inodes_32bit=0 [ 46.059035][ T6543] bi_casefold=0, fixing [ 46.061079][ T6543] done [ 46.061655][ T6543] bcachefs (loop0): check_extents... done [ 46.063520][ T6543] bcachefs (loop0): check_indirect_extents... done [ 46.063906][ T6543] bcachefs (loop0): check_dirents... [ 46.064301][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.064312][ T6543] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 46.064597][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.064631][ T6543] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 46.064800][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.064811][ T6543] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 46.064962][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.064972][ T6543] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 46.065144][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.065154][ T6543] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 46.065335][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.065345][ T6543] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 46.065494][ T6543] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 46.065929][ T6543] done [ 46.066296][ T6543] bcachefs (loop0): check_xattrs... done [ 46.066997][ T6543] bcachefs (loop0): check_root... done [ 46.067492][ T6543] bcachefs (loop0): check_unreachable_inodes... [ 46.068269][ T6543] bcachefs (loop0): unreachable inode: [ 46.068280][ T6543] inum: 4099:4294967295 [ 46.068288][ T6543] mode=100755 [ 46.068295][ T6543] flags=(4300000) [ 46.068303][ T6543] journal_seq=21 [ 46.068310][ T6543] hash_seed=fc917866faeb7b5b [ 46.068318][ T6543] hash_type=siphash [ 46.068325][ T6543] bi_size=1050 [ 46.068332][ T6543] bi_sectors=8 [ 46.068340][ T6543] bi_version=0 [ 46.068347][ T6543] bi_atime=2770562249 [ 46.068355][ T6543] bi_ctime=2770562249 [ 46.068362][ T6543] bi_mtime=2770562249 [ 46.068369][ T6543] bi_otime=2770562249 [ 46.068377][ T6543] bi_uid=0 [ 46.068384][ T6543] bi_gid=0 [ 46.068391][ T6543] bi_nlink=0 [ 46.068398][ T6543] bi_generation=0 [ 46.068406][ T6543] bi_dev=0 [ 46.068413][ T6543] bi_data_checksum=0 [ 46.068420][ T6543] bi_compression=0 [ 46.068428][ T6543] bi_project=0 [ 46.068435][ T6543] bi_background_compression=0 [ 46.068443][ T6543] bi_data_replicas=0 [ 46.068450][ T6543] bi_promote_target=0 [ 46.068458][ T6543] bi_foreground_target=0 [ 46.068465][ T6543] bi_background_target=0 [ 46.068473][ T6543] bi_erasure_code=0 [ 46.068480][ T6543] bi_fields_set=0 [ 46.068487][ T6543] bi_dir=0 [ 46.068495][ T6543] bi_dir_offset=0 [ 46.068502][ T6543] bi_subvol=0 [ 46.068509][ T6543] bi_parent_subvol=0 [ 46.068517][ T6543] bi_nocow=0 [ 46.068524][ T6543] bi_depth=0 [ 46.068531][ T6543] bi_inodes_32bit=0 [ 46.068538][ T6543] bi_casefold=0, fixing [ 46.069678][ T6543] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.073512][ T6543] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.074324][ T6543] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.078937][ T6543] bcachefs (loop0): unreachable inode: [ 46.078950][ T6543] inum: 4100:4294967295 [ 46.078958][ T6543] mode=120777 [ 46.078965][ T6543] flags=(4300000) [ 46.078973][ T6543] journal_seq=21 [ 46.078980][ T6543] hash_seed=f4891abdd5c0cd85 [ 46.078988][ T6543] hash_type=siphash [ 46.078995][ T6543] bi_size=38 [ 46.079003][ T6543] bi_sectors=8 [ 46.079010][ T6543] bi_version=0 [ 46.079017][ T6543] bi_atime=2770562249 [ 46.079025][ T6543] bi_ctime=2780562352 [ 46.079032][ T6543] bi_mtime=2770562249 [ 46.079040][ T6543] bi_otime=2770562249 [ 46.079047][ T6543] bi_uid=0 [ 46.079055][ T6543] bi_gid=0 [ 46.079062][ T6543] bi_nlink=0 [ 46.079069][ T6543] bi_generation=0 [ 46.079076][ T6543] bi_dev=0 [ 46.079083][ T6543] bi_data_checksum=0 [ 46.079091][ T6543] bi_compression=0 [ 46.079098][ T6543] bi_project=0 [ 46.079106][ T6543] bi_background_compression=0 [ 46.079113][ T6543] bi_data_replicas=0 [ 46.079121][ T6543] bi_promote_target=0 [ 46.079128][ T6543] bi_foreground_target=0 [ 46.079136][ T6543] bi_background_target=0 [ 46.079144][ T6543] bi_erasure_code=0 [ 46.079151][ T6543] bi_fields_set=0 [ 46.079159][ T6543] bi_dir=0 [ 46.079166][ T6543] bi_dir_offset=0 [ 46.079184][ T6543] bi_subvol=0 [ 46.079191][ T6543] bi_parent_subvol=0 [ 46.079199][ T6543] bi_nocow=0 [ 46.079206][ T6543] bi_depth=0 [ 46.079213][ T6543] bi_inodes_32bit=0 [ 46.079220][ T6543] bi_casefold=0, fixing [ 46.079768][ T6543] bcachefs (loop0): unreachable inode: [ 46.079778][ T6543] inum: 536870913:4294967295 [ 46.079786][ T6543] mode=100755 [ 46.079793][ T6543] flags=(15300000) [ 46.079801][ T6543] journal_seq=22 [ 46.079808][ T6543] hash_seed=b68791a594a6d5ae [ 46.079816][ T6543] hash_type=siphash [ 46.079823][ T6543] bi_size=25769812776 [ 46.079831][ T6543] bi_sectors=24 [ 46.079838][ T6543] bi_version=0 [ 46.079845][ T6543] bi_atime=2780562352 [ 46.079853][ T6543] bi_ctime=2780562352 [ 46.079860][ T6543] bi_mtime=2780562352 [ 46.079868][ T6543] bi_otime=2780562352 [ 46.079875][ T6543] bi_uid=0 [ 46.079882][ T6543] bi_gid=0 [ 46.079890][ T6543] bi_nlink=1 [ 46.079897][ T6543] bi_generation=0 [ 46.079904][ T6543] bi_dev=0 [ 46.079911][ T6543] bi_data_checksum=0 [ 46.079919][ T6543] bi_compression=0 [ 46.079926][ T6543] bi_project=0 [ 46.079934][ T6543] bi_background_compression=0 [ 46.079941][ T6543] bi_data_replicas=0 [ 46.079949][ T6543] bi_promote_target=1 [ 46.079956][ T6543] bi_foreground_target=0 [ 46.079964][ T6543] bi_background_target=0 [ 46.079972][ T6543] bi_erasure_code=0 [ 46.079979][ T6543] bi_fields_set=0 [ 46.079986][ T6543] bi_dir=0 [ 46.079994][ T6543] bi_dir_offset=2695648408715017799 [ 46.080002][ T6543] bi_subvol=0 [ 46.080009][ T6543] bi_parent_subvol=0 [ 46.080016][ T6543] bi_nocow=0 [ 46.080024][ T6543] bi_depth=0 [ 46.080031][ T6543] bi_inodes_32bit=0 [ 46.080038][ T6543] bi_casefold=0, fixing [ 46.080556][ T6543] bcachefs (loop0): unreachable inode: [ 46.080566][ T6543] inum: 536870914:4294967295 [ 46.080574][ T6543] mode=100755 [ 46.080581][ T6543] flags=(15300000) [ 46.080588][ T6543] journal_seq=22 [ 46.080596][ T6543] hash_seed=d483206f1ed95abf [ 46.080603][ T6543] hash_type=siphash [ 46.080611][ T6543] bi_size=100 [ 46.080618][ T6543] bi_sectors=8 [ 46.080626][ T6543] bi_version=1126999418470400 [ 46.080633][ T6543] bi_atime=0 [ 46.080641][ T6543] bi_ctime=0 [ 46.080648][ T6543] bi_mtime=0 [ 46.080655][ T6543] bi_otime=2780562352 [ 46.080663][ T6543] bi_uid=2780562352 [ 46.080670][ T6543] bi_gid=0 [ 46.080677][ T6543] bi_nlink=2780562352 [ 46.080685][ T6543] bi_generation=0 [ 46.080693][ T6543] bi_dev=0 [ 46.080700][ T6543] bi_data_checksum=0 [ 46.080707][ T6543] bi_compression=0 [ 46.080715][ T6543] bi_project=0 [ 46.080722][ T6543] bi_background_compression=0 [ 46.080730][ T6543] bi_data_replicas=0 [ 46.080737][ T6543] bi_promote_target=0 [ 46.080745][ T6543] bi_foreground_target=0 [ 46.080752][ T6543] bi_background_target=0 [ 46.080760][ T6543] bi_erasure_code=0 [ 46.080767][ T6543] bi_fields_set=0 [ 46.080775][ T6543] bi_dir=0 [ 46.080782][ T6543] bi_dir_offset=9097378837824744618 [ 46.080790][ T6543] bi_subvol=0 [ 46.080797][ T6543] bi_parent_subvol=0 [ 46.080805][ T6543] bi_nocow=0 [ 46.080812][ T6543] bi_depth=0 [ 46.080819][ T6543] bi_inodes_32bit=0 [ 46.080827][ T6543] bi_casefold=0, fixing [ 46.081593][ T6543] done [ 46.081975][ T6543] bcachefs (loop0): check_subvolume_structure... done [ 46.082386][ T6543] bcachefs (loop0): check_directory_structure... [ 46.082617][ T6543] bcachefs (loop0): inode points to dirent that does not point back: [ 46.082617][ T6543] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 46.082617][ T6543] inum: 4097:4294967295 [ 46.082617][ T6543] mode=40700 [ 46.082617][ T6543] flags=has_case_insensitive(15300400) [ 46.082617][ T6543] journal_seq=22 [ 46.082617][ T6543] hash_seed=a9fcff247692d1ca [ 46.082617][ T6543] hash_type=siphash [ 46.082617][ T6543] bi_size=0 [ 46.082617][ T6543] bi_sectors=0 [ 46.082617][ T6543] bi_version=0 [ 46.082617][ T6543] bi_atime=200535484 [ 46.082617][ T6543] bi_ctime=200535484 [ 46.082617][ T6543] bi_mtime=200535484 [ 46.082617][ T6543] bi_otime=200535484 [ 46.082617][ T6543] bi_uid=0 [ 46.082617][ T6543] bi_gid=0 [ 46.082617][ T6543] bi_nlink=0 [ 46.082617][ T6543] bi_generation=0 [ 46.082617][ T6543] bi_dev=0 [ 46.082617][ T6543] bi_data_checksum=0 [ 46.082617][ T6543] bi_compression=0 [ 46.082617][ T6543] bi_project=0 [ 46.082617][ T6543] bi_background_compression=0 [ 46.082617][ T6543] bi_data_replicas=0 [ 46.082617][ T6543] bi_promote_target=0 [ 46.082617][ T6543] bi_foreground_target=0 [ 46.082617][ T6543] bi_background_target=0 [ 46.082617][ T6543] bi_erasure_code=0 [ 46.082617][ T6543] bi_fields_set=0 [ 46.082617][ T6543] bi_dir=4096 [ 46.082617][ T6543] bi_dir_offset=8130059955150870709 [ 46.082617][ T6543] bi_subvol=0 [ 46.082617][ T6543] bi_parent_subvol=0 [ 46.082617][ T6543] bi_nocow=0 [ 46.082617][ T6543] bi_depth=0 [ 46.082617][ T6543] bi_inodes_32bit=0 [ 46.082617][ T6543] bi_casefold=0 [ 46.082766][ T6543] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 46.082766][ T6543] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 46.082766][ T6543] mode=40700 [ 46.082766][ T6543] flags=has_case_insensitive(15300400) [ 46.082766][ T6543] journal_seq=22 [ 46.082766][ T6543] hash_seed=a9fcff247692d1ca [ 46.082766][ T6543] hash_type=siphash [ 46.082766][ T6543] bi_size=0 [ 46.082766][ T6543] bi_sectors=0 [ 46.082766][ T6543] bi_version=0 [ 46.082766][ T6543] bi_atime=200535484 [ 46.082766][ T6543] bi_ctime=200535484 [ 46.082766][ T6543] bi_mtime=200535484 [ 46.082766][ T6543] bi_otime=200535484 [ 46.082766][ T6543] bi_uid=0 [ 46.082766][ T6543] bi_gid=0 [ 46.082766][ T6543] bi_nlink=0 [ 46.082766][ T6543] bi_generation=0 [ 46.082766][ T6543] bi_dev=0 [ 46.082766][ T6543] bi_data_checksum=0 [ 46.082766][ T6543] bi_compression=0 [ 46.082766][ T6543] bi_project=0 [ 46.082766][ T6543] bi_background_compression=0 [ 46.082766][ T6543] bi_data_replicas=0 [ 46.082766][ T6543] bi_promote_target=0 [ 46.082766][ T6543] bi_foreground_target=0 [ 46.082766][ T6543] bi_background_target=0 [ 46.082766][ T6543] bi_erasure_code=0 [ 46.082766][ T6543] bi_fields_set=0 [ 46.082766][ T6543] bi_dir=4096 [ 46.082766][ T6543] bi_dir_offset=8130059955150870709 [ 46.082766][ T6543] bi_subvol=0 [ 46.082766][ T6543] bi_parent_subvol=0 [ 46.082766][ T6543] bi_nocow=0 [ 46.082766][ T6543] bi_depth=0 [ 46.082766][ T6543] bi_inodes_32bit=0 [ 46.082766][ T6543] bi_casefold=0 [ 46.082814][ T6543] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 46.082833][ T6543] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 46.082891][ T24] bcachefs (loop0): going read-only [ 46.082915][ T24] bcachefs (loop0): finished waiting for writes to stop [ 46.082989][ T6543] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 46.083015][ T6543] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 46.083033][ T6543] bcachefs (loop0): shutting down [ 46.118058][ T24] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 46.118103][ T24] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 46.118259][ T24] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 46.119121][ T24] bcachefs (loop0): done going read-only, filesystem not clean [ 46.125808][ T6543] bcachefs (loop0): shutdown complete [ 47.298899][ T6543] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 47.427025][ T6557] loop0: detected capacity change from 0 to 32768 [ 47.485083][ T6557] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 47.485083][ T6557] allowing incompatible features above 0.0: (unknown version) [ 47.485083][ T6557] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 47.485151][ T6557] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 47.485253][ T6557] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 47.485360][ T6557] bcachefs (loop0): Version upgrade required: [ 47.485360][ T6557] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 47.485360][ T6557] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 47.485360][ T6557] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 47.493564][ T6557] bcachefs (loop0): accounting_read... done [ 47.494027][ T6557] bcachefs (loop0): alloc_read... done [ 47.494457][ T6557] bcachefs (loop0): snapshots_read... done [ 47.494855][ T6557] bcachefs (loop0): check_allocations... [ 47.495654][ T6557] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 47.495668][ T6557] while marking 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 [ 47.496558][ T6557] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 47.496571][ T6557] while marking 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 [ 47.500106][ T6557] bcachefs (loop0): bucket 0:41 ** replaying previous printk message ** [ 47.500106][ T6557] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 47.500120][ T6557] while marking 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 [ 47.500781][ T6557] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 47.500794][ T6557] while marking 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 [ 47.507361][ T6557] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 47.507377][ T6557] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 47.507917][ T6557] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.507968][ T6557] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.508106][ T6557] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.508176][ T6557] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.508261][ T6557] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.508310][ T6557] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.508426][ T6557] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.508476][ T6557] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.508555][ T6557] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.508604][ T6557] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.508682][ T6557] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.508738][ T6557] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.508822][ T6557] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.508874][ T6557] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.508952][ T6557] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.509001][ T6557] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 47.509079][ T6557] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 47.509129][ T6557] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 47.509222][ T6557] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 47.509273][ T6557] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 47.509366][ T6557] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 47.509377][ T6557] Ratelimiting new instances of previous error [ 47.509439][ T6557] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 47.509450][ T6557] Ratelimiting new instances of previous error [ 47.513164][ T6557] done [ 47.514161][ T6557] bcachefs (loop0): going read-write [ 47.543267][ T6566] ODEBUG: object 0000000022614f40 is on stack 0000000081b7a1d2, but NOT annotated. [ 47.543644][ T6566] ------------[ cut here ]------------ [ 47.543657][ T6566] WARNING: CPU: 1 PID: 6566 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 47.643522][ T6566] Modules linked in: [ 47.644594][ T6566] CPU: 1 UID: 0 PID: 6566 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 47.646689][ T6557] bcachefs (loop0): journal_replay... [ 47.648217][ T6566] Tainted: [B]=BAD_PAGE, [W]=WARN [ 47.651143][ T6566] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 47.653980][ T6566] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 47.656151][ T6566] pc : __debug_object_init+0x364/0x40c [ 47.657646][ T6566] lr : __debug_object_init+0x364/0x40c [ 47.659183][ T6566] sp : ffff8000a42d7700 [ 47.660433][ T6566] x29: ffff8000a42d7700 x28: 0000000000000003 x27: dfff800000000000 [ 47.662511][ T6566] x26: ffff800097693000 x25: ffff0000ccb29ea0 x24: 0000000000000000 [ 47.664503][ T6566] x23: ffff0000cba9e310 x22: 0000000000000000 x21: ffff8000975864d0 [ 47.666629][ T6566] x20: ffff80008af70de0 x19: ffff8000a42d7bb0 x18: 1fffe000337e1476 [ 47.668919][ T6566] x17: 7562202c32643161 x16: ffff80008aec8e2c x15: 0000000000000001 [ 47.671213][ T6566] x14: 1ffff0001485ae58 x13: 0000000000000000 x12: 0000000000000000 [ 47.673472][ T6566] x11: ffff70001485ae59 x10: 0000000000ff0100 x9 : 0bc103e494464300 [ 47.675840][ T6566] x8 : 0bc103e494464300 x7 : 0000000000000001 x6 : 0000000000000001 [ 47.678087][ T6566] x5 : ffff8000a42d7098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 47.680283][ T6566] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 47.682532][ T6566] Call trace: [ 47.683467][ T6566] __debug_object_init+0x364/0x40c (P) [ 47.684997][ T6566] debug_object_init+0x20/0x2c [ 47.686371][ T6566] __init_work+0x58/0x68 [ 47.687582][ T6566] rhashtable_init_noprof+0x734/0xa10 [ 47.689127][ T6566] bch2_copygc_thread+0xec/0xd40 [ 47.690549][ T6566] kthread+0x5fc/0x75c [ 47.691746][ T6566] ret_from_fork+0x10/0x20 [ 47.693127][ T6566] irq event stamp: 0 [ 47.694279][ T6566] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 47.696308][ T6566] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 47.698935][ T6566] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 47.701515][ T6566] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 47.703548][ T6566] ---[ end trace 0000000000000000 ]--- [ 47.740395][ T6557] done [ 47.741619][ T6557] bcachefs (loop0): check_alloc_info... done [ 47.744010][ T6557] bcachefs (loop0): check_lrus... done [ 47.746364][ T6557] bcachefs (loop0): check_btree_backpointers... done [ 47.748365][ T6557] bcachefs (loop0): check_backpointers_to_extents... done [ 47.751159][ T6557] bcachefs (loop0): check_extents_to_backpointers... [ 47.751723][ T6557] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 47.752392][ T6557] done [ 47.752749][ T6557] bcachefs (loop0): check_alloc_to_lru_refs... done [ 47.753911][ T6557] bcachefs (loop0): bucket_gens_init... done [ 47.757401][ T6557] bcachefs (loop0): check_snapshot_trees... done [ 47.757838][ T6557] bcachefs (loop0): check_snapshots... [ 47.758069][ T6557] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 47.758080][ T6557] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 47.761697][ T6557] done [ 47.762039][ T6557] bcachefs (loop0): check_subvols... done [ 47.762693][ T6557] bcachefs (loop0): check_subvol_children... done [ 47.763105][ T6557] bcachefs (loop0): delete_dead_snapshots... done [ 47.763473][ T6557] bcachefs (loop0): check_inodes... [ 47.764301][ T6557] bcachefs (loop0): inode points to missing dirent [ 47.764313][ T6557] inum: 4099:4294967295 [ 47.764321][ T6557] mode=100755 [ 47.764329][ T6557] flags=(15300000) [ 47.764336][ T6557] journal_seq=5 [ 47.764344][ T6557] hash_seed=fc917866faeb7b5b [ 47.764351][ T6557] hash_type=siphash [ 47.764359][ T6557] bi_size=1050 [ 47.764366][ T6557] bi_sectors=8 [ 47.764373][ T6557] bi_version=0 [ 47.764381][ T6557] bi_atime=2770562249 [ 47.764388][ T6557] bi_ctime=2770562249 [ 47.764396][ T6557] bi_mtime=2770562249 [ 47.764403][ T6557] bi_otime=2770562249 [ 47.764411][ T6557] bi_uid=0 [ 47.764418][ T6557] bi_gid=0 [ 47.764425][ T6557] bi_nlink=0 [ 47.764433][ T6557] bi_generation=0 [ 47.764440][ T6557] bi_dev=0 [ 47.764447][ T6557] bi_data_checksum=0 [ 47.764460][ T6557] bi_compression=0 [ 47.764467][ T6557] bi_project=0 [ 47.764475][ T6557] bi_background_compression=0 [ 47.764482][ T6557] bi_data_replicas=0 [ 47.764490][ T6557] bi_promote_target=0 [ 47.764498][ T6557] bi_foreground_target=0 [ 47.764505][ T6557] bi_background_target=0 [ 47.764513][ T6557] bi_erasure_code=0 [ 47.764520][ T6557] bi_fields_set=0 [ 47.764528][ T6557] bi_dir=4098 [ 47.764535][ T6557] bi_dir_offset=8977922886548783724 [ 47.764543][ T6557] bi_subvol=0 [ 47.764551][ T6557] bi_parent_subvol=0 [ 47.764558][ T6557] bi_nocow=0 [ 47.764565][ T6557] bi_depth=0 [ 47.764573][ T6557] bi_inodes_32bit=0 [ 47.764580][ T6557] bi_casefold=0, fixing [ 47.765019][ T6557] bcachefs (loop0): inode points to missing dirent [ 47.765029][ T6557] inum: 4100:4294967295 [ 47.765037][ T6557] mode=120777 [ 47.765044][ T6557] flags=(15300000) [ 47.765051][ T6557] journal_seq=4 [ 47.765059][ T6557] hash_seed=f4891abdd5c0cd85 [ 47.765067][ T6557] hash_type=siphash [ 47.765074][ T6557] bi_size=38 [ 47.765082][ T6557] bi_sectors=8 [ 47.765089][ T6557] bi_version=0 [ 47.765096][ T6557] bi_atime=2770562249 [ 47.765104][ T6557] bi_ctime=2780562352 [ 47.765111][ T6557] bi_mtime=2770562249 [ 47.765119][ T6557] bi_otime=2770562249 [ 47.765126][ T6557] bi_uid=0 [ 47.765134][ T6557] bi_gid=0 [ 47.765141][ T6557] bi_nlink=0 [ 47.765148][ T6557] bi_generation=0 [ 47.765155][ T6557] bi_dev=0 [ 47.765163][ T6557] bi_data_checksum=0 [ 47.765176][ T6557] bi_compression=0 [ 47.765184][ T6557] bi_project=0 [ 47.765191][ T6557] bi_background_compression=0 [ 47.765199][ T6557] bi_data_replicas=0 [ 47.765207][ T6557] bi_promote_target=0 [ 47.765214][ T6557] bi_foreground_target=0 [ 47.765222][ T6557] bi_background_target=0 [ 47.765229][ T6557] bi_erasure_code=0 [ 47.765237][ T6557] bi_fields_set=0 [ 47.765244][ T6557] bi_dir=4098 [ 47.765251][ T6557] bi_dir_offset=5675548428000973578 [ 47.765259][ T6557] bi_subvol=0 [ 47.765267][ T6557] bi_parent_subvol=0 [ 47.765274][ T6557] bi_nocow=0 [ 47.765281][ T6557] bi_depth=0 [ 47.765288][ T6557] bi_inodes_32bit=0 [ 47.765296][ T6557] bi_casefold=0, fixing [ 47.766003][ T6557] done [ 47.766360][ T6557] bcachefs (loop0): check_extents... done [ 47.767164][ T6557] bcachefs (loop0): check_indirect_extents... done [ 47.767570][ T6557] bcachefs (loop0): check_dirents... [ 47.768347][ T6557] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.768359][ T6557] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 47.768661][ T6557] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.768672][ T6557] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 47.768852][ T6557] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.768863][ T6557] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 47.769015][ T6557] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.769026][ T6557] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 47.769196][ T6557] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.769206][ T6557] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 47.769358][ T6557] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.769368][ T6557] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 47.769529][ T6557] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 47.772481][ T6557] done [ 47.772988][ T6557] bcachefs (loop0): check_xattrs... done [ 47.775033][ T6557] bcachefs (loop0): check_root... done [ 47.776155][ T6557] bcachefs (loop0): check_unreachable_inodes... [ 47.776642][ T6557] bcachefs (loop0): unreachable inode: [ 47.776653][ T6557] inum: 4099:4294967295 [ 47.776661][ T6557] mode=100755 [ 47.776669][ T6557] flags=(4300000) [ 47.776676][ T6557] journal_seq=21 [ 47.776683][ T6557] hash_seed=fc917866faeb7b5b [ 47.776691][ T6557] hash_type=siphash [ 47.776699][ T6557] bi_size=1050 [ 47.776706][ T6557] bi_sectors=8 [ 47.776713][ T6557] bi_version=0 [ 47.776721][ T6557] bi_atime=2770562249 [ 47.776728][ T6557] bi_ctime=2770562249 [ 47.776736][ T6557] bi_mtime=2770562249 [ 47.776743][ T6557] bi_otime=2770562249 [ 47.776751][ T6557] bi_uid=0 [ 47.776758][ T6557] bi_gid=0 [ 47.776765][ T6557] bi_nlink=0 [ 47.776773][ T6557] bi_generation=0 [ 47.776780][ T6557] bi_dev=0 [ 47.776787][ T6557] bi_data_checksum=0 [ 47.776795][ T6557] bi_compression=0 [ 47.776802][ T6557] bi_project=0 [ 47.776810][ T6557] bi_background_compression=0 [ 47.776817][ T6557] bi_data_replicas=0 [ 47.776825][ T6557] bi_promote_target=0 [ 47.776832][ T6557] bi_foreground_target=0 [ 47.776840][ T6557] bi_background_target=0 [ 47.776848][ T6557] bi_erasure_code=0 [ 47.776855][ T6557] bi_fields_set=0 [ 47.776863][ T6557] bi_dir=0 [ 47.776870][ T6557] bi_dir_offset=0 [ 47.776877][ T6557] bi_subvol=0 [ 47.776885][ T6557] bi_parent_subvol=0 [ 47.776892][ T6557] bi_nocow=0 [ 47.776899][ T6557] bi_depth=0 [ 47.776907][ T6557] bi_inodes_32bit=0 [ 47.776914][ T6557] bi_casefold=0, fixing [ 47.779898][ T6557] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 47.781249][ T6557] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 47.782095][ T6557] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 47.786508][ T6557] bcachefs (loop0): unreachable inode: [ 47.786522][ T6557] inum: 4100:4294967295 [ 47.786529][ T6557] mode=120777 [ 47.786537][ T6557] flags=(4300000) [ 47.786544][ T6557] journal_seq=21 [ 47.786552][ T6557] hash_seed=f4891abdd5c0cd85 [ 47.786559][ T6557] hash_type=siphash [ 47.786567][ T6557] bi_size=38 [ 47.786574][ T6557] bi_sectors=8 [ 47.786581][ T6557] bi_version=0 [ 47.786589][ T6557] bi_atime=2770562249 [ 47.786596][ T6557] bi_ctime=2780562352 [ 47.786604][ T6557] bi_mtime=2770562249 [ 47.786611][ T6557] bi_otime=2770562249 [ 47.786619][ T6557] bi_uid=0 [ 47.786626][ T6557] bi_gid=0 [ 47.786633][ T6557] bi_nlink=0 [ 47.786640][ T6557] bi_generation=0 [ 47.786648][ T6557] bi_dev=0 [ 47.786655][ T6557] bi_data_checksum=0 [ 47.786662][ T6557] bi_compression=0 [ 47.786670][ T6557] bi_project=0 [ 47.786677][ T6557] bi_background_compression=0 [ 47.786685][ T6557] bi_data_replicas=0 [ 47.786692][ T6557] bi_promote_target=0 [ 47.786700][ T6557] bi_foreground_target=0 [ 47.786707][ T6557] bi_background_target=0 [ 47.786715][ T6557] bi_erasure_code=0 [ 47.786722][ T6557] bi_fields_set=0 [ 47.786730][ T6557] bi_dir=0 [ 47.786737][ T6557] bi_dir_offset=0 [ 47.786744][ T6557] bi_subvol=0 [ 47.786752][ T6557] bi_parent_subvol=0 [ 47.786759][ T6557] bi_nocow=0 [ 47.786766][ T6557] bi_depth=0 [ 47.786774][ T6557] bi_inodes_32bit=0 [ 47.786781][ T6557] bi_casefold=0, fixing [ 47.787351][ T6557] bcachefs (loop0): unreachable inode: [ 47.787361][ T6557] inum: 536870913:4294967295 [ 47.787369][ T6557] mode=100755 [ 47.787376][ T6557] flags=(15300000) [ 47.787384][ T6557] journal_seq=22 [ 47.787391][ T6557] hash_seed=b68791a594a6d5ae [ 47.787399][ T6557] hash_type=siphash [ 47.787406][ T6557] bi_size=25769812776 [ 47.787414][ T6557] bi_sectors=24 [ 47.787421][ T6557] bi_version=0 [ 47.787428][ T6557] bi_atime=2780562352 [ 47.787436][ T6557] bi_ctime=2780562352 [ 47.787443][ T6557] bi_mtime=2780562352 [ 47.787456][ T6557] bi_otime=2780562352 [ 47.787464][ T6557] bi_uid=0 [ 47.787471][ T6557] bi_gid=0 [ 47.787479][ T6557] bi_nlink=1 [ 47.787486][ T6557] bi_generation=0 [ 47.787493][ T6557] bi_dev=0 [ 47.787501][ T6557] bi_data_checksum=0 [ 47.787508][ T6557] bi_compression=0 [ 47.787515][ T6557] bi_project=0 [ 47.787523][ T6557] bi_background_compression=0 [ 47.787530][ T6557] bi_data_replicas=0 [ 47.787538][ T6557] bi_promote_target=1 [ 47.787545][ T6557] bi_foreground_target=0 [ 47.787553][ T6557] bi_background_target=0 [ 47.787561][ T6557] bi_erasure_code=0 [ 47.787568][ T6557] bi_fields_set=0 [ 47.787575][ T6557] bi_dir=0 [ 47.787583][ T6557] bi_dir_offset=2695648408715017799 [ 47.787600][ T6557] bi_subvol=0 [ 47.787608][ T6557] bi_parent_subvol=0 [ 47.787615][ T6557] bi_nocow=0 [ 47.787622][ T6557] bi_depth=0 [ 47.787630][ T6557] bi_inodes_32bit=0 [ 47.787637][ T6557] bi_casefold=0, fixing [ 47.788565][ T6557] bcachefs (loop0): unreachable inode: [ 47.788577][ T6557] inum: 536870914:4294967295 [ 47.788584][ T6557] mode=100755 [ 47.788592][ T6557] flags=(15300000) [ 47.788599][ T6557] journal_seq=22 [ 47.788607][ T6557] hash_seed=d483206f1ed95abf [ 47.788614][ T6557] hash_type=siphash [ 47.788622][ T6557] bi_size=100 [ 47.788629][ T6557] bi_sectors=8 [ 47.788637][ T6557] bi_version=1126999418470400 [ 47.788644][ T6557] bi_atime=0 [ 47.788652][ T6557] bi_ctime=0 [ 47.788659][ T6557] bi_mtime=0 [ 47.788666][ T6557] bi_otime=2780562352 [ 47.788674][ T6557] bi_uid=2780562352 [ 47.788681][ T6557] bi_gid=0 [ 47.788688][ T6557] bi_nlink=2780562352 [ 47.788696][ T6557] bi_generation=0 [ 47.788703][ T6557] bi_dev=0 [ 47.788710][ T6557] bi_data_checksum=0 [ 47.788718][ T6557] bi_compression=0 [ 47.788725][ T6557] bi_project=0 [ 47.788733][ T6557] bi_background_compression=0 [ 47.788740][ T6557] bi_data_replicas=0 [ 47.788748][ T6557] bi_promote_target=0 [ 47.788755][ T6557] bi_foreground_target=0 [ 47.788763][ T6557] bi_background_target=0 [ 47.788770][ T6557] bi_erasure_code=0 [ 47.788778][ T6557] bi_fields_set=0 [ 47.788785][ T6557] bi_dir=0 [ 47.788792][ T6557] bi_dir_offset=9097378837824744618 [ 47.788800][ T6557] bi_subvol=0 [ 47.788808][ T6557] bi_parent_subvol=0 [ 47.788815][ T6557] bi_nocow=0 [ 47.788822][ T6557] bi_depth=0 [ 47.788830][ T6557] bi_inodes_32bit=0 [ 47.788837][ T6557] bi_casefold=0, fixing [ 47.792059][ T6557] done [ 47.792851][ T6557] bcachefs (loop0): check_subvolume_structure... done [ 47.793765][ T6557] bcachefs (loop0): check_directory_structure... [ 47.794007][ T6557] bcachefs (loop0): inode points to dirent that does not point back: [ 47.794007][ T6557] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 47.794007][ T6557] inum: 4097:4294967295 [ 47.794007][ T6557] mode=40700 [ 47.794007][ T6557] flags=has_case_insensitive(15300400) [ 47.794007][ T6557] journal_seq=22 [ 47.794007][ T6557] hash_seed=a9fcff247692d1ca [ 47.794007][ T6557] hash_type=siphash [ 47.794007][ T6557] bi_size=0 [ 47.794007][ T6557] bi_sectors=0 [ 47.794007][ T6557] bi_version=0 [ 47.794007][ T6557] bi_atime=200535484 [ 47.794007][ T6557] bi_ctime=200535484 [ 47.794007][ T6557] bi_mtime=200535484 [ 47.794007][ T6557] bi_otime=200535484 [ 47.794007][ T6557] bi_uid=0 [ 47.794007][ T6557] bi_gid=0 [ 47.794007][ T6557] bi_nlink=0 [ 47.794007][ T6557] bi_generation=0 [ 47.794007][ T6557] bi_dev=0 [ 47.794007][ T6557] bi_data_checksum=0 [ 47.794007][ T6557] bi_compression=0 [ 47.794007][ T6557] bi_project=0 [ 47.794007][ T6557] bi_background_compression=0 [ 47.794007][ T6557] bi_data_replicas=0 [ 47.794007][ T6557] bi_promote_target=0 [ 47.794007][ T6557] bi_foreground_target=0 [ 47.794007][ T6557] bi_background_target=0 [ 47.794007][ T6557] bi_erasure_code=0 [ 47.794007][ T6557] bi_fields_set=0 [ 47.794007][ T6557] bi_dir=4096 [ 47.794007][ T6557] bi_dir_offset=8130059955150870709 [ 47.794007][ T6557] bi_subvol=0 [ 47.794007][ T6557] bi_parent_subvol=0 [ 47.794007][ T6557] bi_nocow=0 [ 47.794007][ T6557] bi_depth=0 [ 47.794007][ T6557] bi_inodes_32bit=0 [ 47.794007][ T6557] bi_casefold=0 [ 47.794158][ T6557] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 47.794158][ T6557] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 47.794158][ T6557] mode=40700 [ 47.794158][ T6557] flags=has_case_insensitive(15300400) [ 47.794158][ T6557] journal_seq=22 [ 47.794158][ T6557] hash_seed=a9fcff247692d1ca [ 47.794158][ T6557] hash_type=siphash [ 47.794158][ T6557] bi_size=0 [ 47.794158][ T6557] bi_sectors=0 [ 47.794158][ T6557] bi_version=0 [ 47.794158][ T6557] bi_atime=200535484 [ 47.794158][ T6557] bi_ctime=200535484 [ 47.794158][ T6557] bi_mtime=200535484 [ 47.794158][ T6557] bi_otime=200535484 [ 47.794158][ T6557] bi_uid=0 [ 47.794158][ T6557] bi_gid=0 [ 47.794158][ T6557] bi_nlink=0 [ 47.794158][ T6557] bi_generation=0 [ 47.794158][ T6557] bi_dev=0 [ 47.794158][ T6557] bi_data_checksum=0 [ 47.794158][ T6557] bi_compression=0 [ 47.794158][ T6557] bi_project=0 [ 47.794158][ T6557] bi_background_compression=0 [ 47.794158][ T6557] bi_data_replicas=0 [ 47.794158][ T6557] bi_promote_target=0 [ 47.794158][ T6557] bi_foreground_target=0 [ 47.794158][ T6557] bi_background_target=0 [ 47.794158][ T6557] bi_erasure_code=0 [ 47.794158][ T6557] bi_fields_set=0 [ 47.794158][ T6557] bi_dir=4096 [ 47.794158][ T6557] bi_dir_offset=8130059955150870709 [ 47.794158][ T6557] bi_subvol=0 [ 47.794158][ T6557] bi_parent_subvol=0 [ 47.794158][ T6557] bi_nocow=0 [ 47.794158][ T6557] bi_depth=0 [ 47.794158][ T6557] bi_inodes_32bit=0 [ 47.794158][ T6557] bi_casefold=0 [ 47.794220][ T6557] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 47.794240][ T6557] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 47.794301][ T10] bcachefs (loop0): going read-only [ 47.794327][ T10] bcachefs (loop0): finished waiting for writes to stop [ 47.795208][ T6557] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 47.795236][ T6557] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 47.795255][ T6557] bcachefs (loop0): shutting down [ 47.828102][ T10] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 47.828147][ T10] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 47.828265][ T10] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 47.829198][ T10] bcachefs (loop0): done going read-only, filesystem not clean [ 47.835626][ T6557] bcachefs (loop0): shutdown complete [ 48.939361][ T6557] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 49.072616][ T6571] loop0: detected capacity change from 0 to 32768 [ 49.124951][ T6571] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 49.124951][ T6571] allowing incompatible features above 0.0: (unknown version) [ 49.124951][ T6571] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 49.125019][ T6571] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 49.125113][ T6571] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 49.125235][ T6571] bcachefs (loop0): Version upgrade required: [ 49.125235][ T6571] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 49.125235][ T6571] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 49.125235][ T6571] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 49.138314][ T6571] bcachefs (loop0): accounting_read... done [ 49.178718][ T6571] bcachefs (loop0): alloc_read... done [ 49.180838][ T6571] bcachefs (loop0): snapshots_read... done [ 49.181991][ T6571] bcachefs (loop0): check_allocations... [ 49.182863][ T6571] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 49.182877][ T6571] while marking 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 [ 49.183784][ T6571] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 49.183797][ T6571] while marking 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 [ 49.184439][ T6571] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 miss ** replaying previous printk message ** [ 49.184439][ T6571] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 49.184452][ T6571] while marking 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 [ 49.185155][ T6571] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 49.185167][ T6571] while marking 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 [ 49.186269][ T6571] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 49.186283][ T6571] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 49.186776][ T6571] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 49.186829][ T6571] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 49.186976][ T6571] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 49.187029][ T6571] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 49.187109][ T6571] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 49.187158][ T6571] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 49.187248][ T6571] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 49.187298][ T6571] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 49.187376][ T6571] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 49.187434][ T6571] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 49.187522][ T6571] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 49.187573][ T6571] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 49.187651][ T6571] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 49.188050][ T6571] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 49.188137][ T6571] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 49.188201][ T6571] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 49.188282][ T6571] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 49.188331][ T6571] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 49.188454][ T6571] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 49.188504][ T6571] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 49.188594][ T6571] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 49.188605][ T6571] Ratelimiting new instances of previous error [ 49.188666][ T6571] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 49.188676][ T6571] Ratelimiting new instances of previous error [ 49.193693][ T6571] done [ 49.194681][ T6571] bcachefs (loop0): going read-write [ 49.201603][ T6581] ODEBUG: object 00000000492e06c1 is on stack 00000000e6e1f9c9, but NOT annotated. [ 49.201982][ T6581] ------------[ cut here ]------------ [ 49.201995][ T6581] WARNING: CPU: 1 PID: 6581 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 49.300482][ T6581] Modules linked in: [ 49.301554][ T6581] CPU: 1 UID: 0 PID: 6581 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 49.305337][ T6581] Tainted: [B]=BAD_PAGE, [W]=WARN [ 49.306746][ T6581] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 49.309564][ T6581] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 49.311753][ T6581] pc : __debug_object_init+0x364/0x40c [ 49.313352][ T6581] lr : __debug_object_init+0x364/0x40c [ 49.314914][ T6581] sp : ffff80009ec97700 [ 49.316086][ T6581] x29: ffff80009ec97700 x28: 0000000000000004 x27: dfff800000000000 [ 49.318502][ T6581] x26: ffff800097693000 x25: ffff0000cba05ba0 x24: 0000000000000000 [ 49.320789][ T6581] x23: ffff0000d46b9380 x22: 0000000000000000 x21: ffff8000975bd298 [ 49.323068][ T6581] x20: ffff80008af70de0 x19: ffff80009ec97bb0 x18: 1fffe000337e1476 [ 49.325314][ T6581] x17: 7562202c39633966 x16: ffff80008aec8e2c x15: 0000000000000001 [ 49.327631][ T6581] x14: 1ffff00013d92e58 x13: 0000000000000000 x12: 0000000000000000 [ 49.329841][ T6581] x11: ffff700013d92e59 x10: 0000000000ff0100 x9 : fb2c3dc10b804900 [ 49.332115][ T6581] x8 : fb2c3dc10b804900 x7 : 0000000000000001 x6 : 0000000000000001 [ 49.334301][ T6581] x5 : ffff80009ec97098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 49.336546][ T6581] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 49.338794][ T6581] Call trace: [ 49.339738][ T6581] __debug_object_init+0x364/0x40c (P) [ 49.341247][ T6581] debug_object_init+0x20/0x2c [ 49.342596][ T6581] __init_work+0x58/0x68 [ 49.343781][ T6581] rhashtable_init_noprof+0x734/0xa10 [ 49.345319][ T6581] bch2_copygc_thread+0xec/0xd40 [ 49.346710][ T6581] kthread+0x5fc/0x75c [ 49.347833][ T6581] ret_from_fork+0x10/0x20 [ 49.349085][ T6581] irq event stamp: 0 [ 49.350137][ T6581] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 49.352128][ T6581] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 49.354654][ T6581] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 49.357292][ T6581] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 49.359315][ T6581] ---[ end trace 0000000000000000 ]--- [ 49.362471][ T6571] bcachefs (loop0): journal_replay... done [ 49.375155][ T6571] bcachefs (loop0): check_alloc_info... done [ 49.377495][ T6571] bcachefs (loop0): check_lrus... done [ 49.379940][ T6571] bcachefs (loop0): check_btree_backpointers... done [ 49.381641][ T6571] bcachefs (loop0): check_backpointers_to_extents... done [ 49.383132][ T6571] bcachefs (loop0): check_extents_to_backpointers... [ 49.383699][ T6571] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 49.384373][ T6571] done [ 49.384712][ T6571] bcachefs (loop0): check_alloc_to_lru_refs... done [ 49.385835][ T6571] bcachefs (loop0): bucket_gens_init... done [ 49.389993][ T6571] bcachefs (loop0): check_snapshot_trees... done [ 49.390428][ T6571] bcachefs (loop0): check_snapshots... [ 49.390661][ T6571] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 49.390673][ T6571] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 49.394146][ T6571] done [ 49.394505][ T6571] bcachefs (loop0): check_subvols... done [ 49.395208][ T6571] bcachefs (loop0): check_subvol_children... done [ 49.395624][ T6571] bcachefs (loop0): delete_dead_snapshots... done [ 49.395992][ T6571] bcachefs (loop0): check_inodes... [ 49.396814][ T6571] bcachefs (loop0): inode points to missing dirent [ 49.396826][ T6571] inum: 4099:4294967295 [ 49.396834][ T6571] mode=100755 [ 49.396842][ T6571] flags=(15300000) [ 49.396849][ T6571] journal_seq=5 [ 49.396857][ T6571] hash_seed=fc917866faeb7b5b [ 49.396865][ T6571] hash_type=siphash [ 49.396872][ T6571] bi_size=1050 [ 49.396880][ T6571] bi_sectors=8 [ 49.396887][ T6571] bi_version=0 [ 49.396894][ T6571] bi_atime=2770562249 [ 49.396902][ T6571] bi_ctime=2770562249 [ 49.396909][ T6571] bi_mtime=2770562249 [ 49.396917][ T6571] bi_otime=2770562249 [ 49.396924][ T6571] bi_uid=0 [ 49.396932][ T6571] bi_gid=0 [ 49.396939][ T6571] bi_nlink=0 [ 49.396946][ T6571] bi_generation=0 [ 49.396954][ T6571] bi_dev=0 [ 49.396961][ T6571] bi_data_checksum=0 [ 49.396968][ T6571] bi_compression=0 [ 49.396976][ T6571] bi_project=0 [ 49.396983][ T6571] bi_background_compression=0 [ 49.396991][ T6571] bi_data_replicas=0 [ 49.396998][ T6571] bi_promote_target=0 [ 49.397006][ T6571] bi_foreground_target=0 [ 49.397014][ T6571] bi_background_target=0 [ 49.397021][ T6571] bi_erasure_code=0 [ 49.397029][ T6571] bi_fields_set=0 [ 49.397036][ T6571] bi_dir=4098 [ 49.397043][ T6571] bi_dir_offset=8977922886548783724 [ 49.397051][ T6571] bi_subvol=0 [ 49.397058][ T6571] bi_parent_subvol=0 [ 49.397066][ T6571] bi_nocow=0 [ 49.397073][ T6571] bi_depth=0 [ 49.397081][ T6571] bi_inodes_32bit=0 [ 49.397088][ T6571] bi_casefold=0, fixing [ 49.397526][ T6571] bcachefs (loop0): inode points to missing dirent [ 49.397536][ T6571] inum: 4100:4294967295 [ 49.397544][ T6571] mode=120777 [ 49.397551][ T6571] flags=(15300000) [ 49.397559][ T6571] journal_seq=4 [ 49.397566][ T6571] hash_seed=f4891abdd5c0cd85 [ 49.397574][ T6571] hash_type=siphash [ 49.397581][ T6571] bi_size=38 [ 49.397588][ T6571] bi_sectors=8 [ 49.397596][ T6571] bi_version=0 [ 49.397603][ T6571] bi_atime=2770562249 [ 49.397616][ T6571] bi_ctime=2780562352 [ 49.397624][ T6571] bi_mtime=2770562249 [ 49.397632][ T6571] bi_otime=2770562249 [ 49.397639][ T6571] bi_uid=0 [ 49.397647][ T6571] bi_gid=0 [ 49.397654][ T6571] bi_nlink=0 [ 49.397661][ T6571] bi_generation=0 [ 49.397668][ T6571] bi_dev=0 [ 49.399005][ T6571] bi_data_checksum=0 [ 49.399016][ T6571] bi_compression=0 [ 49.399024][ T6571] bi_project=0 [ 49.399031][ T6571] bi_background_compression=0 [ 49.399039][ T6571] bi_data_replicas=0 [ 49.399046][ T6571] bi_promote_target=0 [ 49.399053][ T6571] bi_foreground_target=0 [ 49.399061][ T6571] bi_background_target=0 [ 49.399069][ T6571] bi_erasure_code=0 [ 49.399076][ T6571] bi_fields_set=0 [ 49.399083][ T6571] bi_dir=4098 [ 49.399091][ T6571] bi_dir_offset=5675548428000973578 [ 49.399099][ T6571] bi_subvol=0 [ 49.399106][ T6571] bi_parent_subvol=0 [ 49.399113][ T6571] bi_nocow=0 [ 49.399120][ T6571] bi_depth=0 [ 49.399128][ T6571] bi_inodes_32bit=0 [ 49.399135][ T6571] bi_casefold=0, fixing [ 49.400943][ T6571] done [ 49.401478][ T6571] bcachefs (loop0): check_extents... done [ 49.403591][ T6571] bcachefs (loop0): check_indirect_extents... done [ 49.404182][ T6571] bcachefs (loop0): check_dirents... [ 49.404562][ T6571] bcachefs (loop0): dirent casefold does not match dir casefold [ 49.404574][ T6571] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 49.404875][ T6571] bcachefs (loop0): dirent casefold does not match dir casefold [ 49.404886][ T6571] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 49.405059][ T6571] bcachefs (loop0): dirent casefold does not match dir casefold [ 49.405069][ T6571] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 49.405231][ T6571] bcachefs (loop0): dirent casefold does not match dir casefold [ 49.405241][ T6571] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 49.405408][ T6571] bcachefs (loop0): dirent casefold does not match dir casefold [ 49.405418][ T6571] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 49.405580][ T6571] bcachefs (loop0): dirent casefold does not match dir casefold [ 49.405590][ T6571] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 49.405751][ T6571] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 49.406202][ T6571] done [ 49.406571][ T6571] bcachefs (loop0): check_xattrs... done [ 49.407329][ T6571] bcachefs (loop0): check_root... done [ 49.408437][ T6571] bcachefs (loop0): check_unreachable_inodes... [ 49.409332][ T6571] bcachefs (loop0): unreachable inode: [ 49.409345][ T6571] inum: 4099:4294967295 [ 49.409354][ T6571] mode=100755 [ 49.409361][ T6571] flags=(4300000) [ 49.409369][ T6571] journal_seq=20 [ 49.409376][ T6571] hash_seed=fc917866faeb7b5b [ 49.409384][ T6571] hash_type=siphash [ 49.409391][ T6571] bi_size=1050 [ 49.409398][ T6571] bi_sectors=8 [ 49.409406][ T6571] bi_version=0 [ 49.409413][ T6571] bi_atime=2770562249 [ 49.409421][ T6571] bi_ctime=2770562249 [ 49.409428][ T6571] bi_mtime=2770562249 [ 49.409436][ T6571] bi_otime=2770562249 [ 49.409443][ T6571] bi_uid=0 [ 49.409451][ T6571] bi_gid=0 [ 49.409458][ T6571] bi_nlink=0 [ 49.409465][ T6571] bi_generation=0 [ 49.409473][ T6571] bi_dev=0 [ 49.409480][ T6571] bi_data_checksum=0 [ 49.409487][ T6571] bi_compression=0 [ 49.409495][ T6571] bi_project=0 [ 49.409502][ T6571] bi_background_compression=0 [ 49.409510][ T6571] bi_data_replicas=0 [ 49.409517][ T6571] bi_promote_target=0 [ 49.409525][ T6571] bi_foreground_target=0 [ 49.409533][ T6571] bi_background_target=0 [ 49.409540][ T6571] bi_erasure_code=0 [ 49.409548][ T6571] bi_fields_set=0 [ 49.409555][ T6571] bi_dir=0 [ 49.409563][ T6571] bi_dir_offset=0 [ 49.409570][ T6571] bi_subvol=0 [ 49.409577][ T6571] bi_parent_subvol=0 [ 49.409585][ T6571] bi_nocow=0 [ 49.409592][ T6571] bi_depth=0 [ 49.409599][ T6571] bi_inodes_32bit=0 [ 49.409614][ T6571] bi_casefold=0, fixing [ 49.410748][ T6571] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 49.412230][ T6571] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 49.413042][ T6571] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 49.417219][ T6571] bcachefs (loop0): unreachable inode: [ 49.417232][ T6571] inum: 4100:4294967295 [ 49.417240][ T6571] mode=120777 [ 49.417247][ T6571] flags=(4300000) [ 49.417255][ T6571] journal_seq=20 [ 49.417262][ T6571] hash_seed=f4891abdd5c0cd85 [ 49.417270][ T6571] hash_type=siphash [ 49.417277][ T6571] bi_size=38 [ 49.417285][ T6571] bi_sectors=8 [ 49.417292][ T6571] bi_version=0 [ 49.417300][ T6571] bi_atime=2770562249 [ 49.417307][ T6571] bi_ctime=2780562352 [ 49.417315][ T6571] bi_mtime=2770562249 [ 49.417322][ T6571] bi_otime=2770562249 [ 49.417330][ T6571] bi_uid=0 [ 49.417337][ T6571] bi_gid=0 [ 49.417344][ T6571] bi_nlink=0 [ 49.417351][ T6571] bi_generation=0 [ 49.417359][ T6571] bi_dev=0 [ 49.417366][ T6571] bi_data_checksum=0 [ 49.417373][ T6571] bi_compression=0 [ 49.417381][ T6571] bi_project=0 [ 49.417388][ T6571] bi_background_compression=0 [ 49.417395][ T6571] bi_data_replicas=0 [ 49.417403][ T6571] bi_promote_target=0 [ 49.417410][ T6571] bi_foreground_target=0 [ 49.417418][ T6571] bi_background_target=0 [ 49.417426][ T6571] bi_erasure_code=0 [ 49.417433][ T6571] bi_fields_set=0 [ 49.417440][ T6571] bi_dir=0 [ 49.417448][ T6571] bi_dir_offset=0 [ 49.417455][ T6571] bi_subvol=0 [ 49.417462][ T6571] bi_parent_subvol=0 [ 49.417470][ T6571] bi_nocow=0 [ 49.417477][ T6571] bi_depth=0 [ 49.417484][ T6571] bi_inodes_32bit=0 [ 49.417492][ T6571] bi_casefold=0, fixing [ 49.418595][ T6571] bcachefs (loop0): unreachable inode: [ 49.418615][ T6571] inum: 536870913:4294967295 [ 49.418625][ T6571] mode=100755 [ 49.418633][ T6571] flags=(15300000) [ 49.418640][ T6571] journal_seq=21 [ 49.418648][ T6571] hash_seed=b68791a594a6d5ae [ 49.418655][ T6571] hash_type=siphash [ 49.418663][ T6571] bi_size=25769812776 [ 49.418670][ T6571] bi_sectors=24 [ 49.418678][ T6571] bi_version=0 [ 49.418685][ T6571] bi_atime=2780562352 [ 49.418692][ T6571] bi_ctime=2780562352 [ 49.418700][ T6571] bi_mtime=2780562352 [ 49.418707][ T6571] bi_otime=2780562352 [ 49.418715][ T6571] bi_uid=0 [ 49.418722][ T6571] bi_gid=0 [ 49.418729][ T6571] bi_nlink=1 [ 49.418736][ T6571] bi_generation=0 [ 49.418744][ T6571] bi_dev=0 [ 49.418751][ T6571] bi_data_checksum=0 [ 49.418758][ T6571] bi_compression=0 [ 49.418766][ T6571] bi_project=0 [ 49.418773][ T6571] bi_background_compression=0 [ 49.418781][ T6571] bi_data_replicas=0 [ 49.418788][ T6571] bi_promote_target=1 [ 49.418796][ T6571] bi_foreground_target=0 [ 49.418803][ T6571] bi_background_target=0 [ 49.418811][ T6571] bi_erasure_code=0 [ 49.418818][ T6571] bi_fields_set=0 [ 49.418826][ T6571] bi_dir=0 [ 49.418833][ T6571] bi_dir_offset=2695648408715017799 [ 49.418841][ T6571] bi_subvol=0 [ 49.418848][ T6571] bi_parent_subvol=0 [ 49.418855][ T6571] bi_nocow=0 [ 49.418862][ T6571] bi_depth=0 [ 49.418870][ T6571] bi_inodes_32bit=0 [ 49.418877][ T6571] bi_casefold=0, fixing [ 49.419394][ T6571] bcachefs (loop0): unreachable inode: [ 49.419404][ T6571] inum: 536870914:4294967295 [ 49.419412][ T6571] mode=100755 [ 49.419419][ T6571] flags=(15300000) [ 49.419426][ T6571] journal_seq=21 [ 49.419434][ T6571] hash_seed=d483206f1ed95abf [ 49.419441][ T6571] hash_type=siphash [ 49.419449][ T6571] bi_size=100 [ 49.419456][ T6571] bi_sectors=8 [ 49.419463][ T6571] bi_version=1126999418470400 [ 49.419471][ T6571] bi_atime=0 [ 49.419478][ T6571] bi_ctime=0 [ 49.419485][ T6571] bi_mtime=0 [ 49.419492][ T6571] bi_otime=2780562352 [ 49.419500][ T6571] bi_uid=2780562352 [ 49.419507][ T6571] bi_gid=0 [ 49.419514][ T6571] bi_nlink=2780562352 [ 49.419521][ T6571] bi_generation=0 [ 49.419529][ T6571] bi_dev=0 [ 49.419536][ T6571] bi_data_checksum=0 [ 49.419543][ T6571] bi_compression=0 [ 49.419550][ T6571] bi_project=0 [ 49.419558][ T6571] bi_background_compression=0 [ 49.419565][ T6571] bi_data_replicas=0 [ 49.419573][ T6571] bi_promote_target=0 [ 49.419580][ T6571] bi_foreground_target=0 [ 49.419588][ T6571] bi_background_target=0 [ 49.419595][ T6571] bi_erasure_code=0 [ 49.419603][ T6571] bi_fields_set=0 [ 49.419616][ T6571] bi_dir=0 [ 49.419623][ T6571] bi_dir_offset=9097378837824744618 [ 49.419631][ T6571] bi_subvol=0 [ 49.419638][ T6571] bi_parent_subvol=0 [ 49.419645][ T6571] bi_nocow=0 [ 49.419653][ T6571] bi_depth=0 [ 49.419660][ T6571] bi_inodes_32bit=0 [ 49.419667][ T6571] bi_casefold=0, fixing [ 49.427916][ T6571] done [ 49.428323][ T6571] bcachefs (loop0): check_subvolume_structure... done [ 49.428854][ T6571] bcachefs (loop0): check_directory_structure... [ 49.429089][ T6571] bcachefs (loop0): inode points to dirent that does not point back: [ 49.429089][ T6571] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 49.429089][ T6571] inum: 4097:4294967295 [ 49.429089][ T6571] mode=40700 [ 49.429089][ T6571] flags=has_case_insensitive(15300400) [ 49.429089][ T6571] journal_seq=21 [ 49.429089][ T6571] hash_seed=a9fcff247692d1ca [ 49.429089][ T6571] hash_type=siphash [ 49.429089][ T6571] bi_size=0 [ 49.429089][ T6571] bi_sectors=0 [ 49.429089][ T6571] bi_version=0 [ 49.429089][ T6571] bi_atime=200535484 [ 49.429089][ T6571] bi_ctime=200535484 [ 49.429089][ T6571] bi_mtime=200535484 [ 49.429089][ T6571] bi_otime=200535484 [ 49.429089][ T6571] bi_uid=0 [ 49.429089][ T6571] bi_gid=0 [ 49.429089][ T6571] bi_nlink=0 [ 49.429089][ T6571] bi_generation=0 [ 49.429089][ T6571] bi_dev=0 [ 49.429089][ T6571] bi_data_checksum=0 [ 49.429089][ T6571] bi_compression=0 [ 49.429089][ T6571] bi_project=0 [ 49.429089][ T6571] bi_background_compression=0 [ 49.429089][ T6571] bi_data_replicas=0 [ 49.429089][ T6571] bi_promote_target=0 [ 49.429089][ T6571] bi_foreground_target=0 [ 49.429089][ T6571] bi_background_target=0 [ 49.429089][ T6571] bi_erasure_code=0 [ 49.429089][ T6571] bi_fields_set=0 [ 49.429089][ T6571] bi_dir=4096 [ 49.429089][ T6571] bi_dir_offset=8130059955150870709 [ 49.429089][ T6571] bi_subvol=0 [ 49.429089][ T6571] bi_parent_subvol=0 [ 49.429089][ T6571] bi_nocow=0 [ 49.429089][ T6571] bi_depth=0 [ 49.429089][ T6571] bi_inodes_32bit=0 [ 49.429089][ T6571] bi_casefold=0 [ 49.429250][ T6571] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 49.429250][ T6571] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 49.429250][ T6571] mode=40700 [ 49.429250][ T6571] flags=has_case_insensitive(15300400) [ 49.429250][ T6571] journal_seq=21 [ 49.429250][ T6571] hash_seed=a9fcff247692d1ca [ 49.429250][ T6571] hash_type=siphash [ 49.429250][ T6571] bi_size=0 [ 49.429250][ T6571] bi_sectors=0 [ 49.429250][ T6571] bi_version=0 [ 49.429250][ T6571] bi_atime=200535484 [ 49.429250][ T6571] bi_ctime=200535484 [ 49.429250][ T6571] bi_mtime=200535484 [ 49.429250][ T6571] bi_otime=200535484 [ 49.429250][ T6571] bi_uid=0 [ 49.429250][ T6571] bi_gid=0 [ 49.429250][ T6571] bi_nlink=0 [ 49.429250][ T6571] bi_generation=0 [ 49.429250][ T6571] bi_dev=0 [ 49.429250][ T6571] bi_data_checksum=0 [ 49.429250][ T6571] bi_compression=0 [ 49.429250][ T6571] bi_project=0 [ 49.429250][ T6571] bi_background_compression=0 [ 49.429250][ T6571] bi_data_replicas=0 [ 49.429250][ T6571] bi_promote_target=0 [ 49.429250][ T6571] bi_foreground_target=0 [ 49.429250][ T6571] bi_background_target=0 [ 49.429250][ T6571] bi_erasure_code=0 [ 49.429250][ T6571] bi_fields_set=0 [ 49.429250][ T6571] bi_dir=4096 [ 49.429250][ T6571] bi_dir_offset=8130059955150870709 [ 49.429250][ T6571] bi_subvol=0 [ 49.429250][ T6571] bi_parent_subvol=0 [ 49.429250][ T6571] bi_nocow=0 [ 49.429250][ T6571] bi_depth=0 [ 49.429250][ T6571] bi_inodes_32bit=0 [ 49.429250][ T6571] bi_casefold=0 [ 49.429300][ T6571] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 49.429320][ T6571] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 49.429373][ T6571] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 49.429398][ T6571] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 49.429416][ T6571] bcachefs (loop0): shutting down [ 49.429431][ T6571] bcachefs (loop0): going read-only [ 49.429456][ T6571] bcachefs (loop0): finished waiting for writes to stop [ 49.479032][ T6571] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 49.479078][ T6571] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 49.479225][ T6571] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 49.480212][ T6571] bcachefs (loop0): done going read-only, filesystem not clean [ 49.486774][ T6571] bcachefs (loop0): shutdown complete [ 50.618956][ T6571] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 50.742930][ T6583] loop0: detected capacity change from 0 to 32768 [ 50.794404][ T6583] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 50.794404][ T6583] allowing incompatible features above 0.0: (unknown version) [ 50.794404][ T6583] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 50.794496][ T6583] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 50.794929][ T6583] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 50.795036][ T6583] bcachefs (loop0): Version upgrade required: [ 50.795036][ T6583] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 50.795036][ T6583] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 50.795036][ T6583] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 50.803543][ T6583] bcachefs (loop0): accounting_read... done [ 50.804008][ T6583] bcachefs (loop0): alloc_read... done [ 50.804448][ T6583] bcachefs (loop0): snapshots_read... done [ 50.804851][ T6583] bcachefs (loop0): check_allocations... [ 50.805680][ T6583] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 50.805693][ T6583] while marking 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 [ 50.809105][ T6583] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 50.809120][ T6583] while marking 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 [ 50.809810][ T6583] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 50.809823][ T6583] while marking 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 [ 50.810521][ T6583] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 50.810533][ T6583] while marking 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 [ 50.811662][ T6583] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 50.811674][ T6583] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 50.812132][ T6583] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 50.812192][ T6583] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 50.812334][ T6583] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 50.812384][ T6583] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 50.812474][ T6583] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 50.812527][ T6583] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 50.812607][ T6583] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 50.812665][ T6583] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 50.812751][ T6583] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 50.812800][ T6583] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 50.812878][ T6583] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 50.812927][ T6583] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 50.813007][ T6583] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 50.813056][ T6583] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 50.813134][ T6583] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 50.813196][ T6583] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 50.813279][ T6583] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 50.813328][ T6583] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 50.813414][ T6583] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 50.813463][ T6583] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 50.813557][ T6583] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 50.813567][ T6583] Ratelimiting new instances of previous error [ 50.813629][ T6583] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 50.813639][ T6583] Ratelimiting new instances of previous error [ 50.817359][ T6583] done [ 50.819698][ T6583] bcachefs (loop0): going read-write [ 50.828814][ T6583] bcachefs (loop0): journal_replay... done [ 50.845422][ T6583] bcachefs (loop0): check_alloc_info... done [ 50.847922][ T6583] bcachefs (loop0): check_lrus... done [ 50.848484][ T6583] bcachefs (loop0): check_btree_backpointers... done [ 50.849028][ T6583] bcachefs (loop0): check_backpointers_to_extents... done [ 50.850207][ T6583] bcachefs (loop0): check_extents_to_backpointers... [ 50.850768][ T6583] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 50.851440][ T6583] done [ 50.851765][ T6583] bcachefs (loop0): check_alloc_to_lru_refs... done [ 50.852891][ T6583] bcachefs (loop0): bucket_gens_init... done [ 50.856287][ T6583] bcachefs (loop0): check_snapshot_trees... done [ 50.856707][ T6583] bcachefs (loop0): check_snapshots... [ 50.856901][ T6583] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 50.856912][ T6583] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 50.862007][ T6583] done [ 50.862344][ T6583] bcachefs (loop0): check_subvols... done [ 50.862958][ T6583] bcachefs (loop0): check_subvol_children... done [ 50.863412][ T6583] bcachefs (loop0): delete_dead_snapshots... done [ 50.863761][ T6583] bcachefs (loop0): check_inodes... [ 50.864571][ T6583] bcachefs (loop0): inode points to missing dirent [ 50.864583][ T6583] inum: 4099:4294967295 [ 50.864591][ T6583] mode=100755 [ 50.864598][ T6583] flags=(15300000) [ 50.864606][ T6583] journal_seq=5 [ 50.864613][ T6583] hash_seed=fc917866faeb7b5b [ 50.864621][ T6583] hash_type=siphash [ 50.864628][ T6583] bi_size=1050 [ 50.864635][ T6583] bi_sectors=8 [ 50.864643][ T6583] bi_version=0 [ 50.864650][ T6583] bi_atime=2770562249 [ 50.864658][ T6583] bi_ctime=2770562249 [ 50.864665][ T6583] bi_mtime=2770562249 [ 50.864672][ T6583] bi_otime=2770562249 [ 50.864680][ T6583] bi_uid=0 [ 50.864687][ T6583] bi_gid=0 [ 50.864694][ T6583] bi_nlink=0 [ 50.864702][ T6583] bi_generation=0 [ 50.864709][ T6583] bi_dev=0 [ 50.864716][ T6583] bi_data_checksum=0 [ 50.864724][ T6583] bi_compression=0 [ 50.864731][ T6583] bi_project=0 [ 50.864738][ T6583] bi_background_compression=0 [ 50.864746][ T6583] bi_data_replicas=0 [ 50.864754][ T6583] bi_promote_target=0 [ 50.864761][ T6583] bi_foreground_target=0 [ 50.864769][ T6583] bi_background_target=0 [ 50.864776][ T6583] bi_erasure_code=0 [ 50.864784][ T6583] bi_fields_set=0 [ 50.864791][ T6583] bi_dir=4098 [ 50.864798][ T6583] bi_dir_offset=8977922886548783724 [ 50.864806][ T6583] bi_subvol=0 [ 50.864813][ T6583] bi_parent_subvol=0 [ 50.864821][ T6583] bi_nocow=0 [ 50.864828][ T6583] bi_depth=0 [ 50.864835][ T6583] bi_inodes_32bit=0 [ 50.864843][ T6583] bi_casefold=0, fixing [ 50.865278][ T6583] bcachefs (loop0): inode points to missing dirent [ 50.865288][ T6583] inum: 4100:4294967295 [ 50.865295][ T6583] mode=120777 [ 50.865303][ T6583] flags=(15300000) [ 50.865310][ T6583] journal_seq=4 [ 50.865317][ T6583] hash_seed=f4891abdd5c0cd85 [ 50.865325][ T6583] hash_type=siphash [ 50.865333][ T6583] bi_size=38 [ 50.865340][ T6583] bi_sectors=8 [ 50.865347][ T6583] bi_version=0 [ 50.865354][ T6583] bi_atime=2770562249 [ 50.865362][ T6583] bi_ctime=2780562352 [ 50.865369][ T6583] bi_mtime=2770562249 [ 50.865377][ T6583] bi_otime=2770562249 [ 50.865384][ T6583] bi_uid=0 [ 50.865392][ T6583] bi_gid=0 [ 50.865399][ T6583] bi_nlink=0 [ 50.865406][ T6583] bi_generation=0 [ 50.865413][ T6583] bi_dev=0 [ 50.865420][ T6583] bi_data_checksum=0 [ 50.865428][ T6583] bi_compression=0 [ 50.865435][ T6583] bi_project=0 [ 50.865443][ T6583] bi_background_compression=0 [ 50.865451][ T6583] bi_data_replicas=0 [ 50.865458][ T6583] bi_promote_target=0 [ 50.865469][ T6583] bi_foreground_target=0 [ 50.865477][ T6583] bi_background_target=0 [ 50.865485][ T6583] bi_erasure_code=0 [ 50.865492][ T6583] bi_fields_set=0 [ 50.865500][ T6583] bi_dir=4098 [ 50.865507][ T6583] bi_dir_offset=5675548428000973578 [ 50.865515][ T6583] bi_subvol=0 [ 50.865522][ T6583] bi_parent_subvol=0 [ 50.865530][ T6583] bi_nocow=0 [ 50.865537][ T6583] bi_depth=0 [ 50.865545][ T6583] bi_inodes_32bit=0 [ 50.865552][ T6583] bi_casefold=0, fixing [ 50.866251][ T6583] done [ 50.866577][ T6583] bcachefs (loop0): check_extents... done [ 50.867372][ T6583] bcachefs (loop0): check_indirect_extents... done [ 50.868244][ T6583] bcachefs (loop0): check_dirents... [ 50.869023][ T6583] bcachefs (loop0): dirent casefold does not match dir casefold [ 50.869035][ T6583] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 50.869342][ T6583] bcachefs (loop0): dirent casefold does not match dir casefold [ 50.869353][ T6583] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 50.869524][ T6583] bcachefs (loop0): dirent casefold does not match dir casefold [ 50.869534][ T6583] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 50.869717][ T6583] bcachefs (loop0): dirent casefold does not match dir casefold [ 50.869728][ T6583] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 50.869900][ T6583] bcachefs (loop0): dirent casefold does not match dir casefold [ 50.869910][ T6583] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 50.870075][ T6583] bcachefs (loop0): dirent casefold does not match dir casefold [ 50.870086][ T6583] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 50.870249][ T6583] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 50.874331][ T6583] done [ 50.874829][ T6583] bcachefs (loop0): check_xattrs... done [ 50.876079][ T6583] bcachefs (loop0): check_root... done [ 50.876625][ T6583] bcachefs (loop0): check_unreachable_inodes... [ 50.877106][ T6583] bcachefs (loop0): unreachable inode: [ 50.877117][ T6583] inum: 4099:4294967295 [ 50.877125][ T6583] mode=100755 [ 50.877132][ T6583] flags=(4300000) [ 50.877139][ T6583] journal_seq=20 [ 50.877147][ T6583] hash_seed=fc917866faeb7b5b [ 50.877154][ T6583] hash_type=siphash [ 50.877162][ T6583] bi_size=1050 [ 50.877179][ T6583] bi_sectors=8 [ 50.877188][ T6583] bi_version=0 [ 50.877196][ T6583] bi_atime=2770562249 [ 50.877203][ T6583] bi_ctime=2770562249 [ 50.877211][ T6583] bi_mtime=2770562249 [ 50.877218][ T6583] bi_otime=2770562249 [ 50.877226][ T6583] bi_uid=0 [ 50.877233][ T6583] bi_gid=0 [ 50.877240][ T6583] bi_nlink=0 [ 50.877248][ T6583] bi_generation=0 [ 50.877255][ T6583] bi_dev=0 [ 50.877262][ T6583] bi_data_checksum=0 [ 50.877270][ T6583] bi_compression=0 [ 50.877277][ T6583] bi_project=0 [ 50.877284][ T6583] bi_background_compression=0 [ 50.877292][ T6583] bi_data_replicas=0 [ 50.877300][ T6583] bi_promote_target=0 [ 50.877307][ T6583] bi_foreground_target=0 [ 50.877315][ T6583] bi_background_target=0 [ 50.877323][ T6583] bi_erasure_code=0 [ 50.877330][ T6583] bi_fields_set=0 [ 50.877337][ T6583] bi_dir=0 [ 50.877345][ T6583] bi_dir_offset=0 [ 50.877352][ T6583] bi_subvol=0 [ 50.877359][ T6583] bi_parent_subvol=0 [ 50.877367][ T6583] bi_nocow=0 [ 50.877374][ T6583] bi_depth=0 [ 50.877381][ T6583] bi_inodes_32bit=0 [ 50.877389][ T6583] bi_casefold=0, fixing [ 50.880011][ T6583] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 50.881844][ T6583] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 50.882677][ T6583] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 50.886709][ T6583] bcachefs (loop0): unreachable inode: [ 50.886722][ T6583] inum: 4100:4294967295 [ 50.886729][ T6583] mode=120777 [ 50.886737][ T6583] flags=(4300000) [ 50.886744][ T6583] journal_seq=20 [ 50.886751][ T6583] hash_seed=f4891abdd5c0cd85 [ 50.886759][ T6583] hash_type=siphash [ 50.886767][ T6583] bi_size=38 [ 50.886774][ T6583] bi_sectors=8 [ 50.886781][ T6583] bi_version=0 [ 50.886789][ T6583] bi_atime=2770562249 [ 50.886796][ T6583] bi_ctime=2780562352 [ 50.886804][ T6583] bi_mtime=2770562249 [ 50.886811][ T6583] bi_otime=2770562249 [ 50.886819][ T6583] bi_uid=0 [ 50.886826][ T6583] bi_gid=0 [ 50.886833][ T6583] bi_nlink=0 [ 50.886840][ T6583] bi_generation=0 [ 50.886848][ T6583] bi_dev=0 [ 50.886855][ T6583] bi_data_checksum=0 [ 50.886863][ T6583] bi_compression=0 [ 50.886870][ T6583] bi_project=0 [ 50.886877][ T6583] bi_background_compression=0 [ 50.886885][ T6583] bi_data_replicas=0 [ 50.886893][ T6583] bi_promote_target=0 [ 50.886900][ T6583] bi_foreground_target=0 [ 50.886908][ T6583] bi_background_target=0 [ 50.886916][ T6583] bi_erasure_code=0 [ 50.886923][ T6583] bi_fields_set=0 [ 50.886930][ T6583] bi_dir=0 [ 50.886937][ T6583] bi_dir_offset=0 [ 50.886945][ T6583] bi_subvol=0 [ 50.886952][ T6583] bi_parent_subvol=0 [ 50.886960][ T6583] bi_nocow=0 [ 50.886967][ T6583] bi_depth=0 [ 50.886974][ T6583] bi_inodes_32bit=0 [ 50.886982][ T6583] bi_casefold=0, fixing [ 50.887542][ T6583] bcachefs (loop0): unreachable inode: [ 50.887552][ T6583] inum: 536870913:4294967295 [ 50.887560][ T6583] mode=100755 [ 50.887567][ T6583] flags=(15300000) [ 50.887575][ T6583] journal_seq=21 [ 50.887582][ T6583] hash_seed=b68791a594a6d5ae [ 50.887590][ T6583] hash_type=siphash [ 50.887597][ T6583] bi_size=25769812776 [ 50.887605][ T6583] bi_sectors=24 [ 50.887612][ T6583] bi_version=0 [ 50.887619][ T6583] bi_atime=2780562352 [ 50.887627][ T6583] bi_ctime=2780562352 [ 50.887635][ T6583] bi_mtime=2780562352 [ 50.887642][ T6583] bi_otime=2780562352 [ 50.887650][ T6583] bi_uid=0 [ 50.887657][ T6583] bi_gid=0 [ 50.887664][ T6583] bi_nlink=1 [ 50.887672][ T6583] bi_generation=0 [ 50.888863][ T6583] bi_dev=0 [ 50.888872][ T6583] bi_data_checksum=0 [ 50.888880][ T6583] bi_compression=0 [ 50.888893][ T6583] bi_project=0 [ 50.888901][ T6583] bi_background_compression=0 [ 50.888909][ T6583] bi_data_replicas=0 [ 50.888916][ T6583] bi_promote_target=1 [ 50.888924][ T6583] bi_foreground_target=0 [ 50.888931][ T6583] bi_background_target=0 [ 50.888939][ T6583] bi_erasure_code=0 [ 50.888946][ T6583] bi_fields_set=0 [ 50.888954][ T6583] bi_dir=0 [ 50.888961][ T6583] bi_dir_offset=2695648408715017799 [ 50.888969][ T6583] bi_subvol=0 [ 50.888976][ T6583] bi_parent_subvol=0 [ 50.888983][ T6583] bi_nocow=0 [ 50.888990][ T6583] bi_depth=0 [ 50.888998][ T6583] bi_inodes_32bit=0 [ 50.889005][ T6583] bi_casefold=0, fixing [ 50.890953][ T6583] bcachefs (loop0): unreachable inode: [ 50.890964][ T6583] inum: 536870914:4294967295 [ 50.890972][ T6583] mode=100755 [ 50.890979][ T6583] flags=(15300000) [ 50.890987][ T6583] journal_seq=21 [ 50.890994][ T6583] hash_seed=d483206f1ed95abf [ 50.891002][ T6583] hash_type=siphash [ 50.891009][ T6583] bi_size=100 [ 50.891017][ T6583] bi_sectors=8 [ 50.891024][ T6583] bi_version=1126999418470400 [ 50.891031][ T6583] bi_atime=0 [ 50.891039][ T6583] bi_ctime=0 [ 50.891046][ T6583] bi_mtime=0 [ 50.891053][ T6583] bi_otime=2780562352 [ 50.891060][ T6583] bi_uid=2780562352 [ 50.891068][ T6583] bi_gid=0 [ 50.891075][ T6583] bi_nlink=2780562352 [ 50.891082][ T6583] bi_generation=0 [ 50.891090][ T6583] bi_dev=0 [ 50.891097][ T6583] bi_data_checksum=0 [ 50.891104][ T6583] bi_compression=0 [ 50.891112][ T6583] bi_project=0 [ 50.891119][ T6583] bi_background_compression=0 [ 50.891127][ T6583] bi_data_replicas=0 [ 50.891134][ T6583] bi_promote_target=0 [ 50.891142][ T6583] bi_foreground_target=0 [ 50.891149][ T6583] bi_background_target=0 [ 50.891157][ T6583] bi_erasure_code=0 [ 50.891164][ T6583] bi_fields_set=0 [ 50.891183][ T6583] bi_dir=0 [ 50.891191][ T6583] bi_dir_offset=9097378837824744618 [ 50.891198][ T6583] bi_subvol=0 [ 50.891206][ T6583] bi_parent_subvol=0 [ 50.891213][ T6583] bi_nocow=0 [ 50.891220][ T6583] bi_depth=0 [ 50.891228][ T6583] bi_inodes_32bit=0 [ 50.891235][ T6583] bi_casefold=0, fixing [ 50.893904][ T6583] done [ 50.894324][ T6583] bcachefs (loop0): check_subvolume_structure... done [ 50.894739][ T6583] bcachefs (loop0): check_directory_structure... [ 50.894965][ T6583] bcachefs (loop0): inode points to dirent that does not point back: [ 50.894965][ T6583] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 50.894965][ T6583] inum: 4097:4294967295 [ 50.894965][ T6583] mode=40700 [ 50.894965][ T6583] flags=has_case_insensitive(15300400) [ 50.894965][ T6583] journal_seq=21 [ 50.894965][ T6583] hash_seed=a9fcff247692d1ca [ 50.894965][ T6583] hash_type=siphash [ 50.894965][ T6583] bi_size=0 [ 50.894965][ T6583] bi_sectors=0 [ 50.894965][ T6583] bi_version=0 [ 50.894965][ T6583] bi_atime=200535484 [ 50.894965][ T6583] bi_ctime=200535484 [ 50.894965][ T6583] bi_mtime=200535484 [ 50.894965][ T6583] bi_otime=200535484 [ 50.894965][ T6583] bi_uid=0 [ 50.894965][ T6583] bi_gid=0 [ 50.894965][ T6583] bi_nlink=0 [ 50.894965][ T6583] bi_generation=0 [ 50.894965][ T6583] bi_dev=0 [ 50.894965][ T6583] bi_data_checksum=0 [ 50.894965][ T6583] bi_compression=0 [ 50.894965][ T6583] bi_project=0 [ 50.894965][ T6583] bi_background_compression=0 [ 50.894965][ T6583] bi_data_replicas=0 [ 50.894965][ T6583] bi_promote_target=0 [ 50.894965][ T6583] bi_foreground_target=0 [ 50.894965][ T6583] bi_background_target=0 [ 50.894965][ T6583] bi_erasure_code=0 [ 50.894965][ T6583] bi_fields_set=0 [ 50.894965][ T6583] bi_dir=4096 [ 50.894965][ T6583] bi_dir_offset=8130059955150870709 [ 50.894965][ T6583] bi_subvol=0 [ 50.894965][ T6583] bi_parent_subvol=0 [ 50.894965][ T6583] bi_nocow=0 [ 50.894965][ T6583] bi_depth=0 [ 50.894965][ T6583] bi_inodes_32bit=0 [ 50.894965][ T6583] bi_casefold=0 [ 50.895115][ T6583] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 50.895115][ T6583] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 50.895115][ T6583] mode=40700 [ 50.895115][ T6583] flags=has_case_insensitive(15300400) [ 50.895115][ T6583] journal_seq=21 [ 50.895115][ T6583] hash_seed=a9fcff247692d1ca [ 50.895115][ T6583] hash_type=siphash [ 50.895115][ T6583] bi_size=0 [ 50.895115][ T6583] bi_sectors=0 [ 50.895115][ T6583] bi_version=0 [ 50.895115][ T6583] bi_atime=200535484 [ 50.895115][ T6583] bi_ctime=200535484 [ 50.895115][ T6583] bi_mtime=200535484 [ 50.895115][ T6583] bi_otime=200535484 [ 50.895115][ T6583] bi_uid=0 [ 50.895115][ T6583] bi_gid=0 [ 50.895115][ T6583] bi_nlink=0 [ 50.895115][ T6583] bi_generation=0 [ 50.895115][ T6583] bi_dev=0 [ 50.895115][ T6583] bi_data_checksum=0 [ 50.895115][ T6583] bi_compression=0 [ 50.895115][ T6583] bi_project=0 [ 50.895115][ T6583] bi_background_compression=0 [ 50.895115][ T6583] bi_data_replicas=0 [ 50.895115][ T6583] bi_promote_target=0 [ 50.895115][ T6583] bi_foreground_target=0 [ 50.895115][ T6583] bi_background_target=0 [ 50.895115][ T6583] bi_erasure_code=0 [ 50.895115][ T6583] bi_fields_set=0 [ 50.895115][ T6583] bi_dir=4096 [ 50.895115][ T6583] bi_dir_offset=8130059955150870709 [ 50.895115][ T6583] bi_subvol=0 [ 50.895115][ T6583] bi_parent_subvol=0 [ 50.895115][ T6583] bi_nocow=0 [ 50.895115][ T6583] bi_depth=0 [ 50.895115][ T6583] bi_inodes_32bit=0 [ 50.895115][ T6583] bi_casefold=0 [ 50.895163][ T6583] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 50.895195][ T6583] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 50.895253][ T6530] bcachefs (loop0): going read-only [ 50.895279][ T6530] bcachefs (loop0): finished waiting for writes to stop [ 50.896051][ T6583] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 50.896080][ T6583] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 50.896099][ T6583] bcachefs (loop0): shutting down [ 50.968061][ T6530] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 50.968108][ T6530] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 50.968138][ T6530] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 50.968998][ T6530] bcachefs (loop0): done going read-only, filesystem not clean [ 50.975658][ T6583] bcachefs (loop0): shutdown complete [ 52.129100][ T6583] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 52.265540][ T6594] loop0: detected capacity change from 0 to 32768 [ 52.326268][ T6594] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 52.326268][ T6594] allowing incompatible features above 0.0: (unknown version) [ 52.326268][ T6594] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 52.326336][ T6594] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 52.326433][ T6594] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 52.326536][ T6594] bcachefs (loop0): Version upgrade required: [ 52.326536][ T6594] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 52.326536][ T6594] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 52.326536][ T6594] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 52.334609][ T6594] bcachefs (loop0): accounting_read... done [ 52.335129][ T6594] bcachefs (loop0): alloc_read... done [ 52.335589][ T6594] bcachefs (loop0): snapshots_read... done [ 52.335999][ T6594] bcachefs (loop0): check_allocations... [ 52.336775][ T6594] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 52.336788][ T6594] while marking 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 [ 52.337762][ T6594] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 52.337775][ T6594] while marking 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 [ 52.338399][ T6594] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 52.338411][ T6594] while marking 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 [ 52.339079][ T6594] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 52.339092][ T6594] while marking 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 [ 52.340252][ T6594] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 52.340265][ T6594] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 52.340875][ T6594] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 52.340948][ T6594] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 52.341101][ T6594] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 52.341154][ T6594] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 52.341273][ T6594] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 52.341323][ T6594] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 52.341401][ T6594] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 52.341450][ T6594] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 52.341536][ T6594] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 52.341585][ T6594] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 52.341663][ T6594] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 52.341713][ T6594] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 52.341791][ T6594] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 52.341849][ T6594] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 52.341929][ T6594] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 52.341978][ T6594] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 52.342063][ T6594] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 52.342113][ T6594] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 52.342200][ T6594] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 52.342249][ T6594] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 52.342339][ T6594] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 52.342350][ T6594] Ratelimiting new instances of previous error [ 52.342412][ T6594] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 52.342422][ T6594] Ratelimiting new instances of previous error [ 52.346203][ T6594] done [ 52.347149][ T6594] bcachefs (loop0): going read-write [ 52.356698][ T6594] bcachefs (loop0): journal_replay... done [ 52.379519][ T6594] bcachefs (loop0): check_alloc_info... done [ 52.381732][ T6594] bcachefs (loop0): check_lrus... done [ 52.382117][ T6594] bcachefs (loop0): check_btree_backpointers... done [ 52.382624][ T6594] bcachefs (loop0): check_backpointers_to_extents... done [ 52.383859][ T6594] bcachefs (loop0): check_extents_to_backpointers... [ 52.384392][ T6594] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 52.385056][ T6594] done [ 52.385404][ T6594] bcachefs (loop0): check_alloc_to_lru_refs... done [ 52.386603][ T6594] bcachefs (loop0): bucket_gens_init... done [ 52.390902][ T6594] bcachefs (loop0): check_snapshot_trees... done [ 52.391328][ T6594] bcachefs (loop0): check_snapshots... [ 52.391528][ T6594] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 52.391540][ T6594] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 52.394854][ T6594] done [ 52.395206][ T6594] bcachefs (loop0): check_subvols... done [ 52.395830][ T6594] bcachefs (loop0): check_subvol_children... done [ 52.396361][ T6594] bcachefs (loop0): delete_dead_snapshots... done [ 52.396726][ T6594] bcachefs (loop0): check_inodes... [ 52.397543][ T6594] bcachefs (loop0): inode points to missing dirent