Warning: Permanently added '10.128.1.148' (ED25519) to the list of known hosts. executing program [ 37.301467][ T6515] loop0: detected capacity change from 0 to 32768 [ 37.374241][ 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 [ 37.374241][ T6515] allowing incompatible features above 0.0: (unknown version) [ 37.374241][ T6515] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 37.374327][ T6515] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 37.374429][ T6515] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 37.374563][ T6515] bcachefs (loop0): Version upgrade required: [ 37.374563][ T6515] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 37.374563][ T6515] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 37.374563][ 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 [ 37.392216][ T6515] bcachefs (loop0): accounting_read... done [ 37.468303][ T6515] bcachefs (loop0): alloc_read... done [ 37.469260][ T6515] bcachefs (loop0): snapshots_read... done [ 37.469978][ T6515] bcachefs (loop0): check_allocations... [ 37.471976][ T6515] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 37.471997][ 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 [ 37.473299][ T6515] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 37.473314][ 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 [ 37.474237][ T6515] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 37.474251][ 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 [ 37.475206][ T6515] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 37.475220][ T6515] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 1 ** replaying previous printk message ** [ 37.475220][ 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 [ 37.477303][ T6515] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 37.477317][ 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 [ 37.477913][ T6515] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.478000][ T6515] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.478396][ T6515] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.478464][ T6515] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.478567][ T6515] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.478635][ T6515] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.478734][ T6515] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.478795][ T6515] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.478910][ T6515] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.478978][ T6515] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.479079][ T6515] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.479139][ T6515] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.479238][ T6515] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.479298][ T6515] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.479397][ T6515] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.479457][ T6515] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 37.479559][ T6515] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 37.479620][ T6515] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 37.479722][ T6515] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 37.479783][ T6515] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 37.479908][ T6515] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 37.479924][ T6515] Ratelimiting new instances of previous error [ 37.480006][ T6515] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 37.480018][ T6515] Ratelimiting new instances of previous error [ 37.485067][ T6515] done [ 37.486936][ T6515] bcachefs (loop0): going read-write [ 37.499936][ T6526] ODEBUG: object 000000008296fc5d is on stack 000000009fb162fe, but NOT annotated. [ 37.500606][ T6526] ------------[ cut here ]------------ [ 37.500623][ T6526] WARNING: CPU: 0 PID: 6526 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 37.589391][ T6526] Modules linked in: [ 37.591056][ T6526] CPU: 0 UID: 0 PID: 6526 Comm: bch-copygc/loop Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 37.594229][ T6526] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 37.594386][ T6515] bcachefs (loop0): journal_replay... [ 37.597166][ T6526] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 37.600937][ T6526] pc : __debug_object_init+0x364/0x40c [ 37.602621][ T6526] lr : __debug_object_init+0x364/0x40c [ 37.604081][ T6526] sp : ffff8000a6827700 [ 37.605253][ T6526] x29: ffff8000a6827700 x28: 0000000000000000 x27: dfff800000000000 [ 37.607518][ T6526] x26: ffff800097693000 x25: ffff0000c9c98020 x24: 0000000000000000 [ 37.609839][ T6526] x23: ffff0000e203cb98 x22: 0000000000000000 x21: ffff800097621a38 [ 37.612079][ T6526] x20: ffff80008af70de0 x19: ffff8000a6827bb0 x18: 00000000ffffffff [ 37.614421][ T6526] x17: ffff80009331f000 x16: ffff80008aec8e2c x15: 0000000000000001 [ 37.616653][ T6526] x14: 1ffff00014d04e58 x13: 0000000000000000 x12: 0000000000000000 [ 37.618966][ T6526] x11: ffff700014d04e59 x10: 0000000000ff0100 x9 : 9d078a16d805e700 [ 37.619421][ T6515] done [ 37.621968][ T6526] x8 : 9d078a16d805e700 x7 : 0000000000000001 x6 : 0000000000000001 [ 37.622378][ T6515] bcachefs (loop0): check_alloc_info... [ 37.624307][ T6526] x5 : ffff8000a6827098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 37.628213][ T6526] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 37.630470][ T6526] Call trace: [ 37.631358][ T6526] __debug_object_init+0x364/0x40c (P) [ 37.632828][ T6526] debug_object_init+0x20/0x2c [ 37.634132][ T6526] __init_work+0x58/0x68 [ 37.635326][ T6526] rhashtable_init_noprof+0x734/0xa10 [ 37.636806][ T6526] bch2_copygc_thread+0xec/0xd40 [ 37.638206][ T6526] kthread+0x5fc/0x75c [ 37.639361][ T6526] ret_from_fork+0x10/0x20 [ 37.640669][ T6526] irq event stamp: 22 [ 37.641820][ T6526] hardirqs last enabled at (21): [] get_random_u32+0x2d4/0x540 [ 37.644464][ T6526] hardirqs last disabled at (22): [] _raw_spin_lock_irqsave+0x2c/0x7c [ 37.647234][ T6526] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 37.649870][ T6526] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 37.651794][ T6526] ---[ end trace 0000000000000000 ]--- [ 37.655604][ T6515] done [ 37.656453][ T6515] bcachefs (loop0): check_lrus... done [ 37.658992][ T6515] bcachefs (loop0): check_btree_backpointers... done [ 37.661955][ T6515] bcachefs (loop0): check_backpointers_to_extents... done [ 37.666251][ T6515] bcachefs (loop0): check_extents_to_backpointers... [ 37.667107][ T6515] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 37.668267][ T6515] done [ 37.669352][ T6515] bcachefs (loop0): check_alloc_to_lru_refs... done [ 37.671030][ T6515] bcachefs (loop0): bucket_gens_init... done [ 37.677343][ T6515] bcachefs (loop0): check_snapshot_trees... done [ 37.677945][ T6515] bcachefs (loop0): check_snapshots... [ 37.678316][ T6515] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 37.678333][ T6515] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 37.683293][ T6515] done [ 37.683791][ T6515] bcachefs (loop0): check_subvols... done [ 37.684880][ T6515] bcachefs (loop0): check_subvol_children... done [ 37.685458][ T6515] bcachefs (loop0): delete_dead_snapshots... done [ 37.686100][ T6515] bcachefs (loop0): check_inodes... [ 37.687304][ T6515] bcachefs (loop0): inode points to missing dirent [ 37.687318][ T6515] inum: 4099:4294967295 [ 37.687328][ T6515] mode=100755 [ 37.687337][ T6515] flags=(15300000) [ 37.687346][ T6515] journal_seq=5 [ 37.687355][ T6515] hash_seed=fc917866faeb7b5b [ 37.687364][ T6515] hash_type=siphash [ 37.687373][ T6515] bi_size=1050 [ 37.687382][ T6515] bi_sectors=8 [ 37.687391][ T6515] bi_version=0 [ 37.687400][ T6515] bi_atime=2770562249 [ 37.687409][ T6515] bi_ctime=2770562249 [ 37.687418][ T6515] bi_mtime=2770562249 [ 37.687427][ T6515] bi_otime=2770562249 [ 37.687436][ T6515] bi_uid=0 [ 37.687444][ T6515] bi_gid=0 [ 37.687453][ T6515] bi_nlink=0 [ 37.687462][ T6515] bi_generation=0 [ 37.687470][ T6515] bi_dev=0 [ 37.687479][ T6515] bi_data_checksum=0 [ 37.687488][ T6515] bi_compression=0 [ 37.687497][ T6515] bi_project=0 [ 37.687506][ T6515] bi_background_compression=0 [ 37.687515][ T6515] bi_data_replicas=0 [ 37.687524][ T6515] bi_promote_target=0 [ 37.687532][ T6515] bi_foreground_target=0 [ 37.687541][ T6515] bi_background_target=0 [ 37.687551][ T6515] bi_erasure_code=0 [ 37.687560][ T6515] bi_fields_set=0 [ 37.687568][ T6515] bi_dir=4098 [ 37.687577][ T6515] bi_dir_offset=8977922886548783724 [ 37.687586][ T6515] bi_subvol=0 [ 37.687595][ T6515] bi_parent_subvol=0 [ 37.687604][ T6515] bi_nocow=0 [ 37.687612][ T6515] bi_depth=0 [ 37.687621][ T6515] bi_inodes_32bit=0 [ 37.687630][ T6515] bi_casefold=0, fixing [ 37.688203][ T6515] bcachefs (loop0): inode points to missing dirent [ 37.688214][ T6515] inum: 4100:4294967295 [ 37.688224][ T6515] mode=120777 [ 37.688232][ T6515] flags=(15300000) [ 37.688242][ T6515] journal_seq=4 [ 37.688250][ T6515] hash_seed=f4891abdd5c0cd85 [ 37.688259][ T6515] hash_type=siphash [ 37.688268][ T6515] bi_size=38 [ 37.688277][ T6515] bi_sectors=8 [ 37.688286][ T6515] bi_version=0 [ 37.688294][ T6515] bi_atime=2770562249 [ 37.688303][ T6515] bi_ctime=2780562352 [ 37.688312][ T6515] bi_mtime=2770562249 [ 37.688321][ T6515] bi_otime=2770562249 [ 37.688330][ T6515] bi_uid=0 [ 37.688338][ T6515] bi_gid=0 [ 37.688347][ T6515] bi_nlink=0 [ 37.688356][ T6515] bi_generation=0 [ 37.688365][ T6515] bi_dev=0 [ 37.688373][ T6515] bi_data_checksum=0 [ 37.688382][ T6515] bi_compression=0 [ 37.688391][ T6515] bi_project=0 [ 37.688400][ T6515] bi_background_compression=0 [ 37.688409][ T6515] bi_data_replicas=0 [ 37.688418][ T6515] bi_promote_target=0 [ 37.688427][ T6515] bi_foreground_target=0 [ 37.688436][ T6515] bi_background_target=0 [ 37.688445][ T6515] bi_erasure_code=0 [ 37.688454][ T6515] bi_fields_set=0 [ 37.688462][ T6515] bi_dir=4098 [ 37.688471][ T6515] bi_dir_offset=5675548428000973578 [ 37.688480][ T6515] bi_subvol=0 [ 37.688489][ T6515] bi_parent_subvol=0 [ 37.688498][ T6515] bi_nocow=0 [ 37.688507][ T6515] bi_depth=0 [ 37.688515][ T6515] bi_inodes_32bit=0 [ 37.688524][ T6515] bi_casefold=0, fixing [ 37.689772][ T6515] done [ 37.690253][ T6515] bcachefs (loop0): check_extents... done [ 37.691316][ T6515] bcachefs (loop0): check_indirect_extents... done [ 37.691864][ T6515] bcachefs (loop0): check_dirents... [ 37.692392][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.692406][ T6515] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 37.692465][ T6515] ================================================================== [ 37.692478][ T6515] BUG: KASAN: slab-out-of-bounds in bch2_dirent_init_name+0x28c/0x670 [ 37.692496][ T6515] Write of size 1985 at addr ffff0000ca7d1041 by task syz-executor339/6515 [ 37.692512][ T6515] [ 37.692524][ T6515] CPU: 0 UID: 0 PID: 6515 Comm: syz-executor339 Tainted: G W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 37.692540][ T6515] Tainted: [W]=WARN [ 37.692544][ T6515] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 37.692551][ T6515] Call trace: [ 37.692555][ T6515] show_stack+0x2c/0x3c (C) [ 37.692571][ T6515] __dump_stack+0x30/0x40 [ 37.692584][ T6515] dump_stack_lvl+0xd8/0x12c [ 37.692597][ T6515] print_address_description+0xa8/0x254 [ 37.692610][ T6515] print_report+0x68/0x84 [ 37.692622][ T6515] kasan_report+0xb0/0x110 [ 37.692633][ T6515] kasan_check_range+0x264/0x2a4 [ 37.692643][ T6515] __asan_memset+0x34/0x64 [ 37.692655][ T6515] bch2_dirent_init_name+0x28c/0x670 [ 37.692665][ T6515] bch2_dirent_create_key+0x1b4/0x434 [ 37.692676][ T6515] bch2_check_dirents+0x1d1c/0x27ac [ 37.692690][ T6515] __bch2_run_recovery_passes+0x29c/0xd18 [ 37.692704][ T6515] bch2_run_recovery_passes+0x174/0x1f4 [ 37.692717][ T6515] bch2_fs_recovery+0x1db8/0x2fd4 [ 37.692729][ T6515] bch2_fs_start+0x914/0xbc0 [ 37.692743][ T6515] bch2_fs_get_tree+0x890/0xfd0 [ 37.692754][ T6515] vfs_get_tree+0x90/0x28c [ 37.692765][ T6515] do_new_mount+0x228/0x814 [ 37.692777][ T6515] path_mount+0x5b4/0xde0 [ 37.692787][ T6515] __arm64_sys_mount+0x3e8/0x468 [ 37.692798][ T6515] invoke_syscall+0x98/0x2b8 [ 37.692819][ T6515] el0_svc_common+0x130/0x23c [ 37.692832][ T6515] do_el0_svc+0x48/0x58 [ 37.692845][ T6515] el0_svc+0x58/0x17c [ 37.692857][ T6515] el0t_64_sync_handler+0x78/0x108 [ 37.692869][ T6515] el0t_64_sync+0x198/0x19c [ 37.692881][ T6515] [ 37.693025][ T6515] Allocated by task 6515: [ 37.693037][ T6515] kasan_save_track+0x40/0x78 [ 37.693055][ T6515] kasan_save_alloc_info+0x44/0x54 [ 37.693070][ T6515] __kasan_kmalloc+0x9c/0xb4 [ 37.693087][ T6515] __kmalloc_node_track_caller_noprof+0x304/0x4d0 [ 37.693103][ T6515] krealloc_noprof+0x11c/0x2f0 [ 37.693117][ T6515] __bch2_trans_kmalloc+0x1f4/0xb8c [ 37.693131][ T6515] bch2_trans_kmalloc+0x10c/0x160 [ 37.693146][ T6515] bch2_dirent_create_key+0x50/0x434 [ 37.693160][ T6515] bch2_check_dirents+0x1d1c/0x27ac [ 37.693177][ T6515] __bch2_run_recovery_passes+0x29c/0xd18 [ 37.693195][ T6515] bch2_run_recovery_passes+0x174/0x1f4 [ 37.693212][ T6515] bch2_fs_recovery+0x1db8/0x2fd4 [ 37.693228][ T6515] bch2_fs_start+0x914/0xbc0 [ 37.693245][ T6515] bch2_fs_get_tree+0x890/0xfd0 [ 37.693260][ T6515] vfs_get_tree+0x90/0x28c [ 37.693274][ T6515] do_new_mount+0x228/0x814 [ 37.693289][ T6515] path_mount+0x5b4/0xde0 [ 37.693303][ T6515] __arm64_sys_mount+0x3e8/0x468 [ 37.693317][ T6515] invoke_syscall+0x98/0x2b8 [ 37.693334][ T6515] el0_svc_common+0x130/0x23c [ 37.693351][ T6515] do_el0_svc+0x48/0x58 [ 37.693368][ T6515] el0_svc+0x58/0x17c [ 37.693383][ T6515] el0t_64_sync_handler+0x78/0x108 [ 37.693399][ T6515] el0t_64_sync+0x198/0x19c [ 37.693413][ T6515] [ 37.693421][ T6515] The buggy address belongs to the object at ffff0000ca7d1000 [ 37.693421][ T6515] which belongs to the cache kmalloc-2k of size 2048 [ 37.693436][ T6515] The buggy address is located 65 bytes inside of [ 37.693436][ T6515] allocated 2048-byte region [ffff0000ca7d1000, ffff0000ca7d1800) [ 37.693455][ T6515] [ 37.693463][ T6515] The buggy address belongs to the physical page: [ 37.693474][ T6515] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10a7d0 [ 37.693491][ T6515] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 37.693506][ T6515] flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) [ 37.693523][ T6515] page_type: f5(slab) [ 37.693539][ T6515] raw: 05ffc00000000040 ffff0000c0002000 dead000000000122 0000000000000000 [ 37.693555][ T6515] raw: 0000000000000000 0000000080080008 00000000f5000000 0000000000000000 [ 37.693571][ T6515] head: 05ffc00000000040 ffff0000c0002000 dead000000000122 0000000000000000 [ 37.693586][ T6515] head: 0000000000000000 0000000080080008 00000000f5000000 0000000000000000 [ 37.693602][ T6515] head: 05ffc00000000003 fffffdffc329f401 00000000ffffffff 00000000ffffffff [ 37.693618][ T6515] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 37.693629][ T6515] page dumped because: kasan: bad access detected [ 37.693640][ T6515] [ 37.693648][ T6515] Memory state around the buggy address: [ 37.693660][ T6515] ffff0000ca7d1700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.693673][ T6515] ffff0000ca7d1780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.693686][ T6515] >ffff0000ca7d1800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.693697][ T6515] ^ [ 37.693709][ T6515] ffff0000ca7d1880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.693722][ T6515] ffff0000ca7d1900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.693733][ T6515] ================================================================== [ 37.693746][ T6515] Disabling lock debugging due to kernel taint [ 37.694033][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.694044][ T6515] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 37.694214][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.694225][ T6515] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 37.694373][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.694383][ T6515] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 37.694547][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.694557][ T6515] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 37.694708][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.694718][ T6515] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 37.694881][ T6515] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 37.695297][ T6515] done [ 37.695618][ T6515] bcachefs (loop0): check_xattrs... done [ 37.696453][ T6515] bcachefs (loop0): check_root... done [ 37.697025][ T6515] bcachefs (loop0): check_unreachable_inodes... [ 37.697575][ T6515] bcachefs (loop0): unreachable inode: [ 37.697586][ T6515] inum: 4099:4294967295 [ 37.697594][ T6515] mode=100755 [ 37.697601][ T6515] flags=(4300000) [ 37.697608][ T6515] journal_seq=20 [ 37.697615][ T6515] hash_seed=fc917866faeb7b5b [ 37.697623][ T6515] hash_type=siphash [ 37.697631][ T6515] bi_size=1050 [ 37.697638][ T6515] bi_sectors=8 [ 37.697645][ T6515] bi_version=0 [ 37.697652][ T6515] bi_atime=2770562249 [ 37.697660][ T6515] bi_ctime=2770562249 [ 37.697667][ T6515] bi_mtime=2770562249 [ 37.697674][ T6515] bi_otime=2770562249 [ 37.697682][ T6515] bi_uid=0 [ 37.697689][ T6515] bi_gid=0 [ 37.697696][ T6515] bi_nlink=0 [ 37.697703][ T6515] bi_generation=0 [ 37.697711][ T6515] bi_dev=0 [ 37.697718][ T6515] bi_data_checksum=0 [ 37.697725][ T6515] bi_compression=0 [ 37.697733][ T6515] bi_project=0 [ 37.697740][ T6515] bi_background_compression=0 [ 37.697748][ T6515] bi_data_replicas=0 [ 37.697755][ T6515] bi_promote_target=0 [ 37.697763][ T6515] bi_foreground_target=0 [ 37.697770][ T6515] bi_background_target=0 [ 37.697778][ T6515] bi_erasure_code=0 [ 37.697785][ T6515] bi_fields_set=0 [ 37.697792][ T6515] bi_dir=0 [ 37.697799][ T6515] bi_dir_offset=0 [ 37.697807][ T6515] bi_subvol=0 [ 37.697823][ T6515] bi_parent_subvol=0 [ 37.697830][ T6515] bi_nocow=0 [ 37.697837][ T6515] bi_depth=0 [ 37.697844][ T6515] bi_inodes_32bit=0 [ 37.697852][ T6515] bi_casefold=0, fixing [ 37.699095][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 37.700629][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 37.701473][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 37.705483][ T6515] bcachefs (loop0): unreachable inode: [ 37.705496][ T6515] inum: 4100:4294967295 [ 37.705503][ T6515] mode=120777 [ 37.705510][ T6515] flags=(4300000) [ 37.705518][ T6515] journal_seq=20 [ 37.705525][ T6515] hash_seed=f4891abdd5c0cd85 [ 37.705533][ T6515] hash_type=siphash [ 37.705541][ T6515] bi_size=38 [ 37.705548][ T6515] bi_sectors=8 [ 37.705555][ T6515] bi_version=0 [ 37.705562][ T6515] bi_atime=2770562249 [ 37.705570][ T6515] bi_ctime=2780562352 [ 37.705577][ T6515] bi_mtime=2770562249 [ 37.705585][ T6515] bi_otime=2770562249 [ 37.705592][ T6515] bi_uid=0 [ 37.705599][ T6515] bi_gid=0 [ 37.705606][ T6515] bi_nlink=0 [ 37.705614][ T6515] bi_generation=0 [ 37.705621][ T6515] bi_dev=0 [ 37.705628][ T6515] bi_data_checksum=0 [ 37.705636][ T6515] bi_compression=0 [ 37.705643][ T6515] bi_project=0 [ 37.705650][ T6515] bi_background_compression=0 [ 37.705658][ T6515] bi_data_replicas=0 [ 37.705665][ T6515] bi_promote_target=0 [ 37.705673][ T6515] bi_foreground_target=0 [ 37.705680][ T6515] bi_background_target=0 [ 37.705688][ T6515] bi_erasure_code=0 [ 37.705695][ T6515] bi_fields_set=0 [ 37.705703][ T6515] bi_dir=0 [ 37.705710][ T6515] bi_dir_offset=0 [ 37.705717][ T6515] bi_subvol=0 [ 37.705724][ T6515] bi_parent_subvol=0 [ 37.705732][ T6515] bi_nocow=0 [ 37.705739][ T6515] bi_depth=0 [ 37.705746][ T6515] bi_inodes_32bit=0 [ 37.705754][ T6515] bi_casefold=0, fixing [ 37.706328][ T6515] bcachefs (loop0): unreachable inode: [ 37.706338][ T6515] inum: 536870913:4294967295 [ 37.706346][ T6515] mode=100755 [ 37.706353][ T6515] flags=(15300000) [ 37.706393][ T6515] journal_seq=21 [ 37.706401][ T6515] hash_seed=b68791a594a6d5ae [ 37.706408][ T6515] hash_type=siphash [ 37.706416][ T6515] bi_size=25769812776 [ 37.706423][ T6515] bi_sectors=24 [ 37.706431][ T6515] bi_version=0 [ 37.706438][ T6515] bi_atime=2780562352 [ 37.706445][ T6515] bi_ctime=2780562352 [ 37.706453][ T6515] bi_mtime=2780562352 [ 37.706460][ T6515] bi_otime=2780562352 [ 37.706468][ T6515] bi_uid=0 [ 37.706475][ T6515] bi_gid=0 [ 37.706482][ T6515] bi_nlink=1 [ 37.706489][ T6515] bi_generation=0 [ 37.706496][ T6515] bi_dev=0 [ 37.706504][ T6515] bi_data_checksum=0 [ 37.706511][ T6515] bi_compression=0 [ 37.706519][ T6515] bi_project=0 [ 37.706526][ T6515] bi_background_compression=0 [ 37.706534][ T6515] bi_data_replicas=0 [ 37.706541][ T6515] bi_promote_target=1 [ 37.706549][ T6515] bi_foreground_target=0 [ 37.706556][ T6515] bi_background_target=0 [ 37.706564][ T6515] bi_erasure_code=0 [ 37.706571][ T6515] bi_fields_set=0 [ 37.706579][ T6515] bi_dir=0 [ 37.706586][ T6515] bi_dir_offset=2695648408715017799 [ 37.706594][ T6515] bi_subvol=0 [ 37.706601][ T6515] bi_parent_subvol=0 [ 37.706609][ T6515] bi_nocow=0 [ 37.706616][ T6515] bi_depth=0 [ 37.706623][ T6515] bi_inodes_32bit=0 [ 37.706631][ T6515] bi_casefold=0, fixing [ 37.707138][ T6515] bcachefs (loop0): unreachable inode: [ 37.707148][ T6515] inum: 536870914:4294967295 [ 37.707156][ T6515] mode=100755 [ 37.707163][ T6515] flags=(15300000) [ 37.707170][ T6515] journal_seq=21 [ 37.707178][ T6515] hash_seed=d483206f1ed95abf [ 37.707185][ T6515] hash_type=siphash [ 37.707193][ T6515] bi_size=100 [ 37.707200][ T6515] bi_sectors=8 [ 37.707207][ T6515] bi_version=1126999418470400 [ 37.707215][ T6515] bi_atime=0 [ 37.707222][ T6515] bi_ctime=0 [ 37.707229][ T6515] bi_mtime=0 [ 37.707237][ T6515] bi_otime=2780562352 [ 37.707244][ T6515] bi_uid=2780562352 [ 37.707251][ T6515] bi_gid=0 [ 37.707259][ T6515] bi_nlink=2780562352 [ 37.707266][ T6515] bi_generation=0 [ 37.707273][ T6515] bi_dev=0 [ 37.707280][ T6515] bi_data_checksum=0 [ 37.707288][ T6515] bi_compression=0 [ 37.707295][ T6515] bi_project=0 [ 37.707302][ T6515] bi_background_compression=0 [ 37.707310][ T6515] bi_data_replicas=0 [ 37.707318][ T6515] bi_promote_target=0 [ 37.707325][ T6515] bi_foreground_target=0 [ 37.707333][ T6515] bi_background_target=0 [ 37.707340][ T6515] bi_erasure_code=0 [ 37.707348][ T6515] bi_fields_set=0 [ 37.707355][ T6515] bi_dir=0 [ 37.707362][ T6515] bi_dir_offset=9097378837824744618 [ 37.707370][ T6515] bi_subvol=0 [ 37.707377][ T6515] bi_parent_subvol=0 [ 37.707385][ T6515] bi_nocow=0 [ 37.707392][ T6515] bi_depth=0 [ 37.707399][ T6515] bi_inodes_32bit=0 [ 37.707406][ T6515] bi_casefold=0, fixing [ 37.708172][ T6515] done [ 37.708543][ T6515] bcachefs (loop0): check_subvolume_structure... done [ 37.708982][ T6515] bcachefs (loop0): check_directory_structure... [ 37.709249][ T6515] bcachefs (loop0): inode points to dirent that does not point back: [ 37.709249][ T6515] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 37.709249][ T6515] inum: 4097:4294967295 [ 37.709249][ T6515] mode=40700 [ 37.709249][ T6515] flags=has_case_insensitive(15300400) [ 37.709249][ T6515] journal_seq=21 [ 37.709249][ T6515] hash_seed=a9fcff247692d1ca [ 37.709249][ T6515] hash_type=siphash [ 37.709249][ T6515] bi_size=0 [ 37.709249][ T6515] bi_sectors=0 [ 37.709249][ T6515] bi_version=0 [ 37.709249][ T6515] bi_atime=200535484 [ 37.709249][ T6515] bi_ctime=200535484 [ 37.709249][ T6515] bi_mtime=200535484 [ 37.709249][ T6515] bi_otime=200535484 [ 37.709249][ T6515] bi_uid=0 [ 37.709249][ T6515] bi_gid=0 [ 37.709249][ T6515] bi_nlink=0 [ 37.709249][ T6515] bi_generation=0 [ 37.709249][ T6515] bi_dev=0 [ 37.709249][ T6515] bi_data_checksum=0 [ 37.709249][ T6515] bi_compression=0 [ 37.709249][ T6515] bi_project=0 [ 37.709249][ T6515] bi_background_compression=0 [ 37.709249][ T6515] bi_data_replicas=0 [ 37.709249][ T6515] bi_promote_target=0 [ 37.709249][ T6515] bi_foreground_target=0 [ 37.709249][ T6515] bi_background_target=0 [ 37.709249][ T6515] bi_erasure_code=0 [ 37.709249][ T6515] bi_fields_set=0 [ 37.709249][ T6515] bi_dir=4096 [ 37.709249][ T6515] bi_dir_offset=8130059955150870709 [ 37.709249][ T6515] bi_subvol=0 [ 37.709249][ T6515] bi_parent_subvol=0 [ 37.709249][ T6515] bi_nocow=0 [ 37.709249][ T6515] bi_depth=0 [ 37.709249][ T6515] bi_inodes_32bit=0 [ 37.709249][ T6515] bi_casefold=0 [ 37.709430][ T6515] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 37.709430][ T6515] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 37.709430][ T6515] mode=40700 [ 37.709430][ T6515] flags=has_case_insensitive(15300400) [ 37.709430][ T6515] journal_seq=21 [ 37.709430][ T6515] hash_seed=a9fcff247692d1ca [ 37.709430][ T6515] hash_type=siphash [ 37.709430][ T6515] bi_size=0 [ 37.709430][ T6515] bi_sectors=0 [ 37.709430][ T6515] bi_version=0 [ 37.709430][ T6515] bi_atime=200535484 [ 37.709430][ T6515] bi_ctime=200535484 [ 37.709430][ T6515] bi_mtime=200535484 [ 37.709430][ T6515] bi_otime=200535484 [ 37.709430][ T6515] bi_uid=0 [ 37.709430][ T6515] bi_gid=0 [ 37.709430][ T6515] bi_nlink=0 [ 37.709430][ T6515] bi_generation=0 [ 37.709430][ T6515] bi_dev=0 [ 37.709430][ T6515] bi_data_checksum=0 [ 37.709430][ T6515] bi_compression=0 [ 37.709430][ T6515] bi_project=0 [ 37.709430][ T6515] bi_background_compression=0 [ 37.709430][ T6515] bi_data_replicas=0 [ 37.709430][ T6515] bi_promote_target=0 [ 37.709430][ T6515] bi_foreground_target=0 [ 37.709430][ T6515] bi_background_target=0 [ 37.709430][ T6515] bi_erasure_code=0 [ 37.709430][ T6515] bi_fields_set=0 [ 37.709430][ T6515] bi_dir=4096 [ 37.709430][ T6515] bi_dir_offset=8130059955150870709 [ 37.709430][ T6515] bi_subvol=0 [ 37.709430][ T6515] bi_parent_subvol=0 [ 37.709430][ T6515] bi_nocow=0 [ 37.709430][ T6515] bi_depth=0 [ 37.709430][ T6515] bi_inodes_32bit=0 [ 37.709430][ T6515] bi_casefold=0 [ 37.709480][ T6515] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 37.709500][ T6515] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 37.709562][ T1793] bcachefs (loop0): going read-only [ 37.709589][ T1793] bcachefs (loop0): finished waiting for writes to stop [ 37.709661][ T6515] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 37.709688][ T6515] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 37.709706][ T6515] bcachefs (loop0): shutting down [ 37.746706][ T1793] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 37.746748][ T1793] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 37.746948][ T1793] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 37.747805][ T1793] bcachefs (loop0): done going read-only, filesystem not clean [ 37.754234][ T6515] bcachefs (loop0): shutdown complete [ 38.857768][ T6515] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 38.989393][ T6529] loop0: detected capacity change from 0 to 32768 [ 39.045001][ T6529] 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 [ 39.045001][ T6529] allowing incompatible features above 0.0: (unknown version) [ 39.045001][ T6529] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 39.045070][ T6529] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 39.045299][ T6529] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 39.045404][ T6529] bcachefs (loop0): Version upgrade required: [ 39.045404][ T6529] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 39.045404][ T6529] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 39.045404][ T6529] 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 [ 39.053892][ T6529] bcachefs (loop0): accounting_read... done [ 39.107267][ T6529] bcachefs (loop0): alloc_read... done [ 39.109423][ T6529] bcachefs (loop0): snapshots_read... done [ 39.111374][ T6529] bcachefs (loop0): check_allocations... [ 39.112389][ T6529] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 39.112403][ T6529] 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 [ 39.113284][ T6529] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 39.113296][ T6529] 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 [ 39.113835][ T6529] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 39.113847 ** replaying previous printk message ** [ 39.113847][ T6529] 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 [ 39.114518][ T6529] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 39.114530][ T6529] 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 [ 39.115665][ T6529] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 39.115677][ T6529] 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 [ 39.116161][ T6529] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.116220][ T6529] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.116356][ T6529] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.117139][ T6529] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.117230][ T6529] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.117280][ T6529] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.117358][ T6529] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.117410][ T6529] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.117497][ T6529] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.117547][ T6529] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.117625][ T6529] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.117674][ T6529] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.117751][ T6529] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.117800][ T6529] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.117889][ T6529] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.117944][ T6529] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 39.118031][ T6529] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 39.118081][ T6529] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 39.118160][ T6529] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 39.118209][ T6529] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 39.118296][ T6529] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 39.118307][ T6529] Ratelimiting new instances of previous error [ 39.118368][ T6529] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 39.118378][ T6529] Ratelimiting new instances of previous error [ 39.122112][ T6529] done [ 39.123055][ T6529] bcachefs (loop0): going read-write [ 39.130011][ T6538] ODEBUG: object 000000009f8f5c7d is on stack 00000000e4984736, but NOT annotated. [ 39.130380][ T6538] ------------[ cut here ]------------ [ 39.130391][ T6538] WARNING: CPU: 1 PID: 6538 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 39.226113][ T6538] Modules linked in: [ 39.227174][ T6538] CPU: 1 UID: 0 PID: 6538 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 39.230788][ T6538] Tainted: [B]=BAD_PAGE, [W]=WARN [ 39.232116][ T6538] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 39.234936][ T6538] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 39.237065][ T6538] pc : __debug_object_init+0x364/0x40c [ 39.238622][ T6529] bcachefs (loop0): journal_replay... [ 39.238663][ T6538] lr : __debug_object_init+0x364/0x40c [ 39.241679][ T6538] sp : ffff8000a3dc7700 [ 39.242842][ T6538] x29: ffff8000a3dc7700 x28: 0000000000000001 x27: dfff800000000000 [ 39.245129][ T6538] x26: ffff800097693000 x25: ffff0000c793dba0 x24: 0000000000000000 [ 39.247310][ T6538] x23: ffff0000d19e5fc0 x22: 0000000000000000 x21: ffff80009757e448 [ 39.249500][ T6538] x20: ffff80008af70de0 x19: ffff8000a3dc7bb0 x18: 1fffe000337e1476 [ 39.251695][ T6538] x17: 7562202c36333734 x16: ffff80008aec8e2c x15: 0000000000000001 ** replaying previous printk message ** [ 39.251921][ T6529] done [ 39.255600][ T6538] x14: 1ffff000147b8e58 x13: 0000000000000000 x12: 0000000000000000 [ 39.255803][ T6529] bcachefs (loop0): check_alloc_info... [ 39.257731][ T6538] x11: ffff7000147b8e59 x10: 0000000000ff0100 x9 : 8fcc3829a3c33900 [ 39.259460][ T6529] done [ 39.259503][ T6529] bcachefs (loop0): check_lrus... [ 39.262236][ T6538] x8 : 8fcc3829a3c33900 ** replaying previous printk message ** [ 39.262477][ T6529] done [ 39.262522][ T6529] bcachefs (loop0): check_btree_backpointers... [ 39.266595][ T6538] x7 : 0000000000000001 ** replaying previous printk message ** [ 39.266853][ T6529] done [ 39.266898][ T6529] bcachefs (loop0): check_backpointers_to_extents... [ 39.271161][ T6538] x6 : 0000000000000001 ** replaying previous printk message ** [ 39.271393][ T6529] done [ 39.275825][ T6538] [ 39.275998][ T6529] bcachefs (loop0): check_extents_to_backpointers... [ 39.276486][ T6538] x5 : ffff8000a3dc7098 ** replaying previous printk message ** [ 39.276600][ T6529] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 39.282615][ T6538] x4 : ffff80008f727060 x3 : ffff8000807c0744 ** replaying previous printk message ** [ 39.282907][ T6529] done [ 39.286090][ T6538] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 39.286243][ T6529] bcachefs (loop0): check_alloc_to_lru_refs... [ 39.288291][ T6538] Call trace: ** replaying previous printk message ** [ 39.288515][ T6529] done [ 39.292653][ T6538] __debug_object_init+0x364/0x40c (P) [ 39.292895][ T6529] bcachefs (loop0): bucket_gens_init... [ 39.294219][ T6538] debug_object_init+0x20/0x2c [ 39.297078][ T6538] __init_work+0x58/0x68 [ 39.298336][ T6538] rhashtable_init_noprof+0x734/0xa10 [ 39.298347][ T6529] done [ 39.300683][ T6538] bch2_copygc_thread+0xec/0xd40 [ 39.301009][ T6529] bcachefs (loop0): check_snapshot_trees... [ 39.302160][ T6538] kthread+0x5fc/0x75c ** replaying previous printk message ** [ 39.302520][ T6529] done ** replaying previous printk message ** [ 39.306690][ T6529] bcachefs (loop0): check_snapshots... [ 39.306696][ T6538] ret_from_fork+0x10/0x20 [ 39.310380][ T6538] irq event stamp: 0 ** replaying previous printk message ** [ 39.310556][ T6529] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 39.314461][ T6529] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 39.314458][ T6538] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 39.320129][ T6538] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 39.322647][ T6538] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec ** replaying previous printk message ** [ 39.323477][ T6529] done [ 39.326854][ T6538] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 39.326862][ T6529] bcachefs (loop0): check_subvols... [ 39.328790][ T6538] ---[ end trace 0000000000000000 ]--- ** replaying previous printk message ** [ 39.329396][ T6529] done [ 39.333535][ T6529] bcachefs (loop0): check_subvol_children... done [ 39.335509][ T6529] bcachefs (loop0): delete_dead_snapshots... done [ 39.335935][ T6529] bcachefs (loop0): check_inodes... [ 39.336825][ T6529] bcachefs (loop0): inode points to missing dirent [ 39.336837][ T6529] inum: 4099:4294967295 [ 39.336845][ T6529] mode=100755 [ 39.336852][ T6529] flags=(15300000) [ 39.336860][ T6529] journal_seq=5 [ 39.336867][ T6529] hash_seed=fc917866faeb7b5b [ 39.336875][ T6529] hash_type=siphash [ 39.336882][ T6529] bi_size=1050 [ 39.336890][ T6529] bi_sectors=8 [ 39.336897][ T6529] bi_version=0 [ 39.336910][ T6529] bi_atime=2770562249 [ 39.336917][ T6529] bi_ctime=2770562249 [ 39.336925][ T6529] bi_mtime=2770562249 [ 39.336932][ T6529] bi_otime=2770562249 [ 39.336940][ T6529] bi_uid=0 [ 39.336947][ T6529] bi_gid=0 [ 39.336954][ T6529] bi_nlink=0 [ 39.336961][ T6529] bi_generation=0 [ 39.336968][ T6529] bi_dev=0 [ 39.336975][ T6529] bi_data_checksum=0 [ 39.336983][ T6529] bi_compression=0 [ 39.336990][ T6529] bi_project=0 [ 39.336997][ T6529] bi_background_compression=0 [ 39.337005][ T6529] bi_data_replicas=0 [ 39.337012][ T6529] bi_promote_target=0 [ 39.337020][ T6529] bi_foreground_target=0 [ 39.337027][ T6529] bi_background_target=0 [ 39.337035][ T6529] bi_erasure_code=0 [ 39.337042][ T6529] bi_fields_set=0 [ 39.337050][ T6529] bi_dir=4098 [ 39.337057][ T6529] bi_dir_offset=8977922886548783724 [ 39.337065][ T6529] bi_subvol=0 [ 39.337072][ T6529] bi_parent_subvol=0 [ 39.337079][ T6529] bi_nocow=0 [ 39.337086][ T6529] bi_depth=0 [ 39.337094][ T6529] bi_inodes_32bit=0 [ 39.337101][ T6529] bi_casefold=0, fixing [ 39.337947][ T6529] bcachefs (loop0): inode points to missing dirent [ 39.337959][ T6529] inum: 4100:4294967295 [ 39.337967][ T6529] mode=120777 [ 39.337974][ T6529] flags=(15300000) [ 39.337981][ T6529] journal_seq=4 [ 39.337988][ T6529] hash_seed=f4891abdd5c0cd85 [ 39.337996][ T6529] hash_type=siphash [ 39.338003][ T6529] bi_size=38 [ 39.338011][ T6529] bi_sectors=8 [ 39.338018][ T6529] bi_version=0 [ 39.338025][ T6529] bi_atime=2770562249 [ 39.338033][ T6529] bi_ctime=2780562352 [ 39.338040][ T6529] bi_mtime=2770562249 [ 39.338048][ T6529] bi_otime=2770562249 [ 39.338055][ T6529] bi_uid=0 [ 39.338062][ T6529] bi_gid=0 [ 39.338069][ T6529] bi_nlink=0 [ 39.338077][ T6529] bi_generation=0 [ 39.338084][ T6529] bi_dev=0 [ 39.338092][ T6529] bi_data_checksum=0 [ 39.338099][ T6529] bi_compression=0 [ 39.338107][ T6529] bi_project=0 [ 39.338114][ T6529] bi_background_compression=0 [ 39.338121][ T6529] bi_data_replicas=0 [ 39.338129][ T6529] bi_promote_target=0 [ 39.338137][ T6529] bi_foreground_target=0 [ 39.338144][ T6529] bi_background_target=0 [ 39.338152][ T6529] bi_erasure_code=0 [ 39.338159][ T6529] bi_fields_set=0 [ 39.338167][ T6529] bi_dir=4098 [ 39.338174][ T6529] bi_dir_offset=5675548428000973578 [ 39.338182][ T6529] bi_subvol=0 [ 39.338189][ T6529] bi_parent_subvol=0 [ 39.338196][ T6529] bi_nocow=0 [ 39.338204][ T6529] bi_depth=0 [ 39.338211][ T6529] bi_inodes_32bit=0 [ 39.338218][ T6529] bi_casefold=0, fixing [ 39.339160][ T6529] done [ 39.340096][ T6529] bcachefs (loop0): check_extents... done [ 39.341835][ T6529] bcachefs (loop0): check_indirect_extents... done [ 39.342723][ T6529] bcachefs (loop0): check_dirents... [ 39.343129][ T6529] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.343141][ T6529] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 39.343404][ T6529] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.343415][ T6529] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 39.343582][ T6529] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.343593][ T6529] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 39.343747][ T6529] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.343757][ T6529] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 39.344135][ T6529] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.344147][ T6529] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 39.344316][ T6529] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.344326][ T6529] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 39.344476][ T6529] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 39.344915][ T6529] done [ 39.345283][ T6529] bcachefs (loop0): check_xattrs... done [ 39.346009][ T6529] bcachefs (loop0): check_root... done [ 39.347314][ T6529] bcachefs (loop0): check_unreachable_inodes... [ 39.347776][ T6529] bcachefs (loop0): unreachable inode: [ 39.347787][ T6529] inum: 4099:4294967295 [ 39.347794][ T6529] mode=100755 [ 39.347802][ T6529] flags=(4300000) [ 39.347820][ T6529] journal_seq=20 [ 39.347829][ T6529] hash_seed=fc917866faeb7b5b [ 39.347837][ T6529] hash_type=siphash [ 39.347844][ T6529] bi_size=1050 [ 39.347851][ T6529] bi_sectors=8 [ 39.347859][ T6529] bi_version=0 [ 39.347866][ T6529] bi_atime=2770562249 [ 39.347873][ T6529] bi_ctime=2770562249 [ 39.347881][ T6529] bi_mtime=2770562249 [ 39.347888][ T6529] bi_otime=2770562249 [ 39.347896][ T6529] bi_uid=0 [ 39.347914][ T6529] bi_gid=0 [ 39.347922][ T6529] bi_nlink=0 [ 39.347929][ T6529] bi_generation=0 [ 39.347937][ T6529] bi_dev=0 [ 39.347944][ T6529] bi_data_checksum=0 [ 39.347951][ T6529] bi_compression=0 [ 39.347959][ T6529] bi_project=0 [ 39.347966][ T6529] bi_background_compression=0 [ 39.347974][ T6529] bi_data_replicas=0 [ 39.347981][ T6529] bi_promote_target=0 [ 39.347989][ T6529] bi_foreground_target=0 [ 39.347996][ T6529] bi_background_target=0 [ 39.348004][ T6529] bi_erasure_code=0 [ 39.348011][ T6529] bi_fields_set=0 [ 39.348019][ T6529] bi_dir=0 [ 39.348026][ T6529] bi_dir_offset=0 [ 39.348033][ T6529] bi_subvol=0 [ 39.348040][ T6529] bi_parent_subvol=0 [ 39.348048][ T6529] bi_nocow=0 [ 39.348055][ T6529] bi_depth=0 [ 39.348063][ T6529] bi_inodes_32bit=0 [ 39.348070][ T6529] bi_casefold=0, fixing [ 39.349215][ T6529] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.350657][ T6529] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.351464][ T6529] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.355459][ T6529] bcachefs (loop0): unreachable inode: [ 39.355472][ T6529] inum: 4100:4294967295 [ 39.355480][ T6529] mode=120777 [ 39.355487][ T6529] flags=(4300000) [ 39.355494][ T6529] journal_seq=20 [ 39.355502][ T6529] hash_seed=f4891abdd5c0cd85 [ 39.355510][ T6529] hash_type=siphash [ 39.355517][ T6529] bi_size=38 [ 39.355525][ T6529] bi_sectors=8 [ 39.355532][ T6529] bi_version=0 [ 39.355539][ T6529] bi_atime=2770562249 [ 39.355547][ T6529] bi_ctime=2780562352 [ 39.355554][ T6529] bi_mtime=2770562249 [ 39.355562][ T6529] bi_otime=2770562249 [ 39.355569][ T6529] bi_uid=0 [ 39.355577][ T6529] bi_gid=0 [ 39.355584][ T6529] bi_nlink=0 [ 39.355591][ T6529] bi_generation=0 [ 39.355598][ T6529] bi_dev=0 [ 39.355606][ T6529] bi_data_checksum=0 [ 39.355613][ T6529] bi_compression=0 [ 39.355621][ T6529] bi_project=0 [ 39.355628][ T6529] bi_background_compression=0 [ 39.355636][ T6529] bi_data_replicas=0 [ 39.355643][ T6529] bi_promote_target=0 [ 39.355651][ T6529] bi_foreground_target=0 [ 39.355658][ T6529] bi_background_target=0 [ 39.355666][ T6529] bi_erasure_code=0 [ 39.355674][ T6529] bi_fields_set=0 [ 39.355681][ T6529] bi_dir=0 [ 39.355688][ T6529] bi_dir_offset=0 [ 39.355696][ T6529] bi_subvol=0 [ 39.355703][ T6529] bi_parent_subvol=0 [ 39.355710][ T6529] bi_nocow=0 [ 39.355718][ T6529] bi_depth=0 [ 39.355725][ T6529] bi_inodes_32bit=0 [ 39.355732][ T6529] bi_casefold=0, fixing [ 39.356288][ T6529] bcachefs (loop0): unreachable inode: [ 39.356298][ T6529] inum: 536870913:4294967295 [ 39.356306][ T6529] mode=100755 [ 39.356313][ T6529] flags=(15300000) [ 39.356321][ T6529] journal_seq=21 [ 39.356329][ T6529] hash_seed=b68791a594a6d5ae [ 39.356336][ T6529] hash_type=siphash [ 39.356344][ T6529] bi_size=25769812776 [ 39.356351][ T6529] bi_sectors=24 [ 39.358954][ T6529] bi_version=0 [ 39.358966][ T6529] bi_atime=2780562352 [ 39.358974][ T6529] bi_ctime=2780562352 [ 39.358981][ T6529] bi_mtime=2780562352 [ 39.358989][ T6529] bi_otime=2780562352 [ 39.358996][ T6529] bi_uid=0 [ 39.359003][ T6529] bi_gid=0 [ 39.359010][ T6529] bi_nlink=1 [ 39.359018][ T6529] bi_generation=0 [ 39.359025][ T6529] bi_dev=0 [ 39.359032][ T6529] bi_data_checksum=0 [ 39.359040][ T6529] bi_compression=0 [ 39.359047][ T6529] bi_project=0 [ 39.359054][ T6529] bi_background_compression=0 [ 39.359062][ T6529] bi_data_replicas=0 [ 39.359069][ T6529] bi_promote_target=1 [ 39.359077][ T6529] bi_foreground_target=0 [ 39.359085][ T6529] bi_background_target=0 [ 39.359092][ T6529] bi_erasure_code=0 [ 39.359100][ T6529] bi_fields_set=0 [ 39.359107][ T6529] bi_dir=0 [ 39.359114][ T6529] bi_dir_offset=2695648408715017799 [ 39.359122][ T6529] bi_subvol=0 [ 39.359129][ T6529] bi_parent_subvol=0 [ 39.359137][ T6529] bi_nocow=0 [ 39.359144][ T6529] bi_depth=0 [ 39.359151][ T6529] bi_inodes_32bit=0 [ 39.359158][ T6529] bi_casefold=0, fixing [ 39.359678][ T6529] bcachefs (loop0): unreachable inode: [ 39.359688][ T6529] inum: 536870914:4294967295 [ 39.359695][ T6529] mode=100755 [ 39.359703][ T6529] flags=(15300000) [ 39.359710][ T6529] journal_seq=21 [ 39.359718][ T6529] hash_seed=d483206f1ed95abf [ 39.359725][ T6529] hash_type=siphash [ 39.359733][ T6529] bi_size=100 [ 39.359740][ T6529] bi_sectors=8 [ 39.359747][ T6529] bi_version=1126999418470400 [ 39.359755][ T6529] bi_atime=0 [ 39.359762][ T6529] bi_ctime=0 [ 39.359769][ T6529] bi_mtime=0 [ 39.359776][ T6529] bi_otime=2780562352 [ 39.359784][ T6529] bi_uid=2780562352 [ 39.359791][ T6529] bi_gid=0 [ 39.359798][ T6529] bi_nlink=2780562352 [ 39.359806][ T6529] bi_generation=0 [ 39.359823][ T6529] bi_dev=0 [ 39.359830][ T6529] bi_data_checksum=0 [ 39.359838][ T6529] bi_compression=0 [ 39.359846][ T6529] bi_project=0 [ 39.359853][ T6529] bi_background_compression=0 [ 39.359861][ T6529] bi_data_replicas=0 [ 39.359868][ T6529] bi_promote_target=0 [ 39.359876][ T6529] bi_foreground_target=0 [ 39.359883][ T6529] bi_background_target=0 [ 39.359891][ T6529] bi_erasure_code=0 [ 39.359898][ T6529] bi_fields_set=0 [ 39.359910][ T6529] bi_dir=0 [ 39.359917][ T6529] bi_dir_offset=9097378837824744618 [ 39.359925][ T6529] bi_subvol=0 [ 39.359932][ T6529] bi_parent_subvol=0 [ 39.359940][ T6529] bi_nocow=0 [ 39.359947][ T6529] bi_depth=0 [ 39.359954][ T6529] bi_inodes_32bit=0 [ 39.359962][ T6529] bi_casefold=0, fixing [ 39.362498][ T6529] done [ 39.363031][ T6529] bcachefs (loop0): check_subvolume_structure... done [ 39.364262][ T6529] bcachefs (loop0): check_directory_structure... [ 39.364524][ T6529] bcachefs (loop0): inode points to dirent that does not point back: [ 39.364524][ T6529] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 39.364524][ T6529] inum: 4097:4294967295 [ 39.364524][ T6529] mode=40700 [ 39.364524][ T6529] flags=has_case_insensitive(15300400) [ 39.364524][ T6529] journal_seq=21 [ 39.364524][ T6529] hash_seed=a9fcff247692d1ca [ 39.364524][ T6529] hash_type=siphash [ 39.364524][ T6529] bi_size=0 [ 39.364524][ T6529] bi_sectors=0 [ 39.364524][ T6529] bi_version=0 [ 39.364524][ T6529] bi_atime=200535484 [ 39.364524][ T6529] bi_ctime=200535484 [ 39.364524][ T6529] bi_mtime=200535484 [ 39.364524][ T6529] bi_otime=200535484 [ 39.364524][ T6529] bi_uid=0 [ 39.364524][ T6529] bi_gid=0 [ 39.364524][ T6529] bi_nlink=0 [ 39.364524][ T6529] bi_generation=0 [ 39.364524][ T6529] bi_dev=0 [ 39.364524][ T6529] bi_data_checksum=0 [ 39.364524][ T6529] bi_compression=0 [ 39.364524][ T6529] bi_project=0 [ 39.364524][ T6529] bi_background_compression=0 [ 39.364524][ T6529] bi_data_replicas=0 [ 39.364524][ T6529] bi_promote_target=0 [ 39.364524][ T6529] bi_foreground_target=0 [ 39.364524][ T6529] bi_background_target=0 [ 39.364524][ T6529] bi_erasure_code=0 [ 39.364524][ T6529] bi_fields_set=0 [ 39.364524][ T6529] bi_dir=4096 [ 39.364524][ T6529] bi_dir_offset=8130059955150870709 [ 39.364524][ T6529] bi_subvol=0 [ 39.364524][ T6529] bi_parent_subvol=0 [ 39.364524][ T6529] bi_nocow=0 [ 39.364524][ T6529] bi_depth=0 [ 39.364524][ T6529] bi_inodes_32bit=0 [ 39.364524][ T6529] bi_casefold=0 [ 39.364676][ T6529] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 39.364676][ T6529] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 39.364676][ T6529] mode=40700 [ 39.364676][ T6529] flags=has_case_insensitive(15300400) [ 39.364676][ T6529] journal_seq=21 [ 39.364676][ T6529] hash_seed=a9fcff247692d1ca [ 39.364676][ T6529] hash_type=siphash [ 39.364676][ T6529] bi_size=0 [ 39.364676][ T6529] bi_sectors=0 [ 39.364676][ T6529] bi_version=0 [ 39.364676][ T6529] bi_atime=200535484 [ 39.364676][ T6529] bi_ctime=200535484 [ 39.364676][ T6529] bi_mtime=200535484 [ 39.364676][ T6529] bi_otime=200535484 [ 39.364676][ T6529] bi_uid=0 [ 39.364676][ T6529] bi_gid=0 [ 39.364676][ T6529] bi_nlink=0 [ 39.364676][ T6529] bi_generation=0 [ 39.364676][ T6529] bi_dev=0 [ 39.364676][ T6529] bi_data_checksum=0 [ 39.364676][ T6529] bi_compression=0 [ 39.364676][ T6529] bi_project=0 [ 39.364676][ T6529] bi_background_compression=0 [ 39.364676][ T6529] bi_data_replicas=0 [ 39.364676][ T6529] bi_promote_target=0 [ 39.364676][ T6529] bi_foreground_target=0 [ 39.364676][ T6529] bi_background_target=0 [ 39.364676][ T6529] bi_erasure_code=0 [ 39.364676][ T6529] bi_fields_set=0 [ 39.364676][ T6529] bi_dir=4096 [ 39.364676][ T6529] bi_dir_offset=8130059955150870709 [ 39.364676][ T6529] bi_subvol=0 [ 39.364676][ T6529] bi_parent_subvol=0 [ 39.364676][ T6529] bi_nocow=0 [ 39.364676][ T6529] bi_depth=0 [ 39.364676][ T6529] bi_inodes_32bit=0 [ 39.364676][ T6529] bi_casefold=0 [ 39.364724][ T6529] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 39.364743][ T6529] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 39.364804][ T24] bcachefs (loop0): going read-only [ 39.364839][ T24] bcachefs (loop0): finished waiting for writes to stop [ 39.365958][ T6529] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 39.365995][ T6529] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 39.366014][ T6529] bcachefs (loop0): shutting down [ 39.386698][ T24] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 39.386739][ T24] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 39.386943][ T24] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 39.387757][ T24] bcachefs (loop0): done going read-only, filesystem not clean [ 39.394163][ T6529] bcachefs (loop0): shutdown complete [ 40.397721][ T6529] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 40.529959][ T6542] loop0: detected capacity change from 0 to 32768 [ 40.575087][ T6542] 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 [ 40.575087][ T6542] allowing incompatible features above 0.0: (unknown version) [ 40.575087][ T6542] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 40.575157][ T6542] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 40.575973][ T6542] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 40.576081][ T6542] bcachefs (loop0): Version upgrade required: [ 40.576081][ T6542] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 40.576081][ T6542] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 40.576081][ T6542] 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 ** replaying previous printk message ** [ 40.576081][ T6542] bcachefs (loop0): Version upgrade required: [ 40.576081][ T6542] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 40.576081][ T6542] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 40.576081][ T6542] 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 [ 40.584395][ T6542] bcachefs (loop0): accounting_read... done [ 40.584869][ T6542] bcachefs (loop0): alloc_read... done [ 40.585307][ T6542] bcachefs (loop0): snapshots_read... done [ 40.585705][ T6542] bcachefs (loop0): check_allocations... [ 40.587796][ T6542] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 40.587824][ T6542] 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 [ 40.588768][ T6542] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 40.588781][ T6542] 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 [ 40.589384][ T6542] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 40.589396][ T6542] 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 [ 40.590142][ T6542] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 40.590154][ T6542] 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 [ 40.591274][ T6542] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 40.591286][ T6542] 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 [ 40.591746][ T6542] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.591798][ T6542] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.591955][ T6542] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.592006][ T6542] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.592088][ T6542] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.592138][ T6542] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.592224][ T6542] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.592274][ T6542] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.592352][ T6542] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.592401][ T6542] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.592480][ T6542] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.592529][ T6542] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.592631][ T6542] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.592680][ T6542] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.592765][ T6542] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.592821][ T6542] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 40.592909][ T6542] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.592958][ T6542] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.593046][ T6542] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.593096][ T6542] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.593183][ T6542] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.593193][ T6542] Ratelimiting new instances of previous error [ 40.593261][ T6542] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.593272][ T6542] Ratelimiting new instances of previous error [ 40.599855][ T6542] done [ 40.600921][ T6542] bcachefs (loop0): going read-write [ 40.607334][ T6551] ODEBUG: object 0000000068b8525d is on stack 00000000241f100b, but NOT annotated. [ 40.607701][ T6551] ------------[ cut here ]------------ [ 40.607712][ T6551] WARNING: CPU: 1 PID: 6551 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 40.745868][ T6551] Modules linked in: [ 40.746939][ T6551] CPU: 1 UID: 0 PID: 6551 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 40.750504][ T6551] Tainted: [B]=BAD_PAGE, [W]=WARN [ 40.751927][ T6551] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 40.752072][ T6542] bcachefs (loop0): journal_replay... [ 40.754642][ T6551] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 40.758187][ T6551] pc : __debug_object_init+0x364/0x40c [ 40.759732][ T6551] lr : __debug_object_init+0x364/0x40c [ 40.761254][ T6551] sp : ffff8000a3d07700 [ 40.762370][ T6551] x29: ffff8000a3d07700 x28: 0000000000000002 x27: dfff800000000000 [ 40.764672][ T6551] x26: ffff800097693000 x25: ffff0000c6b19ea0 x24: 0000000000000000 ** replaying previous printk message ** [ 40.765346][ T6542] done [ 40.768660][ T6551] x23: ffff0000d34677e0 x22: 0000000000000000 x21: ffff80009763d0f8 [ 40.768958][ T6542] bcachefs (loop0): check_alloc_info... [ 40.770957][ T6551] x20: ffff80008af70de0 x19: ffff8000a3d07bb0 x18: 1fffe000337e1476 ** replaying previous printk message ** [ 40.773288][ T6542] done [ 40.776492][ T6542] bcachefs (loop0): check_lrus... [ 40.776498][ T6551] x17: 7562202c62303031 x16: ffff80008aec8e2c x15: 0000000000000001 ** replaying previous printk message ** [ 40.778324][ T6542] done [ 40.781926][ T6542] bcachefs (loop0): check_btree_backpointers... [ 40.781931][ T6551] x14: 1ffff000147a0e58 x13: 0000000000000000 x12: 0000000000000000 ** replaying previous printk message ** [ 40.784199][ T6542] done [ 40.787711][ T6551] x11: ffff7000147a0e59 x10: 0000000000ff0100 x9 : d2ae1dc95c5aa100 [ 40.790046][ T6551] x8 : d2ae1dc95c5aa100 x7 : 0000000000000001 x6 : 0000000000000001 [ 40.792254][ T6551] x5 : ffff8000a3d07098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 40.794530][ T6551] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 40.796835][ T6551] Call trace: [ 40.797736][ T6551] __debug_object_init+0x364/0x40c (P) [ 40.799275][ T6551] debug_object_init+0x20/0x2c [ 40.800585][ T6551] __init_work+0x58/0x68 [ 40.801757][ T6551] rhashtable_init_noprof+0x734/0xa10 [ 40.803250][ T6551] bch2_copygc_thread+0xec/0xd40 [ 40.804616][ T6551] kthread+0x5fc/0x75c [ 40.805737][ T6551] ret_from_fork+0x10/0x20 [ 40.806946][ T6551] irq event stamp: 0 [ 40.808051][ T6551] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 40.810010][ T6551] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 40.812579][ T6551] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 40.815059][ T6551] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 40.816980][ T6551] ---[ end trace 0000000000000000 ]--- [ 40.818881][ T6542] bcachefs (loop0): check_backpointers_to_extents... done [ 40.820312][ T6542] bcachefs (loop0): check_extents_to_backpointers... [ 40.820844][ T6542] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 40.821489][ T6542] done [ 40.821799][ T6542] bcachefs (loop0): check_alloc_to_lru_refs... done [ 40.822932][ T6542] bcachefs (loop0): bucket_gens_init... done [ 40.827911][ T6542] bcachefs (loop0): check_snapshot_trees... done [ 40.828965][ T6542] bcachefs (loop0): check_snapshots... [ 40.829169][ T6542] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 40.829181][ T6542] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 40.831966][ T6542] done [ 40.832505][ T6542] bcachefs (loop0): check_subvols... done [ 40.833641][ T6542] bcachefs (loop0): check_subvol_children... done [ 40.834064][ T6542] bcachefs (loop0): delete_dead_snapshots... done [ 40.834380][ T6542] bcachefs (loop0): check_inodes... [ 40.835203][ T6542] bcachefs (loop0): inode points to missing dirent [ 40.835214][ T6542] inum: 4099:4294967295 [ 40.835222][ T6542] mode=100755 [ 40.835230][ T6542] flags=(15300000) [ 40.835237][ T6542] journal_seq=5 [ 40.835244][ T6542] hash_seed=fc917866faeb7b5b [ 40.835252][ T6542] hash_type=siphash [ 40.835260][ T6542] bi_size=1050 [ 40.835267][ T6542] bi_sectors=8 [ 40.835274][ T6542] bi_version=0 [ 40.835282][ T6542] bi_atime=2770562249 [ 40.835289][ T6542] bi_ctime=2770562249 [ 40.835297][ T6542] bi_mtime=2770562249 [ 40.835304][ T6542] bi_otime=2770562249 [ 40.835312][ T6542] bi_uid=0 [ 40.835319][ T6542] bi_gid=0 [ 40.835326][ T6542] bi_nlink=0 [ 40.835333][ T6542] bi_generation=0 [ 40.835341][ T6542] bi_dev=0 [ 40.835348][ T6542] bi_data_checksum=0 [ 40.835355][ T6542] bi_compression=0 [ 40.835363][ T6542] bi_project=0 [ 40.835370][ T6542] bi_background_compression=0 [ 40.835378][ T6542] bi_data_replicas=0 [ 40.835385][ T6542] bi_promote_target=0 [ 40.835393][ T6542] bi_foreground_target=0 [ 40.835400][ T6542] bi_background_target=0 [ 40.835408][ T6542] bi_erasure_code=0 [ 40.835415][ T6542] bi_fields_set=0 [ 40.835423][ T6542] bi_dir=4098 [ 40.835430][ T6542] bi_dir_offset=8977922886548783724 [ 40.835438][ T6542] bi_subvol=0 [ 40.835445][ T6542] bi_parent_subvol=0 [ 40.835453][ T6542] bi_nocow=0 [ 40.835460][ T6542] bi_depth=0 [ 40.835467][ T6542] bi_inodes_32bit=0 [ 40.835475][ T6542] bi_casefold=0, fixing [ 40.835916][ T6542] bcachefs (loop0): inode points to missing dirent [ 40.835926][ T6542] inum: 4100:4294967295 [ 40.835934][ T6542] mode=120777 [ 40.835941][ T6542] flags=(15300000) [ 40.835949][ T6542] journal_seq=4 [ 40.835956][ T6542] hash_seed=f4891abdd5c0cd85 [ 40.835964][ T6542] hash_type=siphash [ 40.835971][ T6542] bi_size=38 [ 40.835979][ T6542] bi_sectors=8 [ 40.835986][ T6542] bi_version=0 [ 40.835994][ T6542] bi_atime=2770562249 [ 40.836001][ T6542] bi_ctime=2780562352 [ 40.836009][ T6542] bi_mtime=2770562249 [ 40.836016][ T6542] bi_otime=2770562249 [ 40.836024][ T6542] bi_uid=0 [ 40.836031][ T6542] bi_gid=0 [ 40.836038][ T6542] bi_nlink=0 [ 40.836045][ T6542] bi_generation=0 [ 40.836053][ T6542] bi_dev=0 [ 40.836060][ T6542] bi_data_checksum=0 [ 40.836067][ T6542] bi_compression=0 [ 40.836075][ T6542] bi_project=0 [ 40.836082][ T6542] bi_background_compression=0 [ 40.836090][ T6542] bi_data_replicas=0 [ 40.836097][ T6542] bi_promote_target=0 [ 40.836105][ T6542] bi_foreground_target=0 [ 40.836113][ T6542] bi_background_target=0 [ 40.836121][ T6542] bi_erasure_code=0 [ 40.836128][ T6542] bi_fields_set=0 [ 40.836135][ T6542] bi_dir=4098 [ 40.836143][ T6542] bi_dir_offset=5675548428000973578 [ 40.836151][ T6542] bi_subvol=0 [ 40.836158][ T6542] bi_parent_subvol=0 [ 40.836166][ T6542] bi_nocow=0 [ 40.836174][ T6542] bi_depth=0 [ 40.836181][ T6542] bi_inodes_32bit=0 [ 40.836188][ T6542] bi_casefold=0, fixing [ 40.839486][ T6542] done [ 40.840023][ T6542] bcachefs (loop0): check_extents... done [ 40.840954][ T6542] bcachefs (loop0): check_indirect_extents... done [ 40.841514][ T6542] bcachefs (loop0): check_dirents... [ 40.841923][ T6542] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.841935][ T6542] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 40.842202][ T6542] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.842212][ T6542] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 40.842382][ T6542] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.842392][ T6542] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 40.842541][ T6542] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.842551][ T6542] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 40.842734][ T6542] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.842744][ T6542] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 40.842921][ T6542] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.842931][ T6542] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 40.843079][ T6542] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 40.843805][ T6542] done [ 40.844206][ T6542] bcachefs (loop0): check_xattrs... done [ 40.844971][ T6542] bcachefs (loop0): check_root... done [ 40.845496][ T6542] bcachefs (loop0): check_unreachable_inodes... [ 40.845966][ T6542] bcachefs (loop0): unreachable inode: [ 40.845977][ T6542] inum: 4099:4294967295 [ 40.845985][ T6542] mode=100755 [ 40.845992][ T6542] flags=(4300000) [ 40.846000][ T6542] journal_seq=23 [ 40.846007][ T6542] hash_seed=fc917866faeb7b5b [ 40.846015][ T6542] hash_type=siphash [ 40.846022][ T6542] bi_size=1050 [ 40.846030][ T6542] bi_sectors=8 [ 40.846037][ T6542] bi_version=0 [ 40.846044][ T6542] bi_atime=2770562249 [ 40.846052][ T6542] bi_ctime=2770562249 [ 40.846059][ T6542] bi_mtime=2770562249 [ 40.846067][ T6542] bi_otime=2770562249 [ 40.846074][ T6542] bi_uid=0 [ 40.846082][ T6542] bi_gid=0 [ 40.846089][ T6542] bi_nlink=0 [ 40.846096][ T6542] bi_generation=0 [ 40.846104][ T6542] bi_dev=0 [ 40.846111][ T6542] bi_data_checksum=0 [ 40.846118][ T6542] bi_compression=0 [ 40.846126][ T6542] bi_project=0 [ 40.846133][ T6542] bi_background_compression=0 [ 40.846141][ T6542] bi_data_replicas=0 [ 40.846148][ T6542] bi_promote_target=0 [ 40.846156][ T6542] bi_foreground_target=0 [ 40.846163][ T6542] bi_background_target=0 [ 40.846171][ T6542] bi_erasure_code=0 [ 40.846178][ T6542] bi_fields_set=0 [ 40.846186][ T6542] bi_dir=0 [ 40.846193][ T6542] bi_dir_offset=0 [ 40.846201][ T6542] bi_subvol=0 [ 40.846208][ T6542] bi_parent_subvol=0 [ 40.846215][ T6542] bi_nocow=0 [ 40.846222][ T6542] bi_depth=0 [ 40.846230][ T6542] bi_inodes_32bit=0 [ 40.846237][ T6542] bi_casefold=0, fixing [ 40.848043][ T6542] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 40.851235][ T6542] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 40.852030][ T6542] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 40.857363][ T6542] bcachefs (loop0): unreachable inode: [ 40.857376][ T6542] inum: 4100:4294967295 [ 40.857384][ T6542] mode=120777 [ 40.857391][ T6542] flags=(4300000) [ 40.857399][ T6542] journal_seq=23 [ 40.857406][ T6542] hash_seed=f4891abdd5c0cd85 [ 40.857414][ T6542] hash_type=siphash [ 40.857421][ T6542] bi_size=38 [ 40.857429][ T6542] bi_sectors=8 [ 40.857436][ T6542] bi_version=0 [ 40.857443][ T6542] bi_atime=2770562249 [ 40.857451][ T6542] bi_ctime=2780562352 [ 40.857458][ T6542] bi_mtime=2770562249 [ 40.857466][ T6542] bi_otime=2770562249 [ 40.857473][ T6542] bi_uid=0 [ 40.857481][ T6542] bi_gid=0 [ 40.857488][ T6542] bi_nlink=0 [ 40.857495][ T6542] bi_generation=0 [ 40.857502][ T6542] bi_dev=0 [ 40.857510][ T6542] bi_data_checksum=0 [ 40.857517][ T6542] bi_compression=0 [ 40.857524][ T6542] bi_project=0 [ 40.857532][ T6542] bi_background_compression=0 [ 40.857539][ T6542] bi_data_replicas=0 [ 40.857547][ T6542] bi_promote_target=0 [ 40.857554][ T6542] bi_foreground_target=0 [ 40.857562][ T6542] bi_background_target=0 [ 40.857570][ T6542] bi_erasure_code=0 [ 40.857577][ T6542] bi_fields_set=0 [ 40.857584][ T6542] bi_dir=0 [ 40.857592][ T6542] bi_dir_offset=0 [ 40.857599][ T6542] bi_subvol=0 [ 40.857606][ T6542] bi_parent_subvol=0 [ 40.857614][ T6542] bi_nocow=0 [ 40.857621][ T6542] bi_depth=0 [ 40.857628][ T6542] bi_inodes_32bit=0 [ 40.857636][ T6542] bi_casefold=0, fixing [ 40.858186][ T6542] bcachefs (loop0): unreachable inode: [ 40.858196][ T6542] inum: 536870913:4294967295 [ 40.858204][ T6542] mode=100755 [ 40.858211][ T6542] flags=(15300000) [ 40.858218][ T6542] journal_seq=24 [ 40.858226][ T6542] hash_seed=b68791a594a6d5ae [ 40.858233][ T6542] hash_type=siphash [ 40.858241][ T6542] bi_size=25769812776 [ 40.858248][ T6542] bi_sectors=24 [ 40.858256][ T6542] bi_version=0 [ 40.858263][ T6542] bi_atime=2780562352 [ 40.858271][ T6542] bi_ctime=2780562352 [ 40.858278][ T6542] bi_mtime=2780562352 [ 40.858286][ T6542] bi_otime=2780562352 [ 40.858293][ T6542] bi_uid=0 [ 40.858300][ T6542] bi_gid=0 [ 40.858307][ T6542] bi_nlink=1 [ 40.858315][ T6542] bi_generation=0 [ 40.858322][ T6542] bi_dev=0 [ 40.858329][ T6542] bi_data_checksum=0 [ 40.858337][ T6542] bi_compression=0 [ 40.858344][ T6542] bi_project=0 [ 40.858351][ T6542] bi_background_compression=0 [ 40.858359][ T6542] bi_data_replicas=0 [ 40.858367][ T6542] bi_promote_target=1 [ 40.858374][ T6542] bi_foreground_target=0 [ 40.858382][ T6542] bi_background_target=0 [ 40.858389][ T6542] bi_erasure_code=0 [ 40.858397][ T6542] bi_fields_set=0 [ 40.858404][ T6542] bi_dir=0 [ 40.858411][ T6542] bi_dir_offset=2695648408715017799 [ 40.858419][ T6542] bi_subvol=0 [ 40.858427][ T6542] bi_parent_subvol=0 [ 40.858434][ T6542] bi_nocow=0 [ 40.858441][ T6542] bi_depth=0 [ 40.858449][ T6542] bi_inodes_32bit=0 [ 40.858456][ T6542] bi_casefold=0, fixing [ 40.858962][ T6542] bcachefs (loop0): unreachable inode: [ 40.858972][ T6542] inum: 536870914:4294967295 [ 40.858980][ T6542] mode=100755 [ 40.858987][ T6542] flags=(15300000) [ 40.858994][ T6542] journal_seq=24 [ 40.859002][ T6542] hash_seed=d483206f1ed95abf [ 40.859010][ T6542] hash_type=siphash [ 40.859017][ T6542] bi_size=100 [ 40.859024][ T6542] bi_sectors=8 [ 40.859032][ T6542] bi_version=1126999418470400 [ 40.859039][ T6542] bi_atime=0 [ 40.859047][ T6542] bi_ctime=0 [ 40.859054][ T6542] bi_mtime=0 [ 40.859061][ T6542] bi_otime=2780562352 [ 40.859069][ T6542] bi_uid=2780562352 [ 40.859076][ T6542] bi_gid=0 [ 40.859083][ T6542] bi_nlink=2780562352 [ 40.859091][ T6542] bi_generation=0 [ 40.859098][ T6542] bi_dev=0 [ 40.859105][ T6542] bi_data_checksum=0 [ 40.859113][ T6542] bi_compression=0 [ 40.859120][ T6542] bi_project=0 [ 40.859128][ T6542] bi_background_compression=0 [ 40.859135][ T6542] bi_data_replicas=0 [ 40.859143][ T6542] bi_promote_target=0 [ 40.859150][ T6542] bi_foreground_target=0 [ 40.859158][ T6542] bi_background_target=0 [ 40.859165][ T6542] bi_erasure_code=0 [ 40.859173][ T6542] bi_fields_set=0 [ 40.859180][ T6542] bi_dir=0 [ 40.859188][ T6542] bi_dir_offset=9097378837824744618 [ 40.859195][ T6542] bi_subvol=0 [ 40.859203][ T6542] bi_parent_subvol=0 [ 40.859210][ T6542] bi_nocow=0 [ 40.859217][ T6542] bi_depth=0 [ 40.859225][ T6542] bi_inodes_32bit=0 [ 40.859232][ T6542] bi_casefold=0, fixing [ 40.860002][ T6542] done [ 40.860352][ T6542] bcachefs (loop0): check_subvolume_structure... done [ 40.860759][ T6542] bcachefs (loop0): check_directory_structure... [ 40.861004][ T6542] bcachefs (loop0): inode points to dirent that does not point back: [ 40.861004][ T6542] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 40.861004][ T6542] inum: 4097:4294967295 [ 40.861004][ T6542] mode=40700 [ 40.861004][ T6542] flags=has_case_insensitive(15300400) [ 40.861004][ T6542] journal_seq=24 [ 40.861004][ T6542] hash_seed=a9fcff247692d1ca [ 40.861004][ T6542] hash_type=siphash [ 40.861004][ T6542] bi_size=0 [ 40.861004][ T6542] bi_sectors=0 [ 40.861004][ T6542] bi_version=0 [ 40.861004][ T6542] bi_atime=200535484 [ 40.861004][ T6542] bi_ctime=200535484 [ 40.861004][ T6542] bi_mtime=200535484 [ 40.861004][ T6542] bi_otime=200535484 [ 40.861004][ T6542] bi_uid=0 [ 40.861004][ T6542] bi_gid=0 [ 40.861004][ T6542] bi_nlink=0 [ 40.861004][ T6542] bi_generation=0 [ 40.861004][ T6542] bi_dev=0 [ 40.861004][ T6542] bi_data_checksum=0 [ 40.861004][ T6542] bi_compression=0 [ 40.861004][ T6542] bi_project=0 [ 40.861004][ T6542] bi_background_compression=0 [ 40.861004][ T6542] bi_data_replicas=0 [ 40.861004][ T6542] bi_promote_target=0 [ 40.861004][ T6542] bi_foreground_target=0 [ 40.861004][ T6542] bi_background_target=0 [ 40.861004][ T6542] bi_erasure_code=0 [ 40.861004][ T6542] bi_fields_set=0 [ 40.861004][ T6542] bi_dir=4096 [ 40.861004][ T6542] bi_dir_offset=8130059955150870709 [ 40.861004][ T6542] bi_subvol=0 [ 40.861004][ T6542] bi_parent_subvol=0 [ 40.861004][ T6542] bi_nocow=0 [ 40.861004][ T6542] bi_depth=0 [ 40.861004][ T6542] bi_inodes_32bit=0 [ 40.861004][ T6542] bi_casefold=0 [ 40.861153][ T6542] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 40.861153][ T6542] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 40.861153][ T6542] mode=40700 [ 40.861153][ T6542] flags=has_case_insensitive(15300400) [ 40.861153][ T6542] journal_seq=24 [ 40.861153][ T6542] hash_seed=a9fcff247692d1ca [ 40.861153][ T6542] hash_type=siphash [ 40.861153][ T6542] bi_size=0 [ 40.861153][ T6542] bi_sectors=0 [ 40.861153][ T6542] bi_version=0 [ 40.861153][ T6542] bi_atime=200535484 [ 40.861153][ T6542] bi_ctime=200535484 [ 40.861153][ T6542] bi_mtime=200535484 [ 40.861153][ T6542] bi_otime=200535484 [ 40.861153][ T6542] bi_uid=0 [ 40.861153][ T6542] bi_gid=0 [ 40.861153][ T6542] bi_nlink=0 [ 40.861153][ T6542] bi_generation=0 [ 40.861153][ T6542] bi_dev=0 [ 40.861153][ T6542] bi_data_checksum=0 [ 40.861153][ T6542] bi_compression=0 [ 40.861153][ T6542] bi_project=0 [ 40.861153][ T6542] bi_background_compression=0 [ 40.861153][ T6542] bi_data_replicas=0 [ 40.861153][ T6542] bi_promote_target=0 [ 40.861153][ T6542] bi_foreground_target=0 [ 40.861153][ T6542] bi_background_target=0 [ 40.861153][ T6542] bi_erasure_code=0 [ 40.861153][ T6542] bi_fields_set=0 [ 40.861153][ T6542] bi_dir=4096 [ 40.861153][ T6542] bi_dir_offset=8130059955150870709 [ 40.861153][ T6542] bi_subvol=0 [ 40.861153][ T6542] bi_parent_subvol=0 [ 40.861153][ T6542] bi_nocow=0 [ 40.861153][ T6542] bi_depth=0 [ 40.861153][ T6542] bi_inodes_32bit=0 [ 40.861153][ T6542] bi_casefold=0 [ 40.861201][ T6542] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 40.861221][ T6542] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 40.861277][ T24] bcachefs (loop0): going read-only [ 40.861301][ T24] bcachefs (loop0): finished waiting for writes to stop [ 40.861373][ T6542] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 25 [ 40.861397][ T6542] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 40.861416][ T6542] bcachefs (loop0): shutting down [ 40.896752][ T24] bcachefs (loop0): flushing journal and stopping allocators, journal seq 25 [ 40.896794][ T24] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 25 [ 40.896939][ T24] bcachefs (loop0): unclean shutdown complete, journal seq 25 [ 40.897872][ T24] bcachefs (loop0): done going read-only, filesystem not clean [ 40.905452][ T6542] bcachefs (loop0): shutdown complete [ 41.777700][ T6542] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 41.910510][ T6553] loop0: detected capacity change from 0 to 32768 [ 41.952890][ T6553] 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 [ 41.952890][ T6553] allowing incompatible features above 0.0: (unknown version) [ 41.952890][ T6553] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 41.952961][ T6553] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 41.953043][ T6553] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 41.953150][ T6553] bcachefs (loop0): Version upgrade required: [ 41.953150][ T6553] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 41.953150][ T6553] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 41.953150][ T6553] 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_dir ** replaying previous printk message ** [ 41.953150][ T6553] bcachefs (loop0): Version upgrade required: [ 41.953150][ T6553] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 41.953150][ T6553] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 41.953150][ T6553] 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 [ 41.961560][ T6553] bcachefs (loop0): accounting_read... done [ 41.962058][ T6553] bcachefs (loop0): alloc_read... done [ 41.962497][ T6553] bcachefs (loop0): snapshots_read... done [ 41.962915][ T6553] bcachefs (loop0): check_allocations... [ 41.963781][ T6553] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 41.963801][ T6553] 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 [ 41.964751][ T6553] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 41.964764][ T6553] 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 [ 41.965478][ T6553] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 41.965491][ T6553] 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 [ 41.969910][ T6553] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 41.969925][ T6553] 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 [ 41.971096][ T6553] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 41.971109][ T6553] 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 [ 41.971568][ T6553] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 41.971618][ T6553] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 41.971756][ T6553] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 41.971817][ T6553] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 41.971904][ T6553] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 41.971969][ T6553] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 41.972051][ T6553] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 41.972103][ T6553] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 41.972210][ T6553] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 41.972262][ T6553] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 41.972343][ T6553] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 41.972395][ T6553] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 41.972476][ T6553] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 41.972530][ T6553] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 41.972609][ T6553] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 41.972658][ T6553] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 41.972737][ T6553] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 41.972787][ T6553] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 41.972874][ T6553] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 41.972927][ T6553] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 41.973031][ T6553] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 41.973042][ T6553] Ratelimiting new instances of previous error [ 41.973105][ T6553] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 41.973115][ T6553] Ratelimiting new instances of previous error [ 41.980028][ T6553] done [ 41.981014][ T6553] bcachefs (loop0): going read-write [ 41.988072][ T6562] ODEBUG: object 00000000669e0afe is on stack 00000000b5c926a7, but NOT annotated. [ 41.988442][ T6562] ------------[ cut here ]------------ [ 41.988453][ T6562] WARNING: CPU: 1 PID: 6562 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 42.125777][ T6562] Modules linked in: [ 42.126854][ T6562] CPU: 1 UID: 0 PID: 6562 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 42.128492][ T6553] bcachefs (loop0): journal_replay... [ 42.130413][ T6562] Tainted: [B]=BAD_PAGE, [W]=WARN [ 42.133234][ T6562] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 42.135941][ T6562] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 42.138117][ T6562] pc : __debug_object_init+0x364/0x40c [ 42.139671][ T6562] lr : __debug_object_init+0x364/0x40c [ 42.141132][ T6562] sp : ffff8000a39e7700 ** replaying previous printk message ** [ 42.141178][ T6553] done [ 42.144034][ T6562] x29: ffff8000a39e7700 x28: 0000000000000003 x27: dfff800000000000 [ 42.144259][ T6553] bcachefs (loop0): check_alloc_info... [ 42.146311][ T6562] x26: ffff800097693000 x25: ffff0000cd9b5ba0 x24: 0000000000000000 ** replaying previous printk message ** [ 42.148172][ T6553] done [ 42.148211][ T6553] bcachefs (loop0): check_lrus... [ 42.151970][ T6562] x23: ffff0000cc122888 ** replaying previous printk message ** [ 42.152203][ T6553] done [ 42.152248][ T6553] bcachefs (loop0): check_btree_backpointers... [ 42.156262][ T6562] x22: 0000000000000000 ** replaying previous printk message ** [ 42.156514][ T6553] done [ 42.156558][ T6553] bcachefs (loop0): check_backpointers_to_extents... [ 42.160942][ T6562] x21: ffff800097598170 ** replaying previous printk message ** [ 42.161195][ T6553] done [ 42.165875][ T6562] [ 42.166166][ T6553] bcachefs (loop0): check_extents_to_backpointers... [ 42.166473][ T6562] x20: ffff80008af70de0 ** replaying previous printk message ** [ 42.166818][ T6553] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 42.172620][ T6562] x19: ffff8000a39e7bb0 x18: 1fffe000337e1476 ** replaying previous printk message ** [ 42.173004][ T6553] done [ 42.176091][ T6562] x17: 7562202c37613632 x16: ffff80008aec8e2c x15: 0000000000000001 [ 42.176273][ T6553] bcachefs (loop0): check_alloc_to_lru_refs... [ 42.178301][ T6562] x14: 1ffff0001473ce58 ** replaying previous printk message ** [ 42.178510][ T6553] done [ 42.182870][ T6562] x13: 0000000000000000 x12: 0000000000000000 [ 42.183102][ T6553] bcachefs (loop0): bucket_gens_init... [ 42.184566][ T6562] x11: ffff70001473ce59 x10: 0000000000ff0100 x9 : ef2f35afa98f8300 ** replaying previous printk message ** [ 42.186870][ T6553] done [ 42.190073][ T6562] x8 : ef2f35afa98f8300 x7 : 0000000000000001 x6 : 0000000000000001 [ 42.190353][ T6553] bcachefs (loop0): check_snapshot_trees... [ 42.192291][ T6562] x5 : ffff8000a39e7098 [ 42.192613][ T6553] done [ 42.192658][ T6553] bcachefs (loop0): check_snapshots... [ 42.192879][ T6553] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 42.192896][ T6553] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 42.203186][ T6562] x4 : ffff80008f727060 x3 : ffff8000807c0744 ** replaying previous printk message ** [ 42.203696][ T6553] done [ 42.206700][ T6562] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 42.207000][ T6553] bcachefs (loop0): check_subvols... [ 42.208937][ T6562] Call trace: ** replaying previous printk message ** [ 42.209500][ T6553] done [ 42.213026][ T6553] bcachefs (loop0): check_subvol_children... [ 42.213032][ T6562] __debug_object_init+0x364/0x40c (P) [ 42.216199][ T6562] debug_object_init+0x20/0x2c ** replaying previous printk message ** [ 42.216517][ T6553] done [ 42.219236][ T6553] bcachefs (loop0): delete_dead_snapshots... [ 42.219245][ T6562] __init_work+0x58/0x68 ** replaying previous printk message ** [ 42.219617][ T6553] done [ 42.223910][ T6553] bcachefs (loop0): check_inodes... [ 42.223915][ T6562] rhashtable_init_noprof+0x734/0xa10 ** replaying previous printk message ** [ 42.224763][ T6553] bcachefs (loop0): inode points to missing dirent [ 42.229503][ T6562] bch2_copygc_thread+0xec/0xd40 [ 42.229513][ T6553] inum: 4099:4294967295 [ 42.232109][ T6553] mode=100755 [ 42.232106][ T6562] kthread+0x5fc/0x75c ** replaying previous printk message ** [ 42.234252][ T6553] flags=(15300000) [ 42.234252][ T6562] ret_from_fork+0x10/0x20 [ 42.237637][ T6553] journal_seq=5 [ 42.237636][ T6562] irq event stamp: 0 [ 42.239707][ T6553] hash_seed=fc917866faeb7b5b [ 42.239705][ T6562] hardirqs last enabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 42.243014][ T6553] hash_type=siphash [ 42.243011][ T6562] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ ** replaying previous printk message ** [ 42.247664][ T6553] bi_size=1050 [ 42.247665][ T6562] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 42.252352][ T6562] softirqs last disabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 42.252371][ T6553] bi_sectors=8 [ 42.256399][ T6553] bi_version=0 [ 42.256396][ T6562] ---[ end trace 0000000000000000 ]--- [ 42.259005][ T6553] bi_atime=2770562249 [ 42.260238][ T6553] bi_ctime=2770562249 [ 42.261418][ T6553] bi_mtime=2770562249 [ 42.262593][ T6553] bi_otime=2770562249 [ 42.263816][ T6553] bi_uid=0 [ 42.264754][ T6553] bi_gid=0 [ 42.265721][ T6553] bi_nlink=0 [ 42.267074][ T6553] bi_generation=0 [ 42.267753][ T6553] bi_dev=0 [ 42.267764][ T6553] bi_data_checksum=0 [ 42.267772][ T6553] bi_compression=0 [ 42.267780][ T6553] bi_project=0 [ 42.267787][ T6553] bi_background_compression=0 [ 42.267807][ T6553] bi_data_replicas=0 [ 42.267822][ T6553] bi_promote_target=0 [ 42.267829][ T6553] bi_foreground_target=0 [ 42.267837][ T6553] bi_background_target=0 [ 42.267845][ T6553] bi_erasure_code=0 [ 42.267852][ T6553] bi_fields_set=0 [ 42.267865][ T6553] bi_dir=4098 [ 42.267872][ T6553] bi_dir_offset=8977922886548783724 [ 42.267880][ T6553] bi_subvol=0 [ 42.267888][ T6553] bi_parent_subvol=0 [ 42.267895][ T6553] bi_nocow=0 [ 42.267903][ T6553] bi_depth=0 [ 42.267910][ T6553] bi_inodes_32bit=0 [ 42.267917][ T6553] bi_casefold=0, fixing [ 42.268446][ T6553] bcachefs (loop0): inode points to missing dirent [ 42.268456][ T6553] inum: 4100:4294967295 [ 42.268464][ T6553] mode=120777 [ 42.268471][ T6553] flags=(15300000) [ 42.268479][ T6553] journal_seq=4 [ 42.268486][ T6553] hash_seed=f4891abdd5c0cd85 [ 42.268494][ T6553] hash_type=siphash [ 42.268501][ T6553] bi_size=38 [ 42.268509][ T6553] bi_sectors=8 [ 42.268516][ T6553] bi_version=0 [ 42.268523][ T6553] bi_atime=2770562249 [ 42.268531][ T6553] bi_ctime=2780562352 [ 42.268538][ T6553] bi_mtime=2770562249 [ 42.268546][ T6553] bi_otime=2770562249 [ 42.268553][ T6553] bi_uid=0 [ 42.268566][ T6553] bi_gid=0 [ 42.268573][ T6553] bi_nlink=0 [ 42.268581][ T6553] bi_generation=0 [ 42.268588][ T6553] bi_dev=0 [ 42.268595][ T6553] bi_data_checksum=0 [ 42.268603][ T6553] bi_compression=0 [ 42.268610][ T6553] bi_project=0 [ 42.268617][ T6553] bi_background_compression=0 [ 42.268625][ T6553] bi_data_replicas=0 [ 42.268633][ T6553] bi_promote_target=0 [ 42.268640][ T6553] bi_foreground_target=0 [ 42.268648][ T6553] bi_background_target=0 [ 42.268655][ T6553] bi_erasure_code=0 [ 42.268663][ T6553] bi_fields_set=0 [ 42.268670][ T6553] bi_dir=4098 [ 42.268677][ T6553] bi_dir_offset=5675548428000973578 [ 42.268685][ T6553] bi_subvol=0 [ 42.268693][ T6553] bi_parent_subvol=0 [ 42.268700][ T6553] bi_nocow=0 [ 42.268707][ T6553] bi_depth=0 [ 42.268715][ T6553] bi_inodes_32bit=0 [ 42.268722][ T6553] bi_casefold=0, fixing [ 42.269425][ T6553] done [ 42.269778][ T6553] bcachefs (loop0): check_extents... done [ 42.270656][ T6553] bcachefs (loop0): check_indirect_extents... done [ 42.271059][ T6553] bcachefs (loop0): check_dirents... [ 42.271434][ T6553] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.271446][ T6553] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 42.271711][ T6553] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.271722][ T6553] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 42.271903][ T6553] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.271914][ T6553] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 42.272079][ T6553] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.272090][ T6553] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 42.272253][ T6553] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.272264][ T6553] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 42.272417][ T6553] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.272427][ T6553] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 42.272572][ T6553] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 42.272993][ T6553] done [ 42.273361][ T6553] bcachefs (loop0): check_xattrs... done [ 42.274108][ T6553] bcachefs (loop0): check_root... done [ 42.274591][ T6553] bcachefs (loop0): check_unreachable_inodes... [ 42.275060][ T6553] bcachefs (loop0): unreachable inode: [ 42.275071][ T6553] inum: 4099:4294967295 [ 42.275078][ T6553] mode=100755 [ 42.275086][ T6553] flags=(4300000) [ 42.275093][ T6553] journal_seq=21 [ 42.275101][ T6553] hash_seed=fc917866faeb7b5b [ 42.275109][ T6553] hash_type=siphash [ 42.275116][ T6553] bi_size=1050 [ 42.275123][ T6553] bi_sectors=8 [ 42.275131][ T6553] bi_version=0 [ 42.275138][ T6553] bi_atime=2770562249 [ 42.275146][ T6553] bi_ctime=2770562249 [ 42.275153][ T6553] bi_mtime=2770562249 [ 42.275161][ T6553] bi_otime=2770562249 [ 42.275168][ T6553] bi_uid=0 [ 42.275175][ T6553] bi_gid=0 [ 42.275183][ T6553] bi_nlink=0 [ 42.275190][ T6553] bi_generation=0 [ 42.275197][ T6553] bi_dev=0 [ 42.275204][ T6553] bi_data_checksum=0 [ 42.275212][ T6553] bi_compression=0 [ 42.275219][ T6553] bi_project=0 [ 42.275227][ T6553] bi_background_compression=0 [ 42.275235][ T6553] bi_data_replicas=0 [ 42.275242][ T6553] bi_promote_target=0 [ 42.275250][ T6553] bi_foreground_target=0 [ 42.275257][ T6553] bi_background_target=0 [ 42.275265][ T6553] bi_erasure_code=0 [ 42.275273][ T6553] bi_fields_set=0 [ 42.275280][ T6553] bi_dir=0 [ 42.275287][ T6553] bi_dir_offset=0 [ 42.275294][ T6553] bi_subvol=0 [ 42.275302][ T6553] bi_parent_subvol=0 [ 42.275309][ T6553] bi_nocow=0 [ 42.275317][ T6553] bi_depth=0 [ 42.275324][ T6553] bi_inodes_32bit=0 [ 42.275331][ T6553] bi_casefold=0, fixing [ 42.281311][ T6553] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.282746][ T6553] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.283542][ T6553] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.288050][ T6553] bcachefs (loop0): unreachable inode: [ 42.288063][ T6553] inum: 4100:4294967295 [ 42.288071][ T6553] mode=120777 [ 42.288078][ T6553] flags=(4300000) [ 42.288086][ T6553] journal_seq=21 [ 42.288093][ T6553] hash_seed=f4891abdd5c0cd85 [ 42.288101][ T6553] hash_type=siphash [ 42.288108][ T6553] bi_size=38 [ 42.288116][ T6553] bi_sectors=8 [ 42.288123][ T6553] bi_version=0 [ 42.288130][ T6553] bi_atime=2770562249 [ 42.288138][ T6553] bi_ctime=2780562352 [ 42.288145][ T6553] bi_mtime=2770562249 [ 42.288153][ T6553] bi_otime=2770562249 [ 42.288160][ T6553] bi_uid=0 [ 42.288167][ T6553] bi_gid=0 [ 42.288174][ T6553] bi_nlink=0 [ 42.288182][ T6553] bi_generation=0 [ 42.288189][ T6553] bi_dev=0 [ 42.288196][ T6553] bi_data_checksum=0 [ 42.288204][ T6553] bi_compression=0 [ 42.288211][ T6553] bi_project=0 [ 42.288219][ T6553] bi_background_compression=0 [ 42.288226][ T6553] bi_data_replicas=0 [ 42.288234][ T6553] bi_promote_target=0 [ 42.288241][ T6553] bi_foreground_target=0 [ 42.288249][ T6553] bi_background_target=0 [ 42.288257][ T6553] bi_erasure_code=0 [ 42.288264][ T6553] bi_fields_set=0 [ 42.288271][ T6553] bi_dir=0 [ 42.288278][ T6553] bi_dir_offset=0 [ 42.288286][ T6553] bi_subvol=0 [ 42.288293][ T6553] bi_parent_subvol=0 [ 42.288301][ T6553] bi_nocow=0 [ 42.288308][ T6553] bi_depth=0 [ 42.288315][ T6553] bi_inodes_32bit=0 [ 42.288323][ T6553] bi_casefold=0, fixing [ 42.288867][ T6553] bcachefs (loop0): unreachable inode: [ 42.288877][ T6553] inum: 536870913:4294967295 [ 42.288885][ T6553] mode=100755 [ 42.288892][ T6553] flags=(15300000) [ 42.288900][ T6553] journal_seq=22 [ 42.288907][ T6553] hash_seed=b68791a594a6d5ae [ 42.288915][ T6553] hash_type=siphash [ 42.288922][ T6553] bi_size=25769812776 [ 42.288930][ T6553] bi_sectors=24 [ 42.288937][ T6553] bi_version=0 [ 42.288944][ T6553] bi_atime=2780562352 [ 42.288952][ T6553] bi_ctime=2780562352 [ 42.288959][ T6553] bi_mtime=2780562352 [ 42.288967][ T6553] bi_otime=2780562352 [ 42.288974][ T6553] bi_uid=0 [ 42.288981][ T6553] bi_gid=0 [ 42.288989][ T6553] bi_nlink=1 [ 42.288996][ T6553] bi_generation=0 [ 42.289003][ T6553] bi_dev=0 [ 42.289010][ T6553] bi_data_checksum=0 [ 42.289018][ T6553] bi_compression=0 [ 42.289025][ T6553] bi_project=0 [ 42.289033][ T6553] bi_background_compression=0 [ 42.289040][ T6553] bi_data_replicas=0 [ 42.289048][ T6553] bi_promote_target=1 [ 42.289055][ T6553] bi_foreground_target=0 [ 42.289063][ T6553] bi_background_target=0 [ 42.289071][ T6553] bi_erasure_code=0 [ 42.289078][ T6553] bi_fields_set=0 [ 42.289085][ T6553] bi_dir=0 [ 42.289093][ T6553] bi_dir_offset=2695648408715017799 [ 42.289100][ T6553] bi_subvol=0 [ 42.289108][ T6553] bi_parent_subvol=0 [ 42.289116][ T6553] bi_nocow=0 [ 42.289123][ T6553] bi_depth=0 [ 42.289130][ T6553] bi_inodes_32bit=0 [ 42.289137][ T6553] bi_casefold=0, fixing [ 42.289628][ T6553] bcachefs (loop0): unreachable inode: [ 42.289638][ T6553] inum: 536870914:4294967295 [ 42.289646][ T6553] mode=100755 [ 42.289653][ T6553] flags=(15300000) [ 42.289660][ T6553] journal_seq=22 [ 42.289668][ T6553] hash_seed=d483206f1ed95abf [ 42.289675][ T6553] hash_type=siphash [ 42.289683][ T6553] bi_size=100 [ 42.289690][ T6553] bi_sectors=8 [ 42.289697][ T6553] bi_version=1126999418470400 [ 42.289705][ T6553] bi_atime=0 [ 42.289712][ T6553] bi_ctime=0 [ 42.289720][ T6553] bi_mtime=0 [ 42.289727][ T6553] bi_otime=2780562352 [ 42.289734][ T6553] bi_uid=2780562352 [ 42.289742][ T6553] bi_gid=0 [ 42.289749][ T6553] bi_nlink=2780562352 [ 42.289757][ T6553] bi_generation=0 [ 42.289764][ T6553] bi_dev=0 [ 42.289771][ T6553] bi_data_checksum=0 [ 42.289779][ T6553] bi_compression=0 [ 42.289786][ T6553] bi_project=0 [ 42.289793][ T6553] bi_background_compression=0 [ 42.289801][ T6553] bi_data_replicas=0 [ 42.289814][ T6553] bi_promote_target=0 [ 42.289822][ T6553] bi_foreground_target=0 [ 42.289830][ T6553] bi_background_target=0 [ 42.289838][ T6553] bi_erasure_code=0 [ 42.289845][ T6553] bi_fields_set=0 [ 42.289852][ T6553] bi_dir=0 [ 42.289866][ T6553] bi_dir_offset=9097378837824744618 [ 42.289874][ T6553] bi_subvol=0 [ 42.289881][ T6553] bi_parent_subvol=0 [ 42.289889][ T6553] bi_nocow=0 [ 42.289896][ T6553] bi_depth=0 [ 42.289903][ T6553] bi_inodes_32bit=0 [ 42.289911][ T6553] bi_casefold=0, fixing [ 42.290640][ T6553] done [ 42.291035][ T6553] bcachefs (loop0): check_subvolume_structure... done [ 42.291501][ T6553] bcachefs (loop0): check_directory_structure... [ 42.291748][ T6553] bcachefs (loop0): inode points to dirent that does not point back: [ 42.291748][ T6553] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 42.291748][ T6553] inum: 4097:4294967295 [ 42.291748][ T6553] mode=40700 [ 42.291748][ T6553] flags=has_case_insensitive(15300400) [ 42.291748][ T6553] journal_seq=22 [ 42.291748][ T6553] hash_seed=a9fcff247692d1ca [ 42.291748][ T6553] hash_type=siphash [ 42.291748][ T6553] bi_size=0 [ 42.291748][ T6553] bi_sectors=0 [ 42.291748][ T6553] bi_version=0 [ 42.291748][ T6553] bi_atime=200535484 [ 42.291748][ T6553] bi_ctime=200535484 [ 42.291748][ T6553] bi_mtime=200535484 [ 42.291748][ T6553] bi_otime=200535484 [ 42.291748][ T6553] bi_uid=0 [ 42.291748][ T6553] bi_gid=0 [ 42.291748][ T6553] bi_nlink=0 [ 42.291748][ T6553] bi_generation=0 [ 42.291748][ T6553] bi_dev=0 [ 42.291748][ T6553] bi_data_checksum=0 [ 42.291748][ T6553] bi_compression=0 [ 42.291748][ T6553] bi_project=0 [ 42.291748][ T6553] bi_background_compression=0 [ 42.291748][ T6553] bi_data_replicas=0 [ 42.291748][ T6553] bi_promote_target=0 [ 42.291748][ T6553] bi_foreground_target=0 [ 42.291748][ T6553] bi_background_target=0 [ 42.291748][ T6553] bi_erasure_code=0 [ 42.291748][ T6553] bi_fields_set=0 [ 42.291748][ T6553] bi_dir=4096 [ 42.291748][ T6553] bi_dir_offset=8130059955150870709 [ 42.291748][ T6553] bi_subvol=0 [ 42.291748][ T6553] bi_parent_subvol=0 [ 42.291748][ T6553] bi_nocow=0 [ 42.291748][ T6553] bi_depth=0 [ 42.291748][ T6553] bi_inodes_32bit=0 [ 42.291748][ T6553] bi_casefold=0 [ 42.291914][ T6553] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 42.291914][ T6553] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 42.291914][ T6553] mode=40700 [ 42.291914][ T6553] flags=has_case_insensitive(15300400) [ 42.291914][ T6553] journal_seq=22 [ 42.291914][ T6553] hash_seed=a9fcff247692d1ca [ 42.291914][ T6553] hash_type=siphash [ 42.291914][ T6553] bi_size=0 [ 42.291914][ T6553] bi_sectors=0 [ 42.291914][ T6553] bi_version=0 [ 42.291914][ T6553] bi_atime=200535484 [ 42.291914][ T6553] bi_ctime=200535484 [ 42.291914][ T6553] bi_mtime=200535484 [ 42.291914][ T6553] bi_otime=200535484 [ 42.291914][ T6553] bi_uid=0 [ 42.291914][ T6553] bi_gid=0 [ 42.291914][ T6553] bi_nlink=0 [ 42.291914][ T6553] bi_generation=0 [ 42.291914][ T6553] bi_dev=0 [ 42.291914][ T6553] bi_data_checksum=0 [ 42.291914][ T6553] bi_compression=0 [ 42.291914][ T6553] bi_project=0 [ 42.291914][ T6553] bi_background_compression=0 [ 42.291914][ T6553] bi_data_replicas=0 [ 42.291914][ T6553] bi_promote_target=0 [ 42.291914][ T6553] bi_foreground_target=0 [ 42.291914][ T6553] bi_background_target=0 [ 42.291914][ T6553] bi_erasure_code=0 [ 42.291914][ T6553] bi_fields_set=0 [ 42.291914][ T6553] bi_dir=4096 [ 42.291914][ T6553] bi_dir_offset=8130059955150870709 [ 42.291914][ T6553] bi_subvol=0 [ 42.291914][ T6553] bi_parent_subvol=0 [ 42.291914][ T6553] bi_nocow=0 [ 42.291914][ T6553] bi_depth=0 [ 42.291914][ T6553] bi_inodes_32bit=0 [ 42.291914][ T6553] bi_casefold=0 [ 42.291963][ T6553] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 42.291982][ T6553] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 42.292040][ T24] bcachefs (loop0): going read-only [ 42.292067][ T24] bcachefs (loop0): finished waiting for writes to stop [ 42.292139][ T6553] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 42.292165][ T6553] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 42.292183][ T6553] bcachefs (loop0): shutting down [ 42.316657][ T24] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 42.316700][ T24] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 42.316906][ T24] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 42.317726][ T24] bcachefs (loop0): done going read-only, filesystem not clean [ 42.324185][ T6553] bcachefs (loop0): shutdown complete [ 43.537733][ T6553] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 43.670842][ T6564] loop0: detected capacity change from 0 to 32768 [ 43.723163][ T6564] 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 [ 43.723163][ T6564] allowing incompatible features above 0.0: (unknown version) [ 43.723163][ T6564] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 43.723229][ T6564] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 43.723315][ T6564] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 43.723427][ T6564] bcachefs (loop0): Version upgrade required: [ 43.723427][ T6564] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 43.723427][ T6564] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 43.723427][ T6564] 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, ** replaying previous printk message ** [ 43.723427][ T6564] bcachefs (loop0): Version upgrade required: [ 43.723427][ T6564] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 43.723427][ T6564] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 43.723427][ T6564] 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 [ 43.731355][ T6564] bcachefs (loop0): accounting_read... done [ 43.731830][ T6564] bcachefs (loop0): alloc_read... done [ 43.732266][ T6564] bcachefs (loop0): snapshots_read... done [ 43.732646][ T6564] bcachefs (loop0): check_allocations... [ 43.733475][ T6564] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 43.733489][ T6564] 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 [ 43.734377][ T6564] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 43.734389][ T6564] 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 [ 43.735013][ T6564] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 43.735025][ T6564] 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 [ 43.735685][ T6564] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 43.735697][ T6564] 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 [ 43.741290][ T6564] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 43.741303][ T6564] 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 [ 43.741767][ T6564] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.741839][ T6564] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.741987][ T6564] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.742038][ T6564] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.742118][ T6564] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.742167][ T6564] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.742245][ T6564] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.742294][ T6564] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.742389][ T6564] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.742439][ T6564] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.742517][ T6564] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.742566][ T6564] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.742644][ T6564] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.742693][ T6564] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.742770][ T6564] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.742826][ T6564] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 43.742923][ T6564] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 43.742973][ T6564] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 43.743059][ T6564] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 43.743109][ T6564] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 43.743195][ T6564] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 43.743206][ T6564] Ratelimiting new instances of previous error [ 43.743267][ T6564] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 43.743278][ T6564] Ratelimiting new instances of previous error [ 43.746976][ T6564] done [ 43.747933][ T6564] bcachefs (loop0): going read-write [ 43.756124][ T6573] ODEBUG: object 000000008f0b6440 is on stack 0000000098e39c42, but NOT annotated. [ 43.756498][ T6573] ------------[ cut here ]------------ [ 43.756510][ T6573] WARNING: CPU: 0 PID: 6573 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 43.895313][ T6573] Modules linked in: [ 43.896434][ T6573] CPU: 0 UID: 0 PID: 6573 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 43.898013][ T6564] bcachefs (loop0): journal_replay... [ 43.900075][ T6573] Tainted: [B]=BAD_PAGE, [W]=WARN [ 43.902877][ T6573] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 43.905691][ T6573] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 43.907883][ T6573] pc : __debug_object_init+0x364/0x40c [ 43.909471][ T6573] lr : __debug_object_init+0x364/0x40c ** replaying previous printk message ** [ 43.910459][ T6564] done [ 43.912787][ T6573] sp : ffff8000a5617700 [ 43.913079][ T6564] bcachefs (loop0): check_alloc_info... [ 43.913967][ T6573] x29: ffff8000a5617700 x28: 0000000000000004 x27: dfff800000000000 ** replaying previous printk message ** [ 43.916149][ T6564] done [ 43.919542][ T6573] x26: ffff800097693000 x25: ffff0000ce1d0020 x24: 0000000000000000 [ 43.919600][ T6564] bcachefs (loop0): check_lrus... [ 43.921705][ T6573] x23: ffff0000ce6fb460 ** replaying previous printk message ** [ 43.922144][ T6564] done ** replaying previous printk message ** [ 43.925962][ T6564] bcachefs (loop0): check_btree_backpointers... [ 43.925974][ T6573] x22: 0000000000000000 x21: ffff8000975e4ec8 ** replaying previous printk message ** [ 43.929293][ T6564] done [ 43.932258][ T6564] bcachefs (loop0): check_backpointers_to_extents... [ 43.932267][ T6573] x20: ffff80008af70de0 x19: ffff8000a5617bb0 x18: 1fffe000337dc876 ** replaying previous printk message ** [ 43.934973][ T6564] done [ 43.938362][ T6573] x17: 7562202c32346339 x16: ffff80008aec8e2c x15: 0000000000000001 [ 43.938671][ T6564] bcachefs (loop0): check_extents_to_backpointers... [ 43.940469][ T6573] x14: 1ffff00014ac2e58 ** replaying previous printk message ** [ 43.940991][ T6564] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 43.946786][ T6573] x13: 0000000000000000 x12: 0000000000000000 ** replaying previous printk message ** [ 43.947451][ T6564] done [ 43.950231][ T6573] x11: ffff700014ac2e59 x10: 0000000000ff0100 x9 : fd73a0278ee29200 [ 43.950529][ T6564] bcachefs (loop0): check_alloc_to_lru_refs... [ 43.952291][ T6573] x8 : fd73a0278ee29200 ** replaying previous printk message ** [ 43.953062][ T6564] done [ 43.956788][ T6573] x7 : 0000000000000001 x6 : 0000000000000001 [ 43.957145][ T6564] bcachefs (loop0): bucket_gens_init... [ 43.958478][ T6573] x5 : ffff8000a5617098 x4 : ffff80008f727060 x3 : ffff8000807c0744 ** replaying previous printk message ** [ 43.961667][ T6564] done [ 43.963884][ T6573] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 43.964194][ T6564] bcachefs (loop0): check_snapshot_trees... [ 43.966156][ T6573] Call trace: ** replaying previous printk message ** [ 43.966601][ T6564] done [ 43.970301][ T6564] bcachefs (loop0): check_snapshots... [ 43.970311][ T6573] __debug_object_init+0x364/0x40c (P) ** replaying previous printk message ** [ 43.970541][ T6564] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 43.976318][ T6564] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 43.976315][ T6573] debug_object_init+0x20/0x2c [ 43.981335][ T6573] __init_work+0x58/0x68 [ 43.982515][ T6573] rhashtable_init_noprof+0x734/0xa10 [ 43.984004][ T6573] bch2_copygc_thread+0xec/0xd40 ** replaying previous printk message ** [ 43.984746][ T6564] done [ 43.987074][ T6564] bcachefs (loop0): check_subvols... [ 43.987066][ T6573] kthread+0x5fc/0x75c [ 43.989638][ T6573] ret_from_fork+0x10/0x20 ** replaying previous printk message ** [ 43.990232][ T6564] done [ 43.990279][ T6564] bcachefs (loop0): check_subvol_children... [ 43.992533][ T6573] irq event stamp: 0 ** replaying previous printk message ** [ 43.992763][ T6564] done [ 43.996908][ T6564] bcachefs (loop0): delete_dead_snapshots... [ 43.996914][ T6573] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 44.000431][ T6573] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec ** replaying previous printk message ** [ 44.000792][ T6564] done [ ** replaying previous printk message ** [ 44.004557][ T6564] bcachefs (loop0): check_inodes... [ 44.004565][ T6573] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 44.009718][ T6573] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 44.010682][ T6564] bcachefs (loop0): inode points to missing dirent [ 44.010695][ T6564] inum: 4099:4294967295 [ 44.010703][ T6564] mode=100755 [ 44.010710][ T6564] flags=(15300000) [ 44.010718][ T6564] journal_seq=5 [ 44.010725][ T6564] hash_seed=fc917866faeb7b5b [ 44.010733][ T6564] hash_type=siphash [ 44.010740][ T6564] bi_size=1050 [ 44.010748][ T6564] bi_sectors=8 [ 44.010755][ T6564] bi_version=0 [ 44.010762][ T6564] bi_atime=2770562249 [ 44.010770][ T6564] bi_ctime=2770562249 [ 44.010777][ T6564] bi_mtime=2770562249 [ 44.010785][ T6564] bi_otime=2770562249 [ 44.010792][ T6564] bi_uid=0 [ 44.010799][ T6564] bi_gid=0 [ 44.010807][ T6564] bi_nlink=0 [ 44.010843][ T6564] bi_generation=0 [ 44.010851][ T6564] bi_dev=0 [ 44.010858][ T6564] bi_data_checksum=0 [ 44.010866][ T6564] bi_compression=0 [ 44.010873][ T6564] bi_project=0 [ 44.010880][ T6564] bi_background_compression=0 [ 44.010888][ T6564] bi_data_replicas=0 [ 44.010895][ T6564] bi_promote_target=0 [ 44.010903][ T6564] bi_foreground_target=0 [ 44.010910][ T6564] bi_background_target=0 [ 44.010918][ T6564] bi_erasure_code=0 [ 44.010925][ T6564] bi_fields_set=0 [ 44.010933][ T6564] bi_dir=4098 [ 44.010940][ T6564] bi_dir_offset=8977922886548783724 [ 44.010948][ T6564] bi_subvol=0 [ 44.010955][ T6564] bi_parent_subvol=0 [ 44.010962][ T6564] bi_nocow=0 [ 44.010970][ T6564] bi_depth=0 [ 44.010977][ T6564] bi_inodes_32bit=0 [ 44.010984][ T6564] bi_casefold=0, fixing [ 44.011414][ T6564] bcachefs (loop0): inode points to missing dirent [ 44.011424][ T6564] inum: 4100:4294967295 [ 44.011431][ T6564] mode=120777 [ 44.011439][ T6564] flags=(15300000) [ 44.011446][ T6564] journal_seq=4 [ 44.011453][ T6564] hash_seed=f4891abdd5c0cd85 [ 44.011461][ T6564] hash_type=siphash [ 44.011468][ T6564] bi_size=38 [ 44.011476][ T6564] bi_sectors=8 [ 44.011483][ T6564] bi_version=0 [ 44.011490][ T6564] bi_atime=2770562249 [ 44.011498][ T6564] bi_ctime=2780562352 [ 44.011505][ T6564] bi_mtime=2770562249 [ 44.011513][ T6564] bi_otime=2770562249 [ 44.011520][ T6564] bi_uid=0 [ 44.011527][ T6564] bi_gid=0 [ 44.011534][ T6564] bi_nlink=0 [ 44.011542][ T6564] bi_generation=0 [ 44.011549][ T6564] bi_dev=0 [ 44.011556][ T6564] bi_data_checksum=0 [ 44.011564][ T6564] bi_compression=0 [ 44.011571][ T6564] bi_project=0 [ 44.011578][ T6564] bi_background_compression=0 [ 44.011586][ T6564] bi_data_replicas=0 [ 44.011593][ T6564] bi_promote_target=0 [ 44.011601][ T6564] bi_foreground_target=0 [ 44.011608][ T6564] bi_background_target=0 ** replaying previous printk message ** [ 44.011616][ T6564] bi_erasure_code=0 [ 44.011624][ T6564] bi_fields_set=0 [ 44.011631][ T6564] bi_dir=4098 [ 44.011638][ T6564] bi_dir_offset=5675548428000973578 [ 44.011646][ T6564] bi_subvol=0 [ 44.011654][ T6564] bi_parent_subvol=0 [ 44.011661][ T6564] bi_nocow=0 [ 44.011668][ T6564] bi_depth=0 [ 44.011675][ T6564] bi_inodes_32bit=0 [ 44.011683][ T6564] bi_casefold=0, fixing [ 44.095745][ T6573] ---[ end trace 0000000000000000 ]--- ** replaying previous printk message ** [ 44.096034][ T6564] done [ 44.099539][ T6564] bcachefs (loop0): check_extents... done [ 44.100480][ T6564] bcachefs (loop0): check_indirect_extents... done [ 44.102579][ T6564] bcachefs (loop0): check_dirents... [ 44.103635][ T6564] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.103660][ T6564] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 44.103977][ T6564] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.103997][ T6564] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 44.104173][ T6564] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.104190][ T6564] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 44.104349][ T6564] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.104366][ T6564] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 44.104553][ T6564] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.104570][ T6564] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 44.104729][ T6564] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.104746][ T6564] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 44.104925][ T6564] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 44.107276][ T6564] done [ 44.107681][ T6564] bcachefs (loop0): check_xattrs... done [ 44.108838][ T6564] bcachefs (loop0): check_root... done [ 44.109317][ T6564] bcachefs (loop0): check_unreachable_inodes... [ 44.109765][ T6564] bcachefs (loop0): unreachable inode: [ 44.109777][ T6564] inum: 4099:4294967295 [ 44.109784][ T6564] mode=100755 [ 44.109792][ T6564] flags=(4300000) [ 44.109799][ T6564] journal_seq=20 [ 44.109807][ T6564] hash_seed=fc917866faeb7b5b [ 44.109825][ T6564] hash_type=siphash [ 44.109832][ T6564] bi_size=1050 [ 44.109839][ T6564] bi_sectors=8 [ 44.109847][ T6564] bi_version=0 [ 44.109854][ T6564] bi_atime=2770562249 [ 44.109868][ T6564] bi_ctime=2770562249 [ 44.109876][ T6564] bi_mtime=2770562249 [ 44.109883][ T6564] bi_otime=2770562249 [ 44.109891][ T6564] bi_uid=0 [ 44.109898][ T6564] bi_gid=0 [ 44.109905][ T6564] bi_nlink=0 [ 44.109912][ T6564] bi_generation=0 [ 44.109920][ T6564] bi_dev=0 [ 44.109927][ T6564] bi_data_checksum=0 [ 44.109940][ T6564] bi_compression=0 [ 44.109948][ T6564] bi_project=0 [ 44.109955][ T6564] bi_background_compression=0 [ 44.109963][ T6564] bi_data_replicas=0 [ 44.109970][ T6564] bi_promote_target=0 [ 44.109978][ T6564] bi_foreground_target=0 [ 44.109985][ T6564] bi_background_target=0 [ 44.109993][ T6564] bi_erasure_code=0 [ 44.110000][ T6564] bi_fields_set=0 [ 44.110008][ T6564] bi_dir=0 [ 44.110015][ T6564] bi_dir_offset=0 [ 44.110022][ T6564] bi_subvol=0 [ 44.110030][ T6564] bi_parent_subvol=0 [ 44.110037][ T6564] bi_nocow=0 [ 44.110044][ T6564] bi_depth=0 [ 44.110052][ T6564] bi_inodes_32bit=0 [ 44.110059][ T6564] bi_casefold=0, fixing [ 44.111205][ T6564] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.112645][ T6564] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.113436][ T6564] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.118443][ T6564] bcachefs (loop0): unreachable inode: [ 44.118458][ T6564] inum: 4100:4294967295 [ 44.118465][ T6564] mode=120777 [ 44.118473][ T6564] flags=(4300000) [ 44.118480][ T6564] journal_seq=20 [ 44.118487][ T6564] hash_seed=f4891abdd5c0cd85 [ 44.118495][ T6564] hash_type=siphash [ 44.118503][ T6564] bi_size=38 [ 44.118510][ T6564] bi_sectors=8 [ 44.118517][ T6564] bi_version=0 [ 44.118524][ T6564] bi_atime=2770562249 [ 44.118532][ T6564] bi_ctime=2780562352 [ 44.118539][ T6564] bi_mtime=2770562249 [ 44.118547][ T6564] bi_otime=2770562249 [ 44.118561][ T6564] bi_uid=0 [ 44.118570][ T6564] bi_gid=0 [ 44.118577][ T6564] bi_nlink=0 [ 44.118585][ T6564] bi_generation=0 [ 44.118592][ T6564] bi_dev=0 [ 44.118600][ T6564] bi_data_checksum=0 [ 44.118607][ T6564] bi_compression=0 [ 44.118614][ T6564] bi_project=0 [ 44.118622][ T6564] bi_background_compression=0 [ 44.118629][ T6564] bi_data_replicas=0 [ 44.118637][ T6564] bi_promote_target=0 [ 44.118644][ T6564] bi_foreground_target=0 [ 44.118652][ T6564] bi_background_target=0 [ 44.118660][ T6564] bi_erasure_code=0 [ 44.118667][ T6564] bi_fields_set=0 [ 44.118675][ T6564] bi_dir=0 [ 44.118682][ T6564] bi_dir_offset=0 [ 44.118689][ T6564] bi_subvol=0 [ 44.118696][ T6564] bi_parent_subvol=0 [ 44.118704][ T6564] bi_nocow=0 [ 44.118711][ T6564] bi_depth=0 [ 44.118718][ T6564] bi_inodes_32bit=0 [ 44.118726][ T6564] bi_casefold=0, fixing [ 44.119353][ T6564] bcachefs (loop0): unreachable inode: [ 44.119364][ T6564] inum: 536870913:4294967295 [ 44.119372][ T6564] mode=100755 [ 44.119380][ T6564] flags=(15300000) [ 44.119387][ T6564] journal_seq=21 [ 44.119395][ T6564] hash_seed=b68791a594a6d5ae [ 44.119402][ T6564] hash_type=siphash [ 44.119410][ T6564] bi_size=25769812776 [ 44.119417][ T6564] bi_sectors=24 [ 44.119425][ T6564] bi_version=0 [ 44.119432][ T6564] bi_atime=2780562352 [ 44.119439][ T6564] bi_ctime=2780562352 [ 44.119447][ T6564] bi_mtime=2780562352 [ 44.119454][ T6564] bi_otime=2780562352 [ 44.119462][ T6564] bi_uid=0 [ 44.119469][ T6564] bi_gid=0 [ 44.119476][ T6564] bi_nlink=1 [ 44.119483][ T6564] bi_generation=0 [ 44.119491][ T6564] bi_dev=0 [ 44.119498][ T6564] bi_data_checksum=0 [ 44.119505][ T6564] bi_compression=0 [ 44.119513][ T6564] bi_project=0 [ 44.119520][ T6564] bi_background_compression=0 [ 44.119528][ T6564] bi_data_replicas=0 [ 44.119536][ T6564] bi_promote_target=1 [ 44.119543][ T6564] bi_foreground_target=0 [ 44.119551][ T6564] bi_background_target=0 [ 44.119558][ T6564] bi_erasure_code=0 [ 44.119566][ T6564] bi_fields_set=0 [ 44.119573][ T6564] bi_dir=0 [ 44.119580][ T6564] bi_dir_offset=2695648408715017799 [ 44.119588][ T6564] bi_subvol=0 [ 44.119595][ T6564] bi_parent_subvol=0 [ 44.119603][ T6564] bi_nocow=0 [ 44.119610][ T6564] bi_depth=0 [ 44.119617][ T6564] bi_inodes_32bit=0 [ 44.119625][ T6564] bi_casefold=0, fixing [ 44.120147][ T6564] bcachefs (loop0): unreachable inode: [ 44.120158][ T6564] inum: 536870914:4294967295 [ 44.120166][ T6564] mode=100755 [ 44.120173][ T6564] flags=(15300000) [ 44.120181][ T6564] journal_seq=21 [ 44.120188][ T6564] hash_seed=d483206f1ed95abf [ 44.120196][ T6564] hash_type=siphash [ 44.120203][ T6564] bi_size=100 [ 44.120210][ T6564] bi_sectors=8 [ 44.120218][ T6564] bi_version=1126999418470400 [ 44.120225][ T6564] bi_atime=0 [ 44.120233][ T6564] bi_ctime=0 [ 44.120240][ T6564] bi_mtime=0 [ 44.120247][ T6564] bi_otime=2780562352 [ 44.120255][ T6564] bi_uid=2780562352 [ 44.120262][ T6564] bi_gid=0 [ 44.120269][ T6564] bi_nlink=2780562352 [ 44.120277][ T6564] bi_generation=0 [ 44.120284][ T6564] bi_dev=0 [ 44.120292][ T6564] bi_data_checksum=0 [ 44.120299][ T6564] bi_compression=0 [ 44.120306][ T6564] bi_project=0 [ 44.120314][ T6564] bi_background_compression=0 [ 44.120321][ T6564] bi_data_replicas=0 [ 44.120329][ T6564] bi_promote_target=0 [ 44.120337][ T6564] bi_foreground_target=0 [ 44.120344][ T6564] bi_background_target=0 [ 44.120352][ T6564] bi_erasure_code=0 [ 44.120359][ T6564] bi_fields_set=0 [ 44.120367][ T6564] bi_dir=0 [ 44.120374][ T6564] bi_dir_offset=9097378837824744618 [ 44.120382][ T6564] bi_subvol=0 [ 44.120389][ T6564] bi_parent_subvol=0 [ 44.120397][ T6564] bi_nocow=0 [ 44.120404][ T6564] bi_depth=0 [ 44.120411][ T6564] bi_inodes_32bit=0 [ 44.120419][ T6564] bi_casefold=0, fixing [ 44.121385][ T6564] done [ 44.122267][ T6564] bcachefs (loop0): check_subvolume_structure... done [ 44.123091][ T6564] bcachefs (loop0): check_directory_structure... [ 44.123336][ T6564] bcachefs (loop0): inode points to dirent that does not point back: [ 44.123336][ T6564] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 44.123336][ T6564] inum: 4097:4294967295 [ 44.123336][ T6564] mode=40700 [ 44.123336][ T6564] flags=has_case_insensitive(15300400) [ 44.123336][ T6564] journal_seq=21 [ 44.123336][ T6564] hash_seed=a9fcff247692d1ca [ 44.123336][ T6564] hash_type=siphash [ 44.123336][ T6564] bi_size=0 [ 44.123336][ T6564] bi_sectors=0 [ 44.123336][ T6564] bi_version=0 [ 44.123336][ T6564] bi_atime=200535484 [ 44.123336][ T6564] bi_ctime=200535484 [ 44.123336][ T6564] bi_mtime=200535484 [ 44.123336][ T6564] bi_otime=200535484 [ 44.123336][ T6564] bi_uid=0 [ 44.123336][ T6564] bi_gid=0 [ 44.123336][ T6564] bi_nlink=0 [ 44.123336][ T6564] bi_generation=0 [ 44.123336][ T6564] bi_dev=0 [ 44.123336][ T6564] bi_data_checksum=0 [ 44.123336][ T6564] bi_compression=0 [ 44.123336][ T6564] bi_project=0 [ 44.123336][ T6564] bi_background_compression=0 [ 44.123336][ T6564] bi_data_replicas=0 [ 44.123336][ T6564] bi_promote_target=0 [ 44.123336][ T6564] bi_foreground_target=0 [ 44.123336][ T6564] bi_background_target=0 [ 44.123336][ T6564] bi_erasure_code=0 [ 44.123336][ T6564] bi_fields_set=0 [ 44.123336][ T6564] bi_dir=4096 [ 44.123336][ T6564] bi_dir_offset=8130059955150870709 [ 44.123336][ T6564] bi_subvol=0 [ 44.123336][ T6564] bi_parent_subvol=0 [ 44.123336][ T6564] bi_nocow=0 [ 44.123336][ T6564] bi_depth=0 [ 44.123336][ T6564] bi_inodes_32bit=0 [ 44.123336][ T6564] bi_casefold=0 [ 44.123499][ T6564] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 44.123499][ T6564] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 44.123499][ T6564] mode=40700 [ 44.123499][ T6564] flags=has_case_insensitive(15300400) [ 44.123499][ T6564] journal_seq=21 [ 44.123499][ T6564] hash_seed=a9fcff247692d1ca [ 44.123499][ T6564] hash_type=siphash [ 44.123499][ T6564] bi_size=0 [ 44.123499][ T6564] bi_sectors=0 [ 44.123499][ T6564] bi_version=0 [ 44.123499][ T6564] bi_atime=200535484 [ 44.123499][ T6564] bi_ctime=200535484 [ 44.123499][ T6564] bi_mtime=200535484 [ 44.123499][ T6564] bi_otime=200535484 [ 44.123499][ T6564] bi_uid=0 [ 44.123499][ T6564] bi_gid=0 [ 44.123499][ T6564] bi_nlink=0 [ 44.123499][ T6564] bi_generation=0 [ 44.123499][ T6564] bi_dev=0 [ 44.123499][ T6564] bi_data_checksum=0 [ 44.123499][ T6564] bi_compression=0 [ 44.123499][ T6564] bi_project=0 [ 44.123499][ T6564] bi_background_compression=0 [ 44.123499][ T6564] bi_data_replicas=0 [ 44.123499][ T6564] bi_promote_target=0 [ 44.123499][ T6564] bi_foreground_target=0 [ 44.123499][ T6564] bi_background_target=0 [ 44.123499][ T6564] bi_erasure_code=0 [ 44.123499][ T6564] bi_fields_set=0 [ 44.123499][ T6564] bi_dir=4096 [ 44.123499][ T6564] bi_dir_offset=8130059955150870709 [ 44.123499][ T6564] bi_subvol=0 [ 44.123499][ T6564] bi_parent_subvol=0 [ 44.123499][ T6564] bi_nocow=0 [ 44.123499][ T6564] bi_depth=0 [ 44.123499][ T6564] bi_inodes_32bit=0 [ 44.123499][ T6564] bi_casefold=0 [ 44.123548][ T6564] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 44.123568][ T6564] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 44.123628][ T1793] bcachefs (loop0): going read-only [ 44.123652][ T1793] bcachefs (loop0): finished waiting for writes to stop [ 44.123723][ T6564] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 44.123748][ T6564] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 44.123767][ T6564] bcachefs (loop0): shutting down [ 44.166791][ T1793] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 44.166849][ T1793] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 44.166997][ T1793] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 44.167931][ T1793] bcachefs (loop0): done going read-only, filesystem not clean [ 44.174409][ T6564] bcachefs (loop0): shutdown complete [ 45.167580][ T6564] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 45.301690][ T6575] loop0: detected capacity change from 0 to 32768 [ 45.374692][ T6575] 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.374692][ T6575] allowing incompatible features above 0.0: (unknown version) [ 45.374692][ T6575] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 45.374756][ T6575] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 45.374856][ T6575] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 45.374964][ T6575] bcachefs (loop0): Version upgrade required: [ 45.374964][ T6575] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 45.374964][ T6575] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 45.374964][ T6575] 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.382870][ T6575] bcachefs (loop0): accounting_read... done [ 45.383342][ T6575] bcachefs (loop0): alloc_read... done [ 45.383760][ T6575] bcachefs (loop0): snapshots_read... done [ 45.384178][ T6575] bcachefs (loop0): check_allocations... [ 45.384972][ T6575] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 45.384985][ T6575] 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.385857][ T6575] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 45.385870][ T6575] 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.386502][ T6575] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 45.386514][ T6575] 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.387206][ T6575] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 45.387218][ T6575] 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.388351][ T6575] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 45.388363][ T6575] 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.388830][ T6575] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.388890][ T6575] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.389036][ T6575] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.389086][ T6575] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.389166][ T6575] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.389215][ T6575] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.389318][ T6575] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.389368][ T6575] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.389448][ T6575] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.389497][ T6575] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.389607][ T6575] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.389657][ T6575] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.389735][ T6575] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.389784][ T6575] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.389878][ T6575] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.389927][ T6575] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 45.390010][ T6575] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.390059][ T6575] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.390145][ T6575] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.390195][ T6575] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.390282][ T6575] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.390292][ T6575] Ratelimiting new instances of previous error [ 45.390354][ T6575] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.390364][ T6575] Ratelimiting new instances of previous error [ 45.394011][ T6575] done [ 45.394970][ T6575] bcachefs (loop0): going read-write [ 45.405253][ T6575] bcachefs (loop0): journal_replay... done [ 45.419057][ T6575] bcachefs (loop0): check_alloc_info... done [ 45.421427][ T6575] bcachefs (loop0): check_lrus... done [ 45.421866][ T6575] bcachefs (loop0): check_btree_backpointers... done [ 45.422422][ T6575] bcachefs (loop0): check_backpointers_to_extents... done [ 45.423610][ T6575] bcachefs (loop0): check_extents_to_backpointers... [ 45.424168][ T6575] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 45.424803][ T6575] done [ 45.425134][ T6575] bcachefs (loop0): check_alloc_to_lru_refs... done [ 45.426332][ T6575] bcachefs (loop0): bucket_gens_init... done [ 45.430495][ T6575] bcachefs (loop0): check_snapshot_trees... done [ 45.430904][ T6575] bcachefs (loop0): check_snapshots... [ 45.431107][ T6575] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 45.431118][ T6575] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 45.434385][ T6575] done [ 45.434714][ T6575] bcachefs (loop0): check_subvols... done [ 45.435343][ T6575] bcachefs (loop0): check_subvol_children... done [ 45.435769][ T6575] bcachefs (loop0): delete_dead_snapshots... done [ 45.436229][ T6575] bcachefs (loop0): check_inodes... [ 45.437524][ T6575] bcachefs (loop0): inode points to missing dirent [ 45.437537][ T6575] inum: 4099:4294967295 [ 45.437545][ T6575] mode=100755 [ 45.437552][ T6575] flags=(15300000) [ 45.437559][ T6575] journal_seq=5 [ 45.437567][ T6575] hash_seed=fc917866faeb7b5b [ 45.437574][ T6575] hash_type=siphash [ 45.437582][ T6575] bi_size=1050 [ 45.437589][ T6575] bi_sectors=8 [ 45.437596][ T6575] bi_version=0 [ 45.437604][ T6575] bi_atime=2770562249 [ 45.437611][ T6575] bi_ctime=2770562249 [ 45.437619][ T6575] bi_mtime=2770562249 [ 45.437626][ T6575] bi_otime=2770562249 [ 45.437634][ T6575] bi_uid=0 [ 45.437641][ T6575] bi_gid=0 [ 45.437648][ T6575] bi_nlink=0 [ 45.437656][ T6575] bi_generation=0 [ 45.437663][ T6575] bi_dev=0 [ 45.437670][ T6575] bi_data_checksum=0 [ 45.437678][ T6575] bi_compression=0 [ 45.437685][ T6575] bi_project=0 [ 45.437692][ T6575] bi_background_compression=0 [ 45.437700][ T6575] bi_data_replicas=0 [ 45.437708][ T6575] bi_promote_target=0 [ 45.437715][ T6575] bi_foreground_target=0 [ 45.437723][ T6575] bi_background_target=0 [ 45.437730][ T6575] bi_erasure_code=0 [ 45.437738][ T6575] bi_fields_set=0 [ 45.437745][ T6575] bi_dir=4098 [ 45.437752][ T6575] bi_dir_offset=8977922886548783724 [ 45.437760][ T6575] bi_subvol=0 [ 45.437767][ T6575] bi_parent_subvol=0 [ 45.437775][ T6575] bi_nocow=0 [ 45.437782][ T6575] bi_depth=0 [ 45.437790][ T6575] bi_inodes_32bit=0 [ 45.437797][ T6575] bi_casefold=0, fixing [ 45.438263][ T6575] bcachefs (loop0): inode points to missing dirent [ 45.438273][ T6575] inum: 4100:4294967295 [ 45.438281][ T6575] mode=120777 [ 45.438288][ T6575] flags=(15300000) [ 45.438295][ T6575] journal_seq=4 [ 45.438303][ T6575] hash_seed=f4891abdd5c0cd85 [ 45.438310][ T6575] hash_type=siphash [ 45.438318][ T6575] bi_size=38 [ 45.438325][ T6575] bi_sectors=8 [ 45.438332][ T6575] bi_version=0 [ 45.438340][ T6575] bi_atime=2770562249 [ 45.438347][ T6575] bi_ctime=2780562352 [ 45.438355][ T6575] bi_mtime=2770562249 [ 45.438362][ T6575] bi_otime=2770562249 [ 45.438370][ T6575] bi_uid=0 [ 45.438377][ T6575] bi_gid=0 [ 45.438384][ T6575] bi_nlink=0 [ 45.438391][ T6575] bi_generation=0 [ 45.438399][ T6575] bi_dev=0 [ 45.438406][ T6575] bi_data_checksum=0 [ 45.438413][ T6575] bi_compression=0 [ 45.438421][ T6575] bi_project=0 [ 45.438428][ T6575] bi_background_compression=0 [ 45.438436][ T6575] bi_data_replicas=0 [ 45.438443][ T6575] bi_promote_target=0 [ 45.438451][ T6575] bi_foreground_target=0 [ 45.438458][ T6575] bi_background_target=0 [ 45.438466][ T6575] bi_erasure_code=0 [ 45.438474][ T6575] bi_fields_set=0 [ 45.438481][ T6575] bi_dir=4098 [ 45.438488][ T6575] bi_dir_offset=5675548428000973578 [ 45.438496][ T6575] bi_subvol=0 [ 45.438503][ T6575] bi_parent_subvol=0 [ 45.438511][ T6575] bi_nocow=0 [ 45.438518][ T6575] bi_depth=0 [ 45.438526][ T6575] bi_inodes_32bit=0 [ 45.438533][ T6575] bi_casefold=0, fixing [ 45.439259][ T6575] done [ 45.439583][ T6575] bcachefs (loop0): check_extents... done [ 45.440409][ T6575] bcachefs (loop0): check_indirect_extents... done [ 45.440783][ T6575] bcachefs (loop0): check_dirents... [ 45.441167][ T6575] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.441178][ T6575] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 45.441456][ T6575] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.441467][ T6575] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 45.441631][ T6575] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.441641][ T6575] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 45.441790][ T6575] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.441800][ T6575] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 45.441981][ T6575] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.441991][ T6575] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 45.442143][ T6575] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.442153][ T6575] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 45.442307][ T6575] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 45.442726][ T6575] done [ 45.443074][ T6575] bcachefs (loop0): check_xattrs... done [ 45.443783][ T6575] bcachefs (loop0): check_root... done [ 45.444290][ T6575] bcachefs (loop0): check_unreachable_inodes... [ 45.444746][ T6575] bcachefs (loop0): unreachable inode: [ 45.444757][ T6575] inum: 4099:4294967295 [ 45.444764][ T6575] mode=100755 [ 45.444772][ T6575] flags=(4300000) [ 45.444779][ T6575] journal_seq=20 [ 45.444786][ T6575] hash_seed=fc917866faeb7b5b [ 45.444794][ T6575] hash_type=siphash [ 45.444801][ T6575] bi_size=1050 [ 45.444818][ T6575] bi_sectors=8 [ 45.444825][ T6575] bi_version=0 [ 45.444833][ T6575] bi_atime=2770562249 [ 45.444841][ T6575] bi_ctime=2770562249 [ 45.444848][ T6575] bi_mtime=2770562249 [ 45.444856][ T6575] bi_otime=2770562249 [ 45.444863][ T6575] bi_uid=0 [ 45.444870][ T6575] bi_gid=0 [ 45.444882][ T6575] bi_nlink=0 [ 45.444889][ T6575] bi_generation=0 [ 45.444897][ T6575] bi_dev=0 [ 45.444904][ T6575] bi_data_checksum=0 [ 45.444911][ T6575] bi_compression=0 [ 45.444919][ T6575] bi_project=0 [ 45.444926][ T6575] bi_background_compression=0 [ 45.444934][ T6575] bi_data_replicas=0 [ 45.444941][ T6575] bi_promote_target=0 [ 45.444949][ T6575] bi_foreground_target=0 [ 45.444956][ T6575] bi_background_target=0 [ 45.444964][ T6575] bi_erasure_code=0 [ 45.444971][ T6575] bi_fields_set=0 [ 45.444979][ T6575] bi_dir=0 [ 45.444986][ T6575] bi_dir_offset=0 [ 45.444993][ T6575] bi_subvol=0 [ 45.445000][ T6575] bi_parent_subvol=0 [ 45.445008][ T6575] bi_nocow=0 [ 45.445015][ T6575] bi_depth=0 [ 45.445023][ T6575] bi_inodes_32bit=0 [ 45.445030][ T6575] bi_casefold=0, fixing [ 45.446223][ T6575] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.448789][ T6575] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.449609][ T6575] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.460007][ T6575] bcachefs (loop0): unreachable inode: [ 45.460020][ T6575] inum: 4100:4294967295 [ 45.460027][ T6575] mode=120777 [ 45.460035][ T6575] flags=(4300000) [ 45.460042][ T6575] journal_seq=20 [ 45.460049][ T6575] hash_seed=f4891abdd5c0cd85 [ 45.460057][ T6575] hash_type=siphash [ 45.460064][ T6575] bi_size=38 [ 45.460071][ T6575] bi_sectors=8 [ 45.460079][ T6575] bi_version=0 [ 45.460086][ T6575] bi_atime=2770562249 [ 45.460093][ T6575] bi_ctime=2780562352 [ 45.460101][ T6575] bi_mtime=2770562249 [ 45.460108][ T6575] bi_otime=2770562249 [ 45.460116][ T6575] bi_uid=0 [ 45.460123][ T6575] bi_gid=0 [ 45.460130][ T6575] bi_nlink=0 [ 45.460137][ T6575] bi_generation=0 [ 45.460145][ T6575] bi_dev=0 [ 45.460152][ T6575] bi_data_checksum=0 [ 45.460159][ T6575] bi_compression=0 [ 45.460167][ T6575] bi_project=0 [ 45.460174][ T6575] bi_background_compression=0 [ 45.460182][ T6575] bi_data_replicas=0 [ 45.460189][ T6575] bi_promote_target=0 [ 45.460196][ T6575] bi_foreground_target=0 [ 45.460204][ T6575] bi_background_target=0 [ 45.460212][ T6575] bi_erasure_code=0 [ 45.460219][ T6575] bi_fields_set=0 [ 45.460226][ T6575] bi_dir=0 [ 45.460233][ T6575] bi_dir_offset=0 [ 45.460241][ T6575] bi_subvol=0 [ 45.460248][ T6575] bi_parent_subvol=0 [ 45.460255][ T6575] bi_nocow=0 [ 45.460263][ T6575] bi_depth=0 [ 45.460270][ T6575] bi_inodes_32bit=0 [ 45.460277][ T6575] bi_casefold=0, fixing [ 45.460805][ T6575] bcachefs (loop0): unreachable inode: [ 45.460823][ T6575] inum: 536870913:4294967295 [ 45.460831][ T6575] mode=100755 [ 45.460839][ T6575] flags=(15300000) [ 45.460846][ T6575] journal_seq=21 [ 45.460853][ T6575] hash_seed=b68791a594a6d5ae [ 45.460861][ T6575] hash_type=siphash [ 45.460868][ T6575] bi_size=25769812776 [ 45.460880][ T6575] bi_sectors=24 [ 45.460887][ T6575] bi_version=0 [ 45.460895][ T6575] bi_atime=2780562352 [ 45.460902][ T6575] bi_ctime=2780562352 [ 45.460910][ T6575] bi_mtime=2780562352 [ 45.460917][ T6575] bi_otime=2780562352 [ 45.460925][ T6575] bi_uid=0 [ 45.460932][ T6575] bi_gid=0 [ 45.460939][ T6575] bi_nlink=1 [ 45.460946][ T6575] bi_generation=0 [ 45.460954][ T6575] bi_dev=0 [ 45.460961][ T6575] bi_data_checksum=0 [ 45.460968][ T6575] bi_compression=0 [ 45.460976][ T6575] bi_project=0 [ 45.460983][ T6575] bi_background_compression=0 [ 45.460991][ T6575] bi_data_replicas=0 [ 45.460998][ T6575] bi_promote_target=1 [ 45.461006][ T6575] bi_foreground_target=0 [ 45.461013][ T6575] bi_background_target=0 [ 45.461021][ T6575] bi_erasure_code=0 [ 45.461028][ T6575] bi_fields_set=0 [ 45.461036][ T6575] bi_dir=0 [ 45.461043][ T6575] bi_dir_offset=2695648408715017799 [ 45.461051][ T6575] bi_subvol=0 [ 45.461058][ T6575] bi_parent_subvol=0 [ 45.461065][ T6575] bi_nocow=0 [ 45.461073][ T6575] bi_depth=0 [ 45.461080][ T6575] bi_inodes_32bit=0 [ 45.461087][ T6575] bi_casefold=0, fixing [ 45.461576][ T6575] bcachefs (loop0): unreachable inode: [ 45.461586][ T6575] inum: 536870914:4294967295 [ 45.461594][ T6575] mode=100755 [ 45.461601][ T6575] flags=(15300000) [ 45.461608][ T6575] journal_seq=21 [ 45.461616][ T6575] hash_seed=d483206f1ed95abf [ 45.461623][ T6575] hash_type=siphash [ 45.461631][ T6575] bi_size=100 [ 45.461638][ T6575] bi_sectors=8 [ 45.461645][ T6575] bi_version=1126999418470400 [ 45.461653][ T6575] bi_atime=0 [ 45.461660][ T6575] bi_ctime=0 [ 45.461667][ T6575] bi_mtime=0 [ 45.461674][ T6575] bi_otime=2780562352 [ 45.461682][ T6575] bi_uid=2780562352 [ 45.461689][ T6575] bi_gid=0 [ 45.461696][ T6575] bi_nlink=2780562352 [ 45.461704][ T6575] bi_generation=0 [ 45.461711][ T6575] bi_dev=0 [ 45.461718][ T6575] bi_data_checksum=0 [ 45.461726][ T6575] bi_compression=0 [ 45.461733][ T6575] bi_project=0 [ 45.461740][ T6575] bi_background_compression=0 [ 45.461748][ T6575] bi_data_replicas=0 [ 45.461756][ T6575] bi_promote_target=0 [ 45.461763][ T6575] bi_foreground_target=0 [ 45.461771][ T6575] bi_background_target=0 [ 45.461778][ T6575] bi_erasure_code=0 [ 45.461786][ T6575] bi_fields_set=0 [ 45.461793][ T6575] bi_dir=0 [ 45.461800][ T6575] bi_dir_offset=9097378837824744618 [ 45.461808][ T6575] bi_subvol=0 [ 45.461822][ T6575] bi_parent_subvol=0 [ 45.461829][ T6575] bi_nocow=0 [ 45.461836][ T6575] bi_depth=0 [ 45.461844][ T6575] bi_inodes_32bit=0 [ 45.461851][ T6575] bi_casefold=0, fixing [ 45.466010][ T6575] done [ 45.466737][ T6575] bcachefs (loop0): check_subvolume_structure... done [ 45.467950][ T6575] bcachefs (loop0): check_directory_structure... [ 45.468647][ T6575] bcachefs (loop0): inode points to dirent that does not point back: [ 45.468647][ T6575] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 45.468647][ T6575] inum: 4097:4294967295 [ 45.468647][ T6575] mode=40700 [ 45.468647][ T6575] flags=has_case_insensitive(15300400) [ 45.468647][ T6575] journal_seq=21 [ 45.468647][ T6575] hash_seed=a9fcff247692d1ca [ 45.468647][ T6575] hash_type=siphash [ 45.468647][ T6575] bi_size=0 [ 45.468647][ T6575] bi_sectors=0 [ 45.468647][ T6575] bi_version=0 [ 45.468647][ T6575] bi_atime=200535484 [ 45.468647][ T6575] bi_ctime=200535484 [ 45.468647][ T6575] bi_mtime=200535484 [ 45.468647][ T6575] bi_otime=200535484 [ 45.468647][ T6575] bi_uid=0 [ 45.468647][ T6575] bi_gid=0 [ 45.468647][ T6575] bi_nlink=0 [ 45.468647][ T6575] bi_generation=0 [ 45.468647][ T6575] bi_dev=0 [ 45.468647][ T6575] bi_data_checksum=0 [ 45.468647][ T6575] bi_compression=0 [ 45.468647][ T6575] bi_project=0 [ 45.468647][ T6575] bi_background_compression=0 [ 45.468647][ T6575] bi_data_replicas=0 [ 45.468647][ T6575] bi_promote_target=0 [ 45.468647][ T6575] bi_foreground_target=0 [ 45.468647][ T6575] bi_background_target=0 [ 45.468647][ T6575] bi_erasure_code=0 [ 45.468647][ T6575] bi_fields_set=0 [ 45.468647][ T6575] bi_dir=4096 [ 45.468647][ T6575] bi_dir_offset=8130059955150870709 [ 45.468647][ T6575] bi_subvol=0 [ 45.468647][ T6575] bi_parent_subvol=0 [ 45.468647][ T6575] bi_nocow=0 [ 45.468647][ T6575] bi_depth=0 [ 45.468647][ T6575] bi_inodes_32bit=0 [ 45.468647][ T6575] bi_casefold=0 [ 45.468808][ T6575] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 45.468808][ T6575] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 45.468808][ T6575] mode=40700 [ 45.468808][ T6575] flags=has_case_insensitive(15300400) [ 45.468808][ T6575] journal_seq=21 [ 45.468808][ T6575] hash_seed=a9fcff247692d1ca [ 45.468808][ T6575] hash_type=siphash [ 45.468808][ T6575] bi_size=0 [ 45.468808][ T6575] bi_sectors=0 [ 45.468808][ T6575] bi_version=0 [ 45.468808][ T6575] bi_atime=200535484 [ 45.468808][ T6575] bi_ctime=200535484 [ 45.468808][ T6575] bi_mtime=200535484 [ 45.468808][ T6575] bi_otime=200535484 [ 45.468808][ T6575] bi_uid=0 [ 45.468808][ T6575] bi_gid=0 [ 45.468808][ T6575] bi_nlink=0 [ 45.468808][ T6575] bi_generation=0 [ 45.468808][ T6575] bi_dev=0 [ 45.468808][ T6575] bi_data_checksum=0 [ 45.468808][ T6575] bi_compression=0 [ 45.468808][ T6575] bi_project=0 [ 45.468808][ T6575] bi_background_compression=0 [ 45.468808][ T6575] bi_data_replicas=0 [ 45.468808][ T6575] bi_promote_target=0 [ 45.468808][ T6575] bi_foreground_target=0 [ 45.468808][ T6575] bi_background_target=0 [ 45.468808][ T6575] bi_erasure_code=0 [ 45.468808][ T6575] bi_fields_set=0 [ 45.468808][ T6575] bi_dir=4096 [ 45.468808][ T6575] bi_dir_offset=8130059955150870709 [ 45.468808][ T6575] bi_subvol=0 [ 45.468808][ T6575] bi_parent_subvol=0 [ 45.468808][ T6575] bi_nocow=0 [ 45.468808][ T6575] bi_depth=0 [ 45.468808][ T6575] bi_inodes_32bit=0 [ 45.468808][ T6575] bi_casefold=0 [ 45.468864][ T6575] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 45.468889][ T6575] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 45.468941][ T6575] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 45.468965][ T6575] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 45.468983][ T6575] bcachefs (loop0): shutting down [ 45.468998][ T6575] bcachefs (loop0): going read-only [ 45.469023][ T6575] bcachefs (loop0): finished waiting for writes to stop [ 45.506826][ T6575] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 45.506871][ T6575] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 45.506947][ T6575] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 45.507916][ T6575] bcachefs (loop0): done going read-only, filesystem not clean [ 45.514328][ T6575] bcachefs (loop0): shutdown complete [ 46.567694][ T6575] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 46.701182][ T6589] loop0: detected capacity change from 0 to 32768 [ 46.747416][ T6589] 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 [ 46.747416][ T6589] allowing incompatible features above 0.0: (unknown version) [ 46.747416][ T6589] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 46.747482][ T6589] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 46.747568][ T6589] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 46.747674][ T6589] bcachefs (loop0): Version upgrade required: [ 46.747674][ T6589] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 46.747674][ T6589] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 46.747674][ T6589] 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 [ 46.755229][ T6589] bcachefs (loop0): accounting_read... done [ 46.755682][ T6589] bcachefs (loop0): alloc_read... done [ 46.756133][ T6589] bcachefs (loop0): snapshots_read... done [ 46.756919][ T6589] bcachefs (loop0): check_allocations... [ 46.757707][ T6589] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 46.757720][ T6589] 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 [ 46.758601][ T6589] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 46.758613][ T6589] 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 [ 46.759208][ T6589] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 46.759219][ T6589] 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 [ 46.760023][ T6589] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 46.760037][ T6589] 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 [ 46.761094][ T6589] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 46.761107][ T6589] 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 [ 46.761571][ T6589] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.761624][ T6589] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.761757][ T6589] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.761808][ T6589] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.761898][ T6589] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.761955][ T6589] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.762036][ T6589] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.762088][ T6589] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.762174][ T6589] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.762223][ T6589] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.762301][ T6589] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.762350][ T6589] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.762428][ T6589] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.762479][ T6589] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.762568][ T6589] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.762617][ T6589] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 46.762702][ T6589] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 46.762751][ T6589] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 46.762836][ T6589] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 46.762886][ T6589] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 46.762986][ T6589] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 46.762997][ T6589] Ratelimiting new instances of previous error [ 46.763059][ T6589] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 46.763069][ T6589] Ratelimiting new instances of previous error [ 46.767134][ T6589] done [ 46.768106][ T6589] bcachefs (loop0): going read-write [ 46.789283][ T6589] bcachefs (loop0): journal_replay... done [ 46.805069][ T6589] bcachefs (loop0): check_alloc_info... done [ 46.807769][ T6589] bcachefs (loop0): check_lrus... done [ 46.808200][ T6589] bcachefs (loop0): check_btree_backpointers... done [ 46.808702][ T6589] bcachefs (loop0): check_backpointers_to_extents... done [ 46.809935][ T6589] bcachefs (loop0): check_extents_to_backpointers... [ 46.810473][ T6589] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 46.811141][ T6589] done [ 46.811520][ T6589] bcachefs (loop0): check_alloc_to_lru_refs... done [ 46.812634][ T6589] bcachefs (loop0): bucket_gens_init... done [ 46.816962][ T6589] bcachefs (loop0): check_snapshot_trees... done [ 46.817402][ T6589] bcachefs (loop0): check_snapshots... [ 46.817603][ T6589] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 46.817614][ T6589] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 46.821070][ T6589] done [ 46.821437][ T6589] bcachefs (loop0): check_subvols... done [ 46.822165][ T6589] bcachefs (loop0): check_subvol_children... done [ 46.822626][ T6589] bcachefs (loop0): delete_dead_snapshots... done [ 46.823026][ T6589] bcachefs (loop0): check_inodes... [ 46.823866][ T6589] bcachefs (loop0): inode points to missing dirent [ 46.823878][ T6589] inum: 4099:4294967295 [ 46.823886][ T6589] mode=100755 [ 46.823893][ T6589] flags=(15300000) [ 46.823901][ T6589] journal_seq=5 [ 46.823914][ T6589] hash_seed=fc917866faeb7b5b [ 46.823922][ T6589] hash_type=siphash [ 46.823930][ T6589] bi_size=1050 [ 46.823937][ T6589] bi_sectors=8 [ 46.823944][ T6589] bi_version=0 [ 46.823951][ T6589] bi_atime=2770562249 [ 46.823959][ T6589] bi_ctime=2770562249 [ 46.823966][ T6589] bi_mtime=2770562249 [ 46.823974][ T6589] bi_otime=2770562249 [ 46.823981][ T6589] bi_uid=0 [ 46.823988][ T6589] bi_gid=0 [ 46.823996][ T6589] bi_nlink=0 [ 46.824007][ T6589] bi_generation=0 [ 46.824015][ T6589] bi_dev=0 [ 46.824022][ T6589] bi_data_checksum=0 [ 46.824029][ T6589] bi_compression=0 [ 46.824037][ T6589] bi_project=0 [ 46.824044][ T6589] bi_background_compression=0 [ 46.824052][ T6589] bi_data_replicas=0 [ 46.824059][ T6589] bi_promote_target=0 [ 46.824067][ T6589] bi_foreground_target=0 [ 46.824075][ T6589] bi_background_target=0 [ 46.824082][ T6589] bi_erasure_code=0 [ 46.824090][ T6589] bi_fields_set=0 [ 46.824097][ T6589] bi_dir=4098 [ 46.824105][ T6589] bi_dir_offset=8977922886548783724 [ 46.824113][ T6589] bi_subvol=0 [ 46.824120][ T6589] bi_parent_subvol=0 [ 46.824127][ T6589] bi_nocow=0 [ 46.824135][ T6589] bi_depth=0 [ 46.824142][ T6589] bi_inodes_32bit=0 [ 46.824150][ T6589] bi_casefold=0, fixing [ 46.824595][ T6589] bcachefs (loop0): inode points to missing dirent [ 46.824605][ T6589] inum: 4100:4294967295 [ 46.824613][ T6589] mode=120777 [ 46.824620][ T6589] flags=(15300000) [ 46.824631][ T6589] journal_seq=4 [ 46.824639][ T6589] hash_seed=f4891abdd5c0cd85 [ 46.824647][ T6589] hash_type=siphash [ 46.824655][ T6589] bi_size=38 [ 46.824662][ T6589] bi_sectors=8 [ 46.824669][ T6589] bi_version=0 [ 46.824677][ T6589] bi_atime=2770562249 [ 46.824684][ T6589] bi_ctime=2780562352 [ 46.824692][ T6589] bi_mtime=2770562249 [ 46.824699][ T6589] bi_otime=2770562249 [ 46.824707][ T6589] bi_uid=0 [ 46.824714][ T6589] bi_gid=0 [ 46.824721][ T6589] bi_nlink=0 [ 46.824728][ T6589] bi_generation=0 [ 46.824736][ T6589] bi_dev=0 [ 46.824743][ T6589] bi_data_checksum=0 [ 46.824751][ T6589] bi_compression=0 [ 46.824758][ T6589] bi_project=0 [ 46.824765][ T6589] bi_background_compression=0 [ 46.824773][ T6589] bi_data_replicas=0 [ 46.824781][ T6589] bi_promote_target=0 [ 46.824788][ T6589] bi_foreground_target=0 [ 46.824798][ T6589] bi_background_target=0 [ 46.824806][ T6589] bi_erasure_code=0 [ 46.824819][ T6589] bi_fields_set=0 [ 46.824827][ T6589] bi_dir=4098 [ 46.824834][ T6589] bi_dir_offset=5675548428000973578 [ 46.824842][ T6589] bi_subvol=0 [ 46.824850][ T6589] bi_parent_subvol=0 [ 46.824857][ T6589] bi_nocow=0 [ 46.824864][ T6589] bi_depth=0 [ 46.824872][ T6589] bi_inodes_32bit=0 [ 46.824879][ T6589] bi_casefold=0, fixing [ 46.825610][ T6589] done [ 46.825969][ T6589] bcachefs (loop0): check_extents... done [ 46.830247][ T6589] bcachefs (loop0): check_indirect_extents... done [ 46.830654][ T6589] bcachefs (loop0): check_dirents... [ 46.831067][ T6589] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.831079][ T6589] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 46.831358][ T6589] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.831369][ T6589] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 46.831538][ T6589] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.831549][ T6589] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 46.831714][ T6589] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.831724][ T6589] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 46.831914][ T6589] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.831925][ T6589] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 46.832163][ T6589] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.832174][ T6589] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 46.832330][ T6589] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 46.832799][ T6589] done [ 46.833185][ T6589] bcachefs (loop0): check_xattrs... done [ 46.833943][ T6589] bcachefs (loop0): check_root... done [ 46.834463][ T6589] bcachefs (loop0): check_unreachable_inodes... [ 46.834947][ T6589] bcachefs (loop0): unreachable inode: [ 46.834961][ T6589] inum: 4099:4294967295 [ 46.834969][ T6589] mode=100755 [ 46.834977][ T6589] flags=(4300000) [ 46.834984][ T6589] journal_seq=20 [ 46.834992][ T6589] hash_seed=fc917866faeb7b5b [ 46.834999][ T6589] hash_type=siphash [ 46.835007][ T6589] bi_size=1050 [ 46.835014][ T6589] bi_sectors=8 [ 46.835021][ T6589] bi_version=0 [ 46.835029][ T6589] bi_atime=2770562249 [ 46.835036][ T6589] bi_ctime=2770562249 [ 46.835044][ T6589] bi_mtime=2770562249 [ 46.835051][ T6589] bi_otime=2770562249 [ 46.835059][ T6589] bi_uid=0 [ 46.835066][ T6589] bi_gid=0 [ 46.835074][ T6589] bi_nlink=0 [ 46.835081][ T6589] bi_generation=0 [ 46.835088][ T6589] bi_dev=0 [ 46.835096][ T6589] bi_data_checksum=0 [ 46.835103][ T6589] bi_compression=0 [ 46.835114][ T6589] bi_project=0 [ 46.835121][ T6589] bi_background_compression=0 [ 46.835129][ T6589] bi_data_replicas=0 [ 46.835136][ T6589] bi_promote_target=0 [ 46.835144][ T6589] bi_foreground_target=0 [ 46.835152][ T6589] bi_background_target=0 [ 46.835159][ T6589] bi_erasure_code=0 [ 46.835167][ T6589] bi_fields_set=0 [ 46.835174][ T6589] bi_dir=0 [ 46.835181][ T6589] bi_dir_offset=0 [ 46.835188][ T6589] bi_subvol=0 [ 46.835196][ T6589] bi_parent_subvol=0 [ 46.835203][ T6589] bi_nocow=0 [ 46.835210][ T6589] bi_depth=0 [ 46.835218][ T6589] bi_inodes_32bit=0 [ 46.835225][ T6589] bi_casefold=0, fixing [ 46.836622][ T6589] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.839257][ T6589] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.840057][ T6589] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.846303][ T6589] bcachefs (loop0): unreachable inode: [ 46.846315][ T6589] inum: 4100:4294967295 [ 46.846322][ T6589] mode=120777 [ 46.846330][ T6589] flags=(4300000) [ 46.846337][ T6589] journal_seq=20 [ 46.846345][ T6589] hash_seed=f4891abdd5c0cd85 [ 46.846352][ T6589] hash_type=siphash [ 46.846828][ T6589] bi_size=38 [ 46.846838][ T6589] bi_sectors=8 [ 46.846846][ T6589] bi_version=0 [ 46.846853][ T6589] bi_atime=2770562249 [ 46.846861][ T6589] bi_ctime=2780562352 [ 46.846868][ T6589] bi_mtime=2770562249 [ 46.846876][ T6589] bi_otime=2770562249 [ 46.846883][ T6589] bi_uid=0 [ 46.846891][ T6589] bi_gid=0 [ 46.846898][ T6589] bi_nlink=0 [ 46.846912][ T6589] bi_generation=0 [ 46.846920][ T6589] bi_dev=0 [ 46.846927][ T6589] bi_data_checksum=0 [ 46.846935][ T6589] bi_compression=0 [ 46.846942][ T6589] bi_project=0 [ 46.846949][ T6589] bi_background_compression=0 [ 46.846957][ T6589] bi_data_replicas=0 [ 46.846965][ T6589] bi_promote_target=0 [ 46.846972][ T6589] bi_foreground_target=0 [ 46.846980][ T6589] bi_background_target=0 [ 46.846987][ T6589] bi_erasure_code=0 [ 46.846995][ T6589] bi_fields_set=0 [ 46.847002][ T6589] bi_dir=0 [ 46.847010][ T6589] bi_dir_offset=0 [ 46.847017][ T6589] bi_subvol=0 [ 46.847024][ T6589] bi_parent_subvol=0 [ 46.847032][ T6589] bi_nocow=0 [ 46.847039][ T6589] bi_depth=0 [ 46.847046][ T6589] bi_inodes_32bit=0 [ 46.847054][ T6589] bi_casefold=0, fixing [ 46.847595][ T6589] bcachefs (loop0): unreachable inode: [ 46.847606][ T6589] inum: 536870913:4294967295 [ 46.847613][ T6589] mode=100755 [ 46.847621][ T6589] flags=(15300000) [ 46.847628][ T6589] journal_seq=21 [ 46.847636][ T6589] hash_seed=b68791a594a6d5ae [ 46.847643][ T6589] hash_type=siphash [ 46.847651][ T6589] bi_size=25769812776 [ 46.847658][ T6589] bi_sectors=24 [ 46.847666][ T6589] bi_version=0 [ 46.847673][ T6589] bi_atime=2780562352 [ 46.847680][ T6589] bi_ctime=2780562352 [ 46.847688][ T6589] bi_mtime=2780562352 [ 46.847695][ T6589] bi_otime=2780562352 [ 46.847703][ T6589] bi_uid=0 [ 46.847710][ T6589] bi_gid=0 [ 46.847717][ T6589] bi_nlink=1 [ 46.847725][ T6589] bi_generation=0 [ 46.847732][ T6589] bi_dev=0 [ 46.847739][ T6589] bi_data_checksum=0 [ 46.847747][ T6589] bi_compression=0 [ 46.847754][ T6589] bi_project=0 [ 46.847761][ T6589] bi_background_compression=0 [ 46.847769][ T6589] bi_data_replicas=0 [ 46.847777][ T6589] bi_promote_target=1 [ 46.847784][ T6589] bi_foreground_target=0 [ 46.847792][ T6589] bi_background_target=0 [ 46.847800][ T6589] bi_erasure_code=0 [ 46.847807][ T6589] bi_fields_set=0 [ 46.847822][ T6589] bi_dir=0 [ 46.847830][ T6589] bi_dir_offset=2695648408715017799 [ 46.847837][ T6589] bi_subvol=0 [ 46.847845][ T6589] bi_parent_subvol=0 [ 46.847852][ T6589] bi_nocow=0 [ 46.847859][ T6589] bi_depth=0 [ 46.847867][ T6589] bi_inodes_32bit=0 [ 46.847874][ T6589] bi_casefold=0, fixing [ 46.848378][ T6589] bcachefs (loop0): unreachable inode: [ 46.848388][ T6589] inum: 536870914:4294967295 [ 46.848396][ T6589] mode=100755 [ 46.848403][ T6589] flags=(15300000) [ 46.848411][ T6589] journal_seq=21 [ 46.848418][ T6589] hash_seed=d483206f1ed95abf [ 46.848426][ T6589] hash_type=siphash [ 46.848433][ T6589] bi_size=100 [ 46.848441][ T6589] bi_sectors=8 [ 46.848448][ T6589] bi_version=1126999418470400 [ 46.848456][ T6589] bi_atime=0 [ 46.848463][ T6589] bi_ctime=0 [ 46.848470][ T6589] bi_mtime=0 [ 46.848478][ T6589] bi_otime=2780562352 [ 46.848485][ T6589] bi_uid=2780562352 [ 46.848493][ T6589] bi_gid=0 [ 46.848500][ T6589] bi_nlink=2780562352 [ 46.848507][ T6589] bi_generation=0 [ 46.848515][ T6589] bi_dev=0 [ 46.848522][ T6589] bi_data_checksum=0 [ 46.848529][ T6589] bi_compression=0 [ 46.848537][ T6589] bi_project=0 [ 46.848544][ T6589] bi_background_compression=0 [ 46.848552][ T6589] bi_data_replicas=0 [ 46.848559][ T6589] bi_promote_target=0 [ 46.848567][ T6589] bi_foreground_target=0 [ 46.848575][ T6589] bi_background_target=0 [ 46.848582][ T6589] bi_erasure_code=0 [ 46.848590][ T6589] bi_fields_set=0 [ 46.848597][ T6589] bi_dir=0 [ 46.848604][ T6589] bi_dir_offset=9097378837824744618 [ 46.848612][ T6589] bi_subvol=0 [ 46.848619][ T6589] bi_parent_subvol=0 [ 46.848627][ T6589] bi_nocow=0 [ 46.848634][ T6589] bi_depth=0 [ 46.848641][ T6589] bi_inodes_32bit=0 [ 46.848649][ T6589] bi_casefold=0, fixing [ 46.849406][ T6589] done [ 46.849765][ T6589] bcachefs (loop0): check_subvolume_structure... done [ 46.850176][ T6589] bcachefs (loop0): check_directory_structure... [ 46.850398][ T6589] bcachefs (loop0): inode points to dirent that does not point back: [ 46.850398][ T6589] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 46.850398][ T6589] inum: 4097:4294967295 [ 46.850398][ T6589] mode=40700 [ 46.850398][ T6589] flags=has_case_insensitive(15300400) [ 46.850398][ T6589] journal_seq=21 [ 46.850398][ T6589] hash_seed=a9fcff247692d1ca [ 46.850398][ T6589] hash_type=siphash [ 46.850398][ T6589] bi_size=0 [ 46.850398][ T6589] bi_sectors=0 [ 46.850398][ T6589] bi_version=0 [ 46.850398][ T6589] bi_atime=200535484 [ 46.850398][ T6589] bi_ctime=200535484 [ 46.850398][ T6589] bi_mtime=200535484 [ 46.850398][ T6589] bi_otime=200535484 [ 46.850398][ T6589] bi_uid=0 [ 46.850398][ T6589] bi_gid=0 [ 46.850398][ T6589] bi_nlink=0 [ 46.850398][ T6589] bi_generation=0 [ 46.850398][ T6589] bi_dev=0 [ 46.850398][ T6589] bi_data_checksum=0 [ 46.850398][ T6589] bi_compression=0 [ 46.850398][ T6589] bi_project=0 [ 46.850398][ T6589] bi_background_compression=0 [ 46.850398][ T6589] bi_data_replicas=0 [ 46.850398][ T6589] bi_promote_target=0 [ 46.850398][ T6589] bi_foreground_target=0 [ 46.850398][ T6589] bi_background_target=0 [ 46.850398][ T6589] bi_erasure_code=0 [ 46.850398][ T6589] bi_fields_set=0 [ 46.850398][ T6589] bi_dir=4096 [ 46.850398][ T6589] bi_dir_offset=8130059955150870709 [ 46.850398][ T6589] bi_subvol=0 [ 46.850398][ T6589] bi_parent_subvol=0 [ 46.850398][ T6589] bi_nocow=0 [ 46.850398][ T6589] bi_depth=0 [ 46.850398][ T6589] bi_inodes_32bit=0 [ 46.850398][ T6589] bi_casefold=0 [ 46.850548][ T6589] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 46.850548][ T6589] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 46.850548][ T6589] mode=40700 [ 46.850548][ T6589] flags=has_case_insensitive(15300400) [ 46.850548][ T6589] journal_seq=21 [ 46.850548][ T6589] hash_seed=a9fcff247692d1ca [ 46.850548][ T6589] hash_type=siphash [ 46.850548][ T6589] bi_size=0 [ 46.850548][ T6589] bi_sectors=0 [ 46.850548][ T6589] bi_version=0 [ 46.850548][ T6589] bi_atime=200535484 [ 46.850548][ T6589] bi_ctime=200535484 [ 46.850548][ T6589] bi_mtime=200535484 [ 46.850548][ T6589] bi_otime=200535484 [ 46.850548][ T6589] bi_uid=0 [ 46.850548][ T6589] bi_gid=0 [ 46.850548][ T6589] bi_nlink=0 [ 46.850548][ T6589] bi_generation=0 [ 46.850548][ T6589] bi_dev=0 [ 46.850548][ T6589] bi_data_checksum=0 [ 46.850548][ T6589] bi_compression=0 [ 46.850548][ T6589] bi_project=0 [ 46.850548][ T6589] bi_background_compression=0 [ 46.850548][ T6589] bi_data_replicas=0 [ 46.850548][ T6589] bi_promote_target=0 [ 46.850548][ T6589] bi_foreground_target=0 [ 46.850548][ T6589] bi_background_target=0 [ 46.850548][ T6589] bi_erasure_code=0 [ 46.850548][ T6589] bi_fields_set=0 [ 46.850548][ T6589] bi_dir=4096 [ 46.850548][ T6589] bi_dir_offset=8130059955150870709 [ 46.850548][ T6589] bi_subvol=0 [ 46.850548][ T6589] bi_parent_subvol=0 [ 46.850548][ T6589] bi_nocow=0 [ 46.850548][ T6589] bi_depth=0 [ 46.850548][ T6589] bi_inodes_32bit=0 [ 46.850548][ T6589] bi_casefold=0 [ 46.850596][ T6589] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 46.850615][ T6589] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 46.850670][ T24] bcachefs (loop0): going read-only [ 46.850694][ T24] bcachefs (loop0): finished waiting for writes to stop [ 46.850764][ T6589] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 46.850789][ T6589] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 46.850807][ T6589] bcachefs (loop0): shutting down [ 46.916971][ T24] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 46.917017][ T24] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 46.917047][ T24] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 46.917907][ T24] bcachefs (loop0): done going read-only, filesystem not clean [ 46.924449][ T6589] bcachefs (loop0): shutdown complete