Warning: Permanently added '10.128.1.99' (ED25519) to the list of known hosts. executing program [ 37.488436][ T6515] loop0: detected capacity change from 0 to 32768 [ 37.562158][ 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.562158][ T6515] allowing incompatible features above 0.0: (unknown version) [ 37.562158][ 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.562241][ T6515] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 37.562765][ T6515] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 37.562904][ T6515] bcachefs (loop0): Version upgrade required: [ 37.562904][ T6515] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 37.562904][ T6515] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 37.562904][ 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.578011][ T6515] bcachefs (loop0): accounting_read... done [ 37.600170][ T6515] bcachefs (loop0): alloc_read... done [ 37.600858][ T6515] bcachefs (loop0): snapshots_read... done [ 37.601562][ T6515] bcachefs (loop0): check_allocations... [ 37.604981][ T6515] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 37.605042][ 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.606667][ T6515] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 37.606683][ 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.607505][ T6515] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 37.607519][ 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.608428][ T6515] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 37.608442][ 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.609991][ T6515] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 37.610006][ 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.610602][ T6515] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.610686][ T6515] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.610963][ T6515] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.611035][ T6515] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fix ** replaying previous printk message ** [ 37.611035][ T6515] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.611160][ T6515] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.611221][ T6515] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.611322][ T6515] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.611383][ T6515] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.611486][ T6515] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.611547][ T6515] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.611650][ T6515] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.611710][ T6515] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.611809][ T6515] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.611870][ T6515] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 37.611969][ T6515] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 37.612029][ T6515] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 37.612142][ T6515] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 37.612204][ T6515] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 37.615198][ T6515] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 37.615267][ T6515] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 37.615401][ T6515] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 37.615413][ T6515] Ratelimiting new instances of previous error [ 37.615495][ T6515] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 37.615507][ T6515] Ratelimiting new instances of previous error [ 37.620698][ T6515] done [ 37.622193][ T6515] bcachefs (loop0): going read-write [ 37.653503][ T6526] ODEBUG: object 00000000c20d263b is on stack 00000000db41e4c6, but NOT annotated. [ 37.654213][ T6526] ------------[ cut here ]------------ [ 37.654233][ T6526] WARNING: CPU: 0 PID: 6526 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 37.724895][ T6526] Modules linked in: [ 37.726668][ T6526] CPU: 0 UID: 0 PID: 6526 Comm: bch-copygc/loop Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 37.729991][ T6526] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 37.731089][ T6515] bcachefs (loop0): journal_replay... [ 37.732908][ T6526] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 37.736659][ T6526] pc : __debug_object_init+0x364/0x40c [ 37.738236][ T6526] lr : __debug_object_init+0x364/0x40c [ 37.739811][ T6526] sp : ffff8000a5c47700 [ 37.741028][ T6526] x29: ffff8000a5c47700 x28: 0000000000000000 x27: dfff800000000000 [ 37.743365][ T6526] x26: ffff800097693000 x25: ffff0000caba5ba0 x24: 0000000000000000 [ 37.745666][ T6526] x23: ffff0000d3919a80 x22: 0000000000000000 x21: ffff8000975eec00 [ 37.748000][ T6526] x20: ffff80008af70de0 x19: ffff8000a5c47bb0 x18: 00000000ffffffff [ 37.750302][ T6526] x17: ffff80009331f000 x16: ffff80008aec8e2c x15: 0000000000000001 [ 37.752555][ T6526] x14: 1ffff00014b88e58 x13: 0000000000000000 x12: 0000000000000000 [ 37.754556][ T6526] x11: ffff700014b88e59 x10: 0000000000ff0100 x9 : 95cddddf07d3d500 [ 37.756623][ T6526] x8 : 95cddddf07d3d500 x7 : 0000000000000001 x6 : 0000000000000001 [ 37.758895][ T6526] x5 : ffff8000a5c47098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 37.761168][ T6526] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 37.763483][ T6526] Call trace: [ 37.764435][ T6526] __debug_object_init+0x364/0x40c (P) [ 37.766021][ T6526] debug_object_init+0x20/0x2c [ 37.767315][ T6526] __init_work+0x58/0x68 [ 37.768515][ T6526] rhashtable_init_noprof+0x734/0xa10 [ 37.770064][ T6526] bch2_copygc_thread+0xec/0xd40 [ 37.771509][ T6526] kthread+0x5fc/0x75c [ 37.772705][ T6526] ret_from_fork+0x10/0x20 [ 37.774014][ T6526] irq event stamp: 28 [ 37.775141][ T6526] hardirqs last enabled at (27): [] get_random_u32+0x2d4/0x540 [ 37.777780][ T6526] hardirqs last disabled at (28): [] _raw_spin_lock_irqsave+0x2c/0x7c [ 37.780515][ T6526] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 37.783163][ T6526] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 37.785197][ T6526] ---[ end trace 0000000000000000 ]--- [ 37.818374][ T6515] done [ 37.819805][ T6515] bcachefs (loop0): check_alloc_info... done [ 37.824908][ T6515] bcachefs (loop0): check_lrus... done [ 37.827276][ T6515] bcachefs (loop0): check_btree_backpointers... done [ 37.830088][ T6515] bcachefs (loop0): check_backpointers_to_extents... done [ 37.834283][ T6515] bcachefs (loop0): check_extents_to_backpointers... [ 37.835072][ T6515] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 37.836572][ T6515] done [ 37.839656][ T6515] bcachefs (loop0): check_alloc_to_lru_refs... done [ 37.841824][ T6515] bcachefs (loop0): bucket_gens_init... done [ 37.847965][ T6515] bcachefs (loop0): check_snapshot_trees... done [ 37.848524][ T6515] bcachefs (loop0): check_snapshots... [ 37.848883][ T6515] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 37.848900][ T6515] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 37.853270][ T6515] done [ 37.854123][ T6515] bcachefs (loop0): check_subvols... done [ 37.855981][ T6515] bcachefs (loop0): check_subvol_children... done [ 37.856684][ T6515] bcachefs (loop0): delete_dead_snapshots... done [ 37.857224][ T6515] bcachefs (loop0): check_inodes... [ 37.858356][ T6515] bcachefs (loop0): inode points to missing dirent [ 37.858371][ T6515] inum: 4099:4294967295 [ 37.858381][ T6515] mode=100755 [ 37.858390][ T6515] flags=(15300000) [ 37.858399][ T6515] journal_seq=5 [ 37.858409][ T6515] hash_seed=fc917866faeb7b5b [ 37.858419][ T6515] hash_type=siphash [ 37.858428][ T6515] bi_size=1050 [ 37.858438][ T6515] bi_sectors=8 [ 37.858447][ T6515] bi_version=0 [ 37.858456][ T6515] bi_atime=2770562249 [ 37.858466][ T6515] bi_ctime=2770562249 [ 37.858475][ T6515] bi_mtime=2770562249 [ 37.858485][ T6515] bi_otime=2770562249 [ 37.858494][ T6515] bi_uid=0 [ 37.858504][ T6515] bi_gid=0 [ 37.858513][ T6515] bi_nlink=0 [ 37.858522][ T6515] bi_generation=0 [ 37.858531][ T6515] bi_dev=0 [ 37.858541][ T6515] bi_data_checksum=0 [ 37.858550][ T6515] bi_compression=0 [ 37.858560][ T6515] bi_project=0 [ 37.858569][ T6515] bi_background_compression=0 [ 37.858579][ T6515] bi_data_replicas=0 [ 37.858589][ T6515] bi_promote_target=0 [ 37.858598][ T6515] bi_foreground_target=0 [ 37.858608][ T6515] bi_background_target=0 [ 37.858617][ T6515] bi_erasure_code=0 [ 37.858627][ T6515] bi_fields_set=0 [ 37.858636][ T6515] bi_dir=4098 [ 37.858646][ T6515] bi_dir_offset=8977922886548783724 [ 37.858656][ T6515] bi_subvol=0 [ 37.858665][ T6515] bi_parent_subvol=0 [ 37.858674][ T6515] bi_nocow=0 [ 37.858684][ T6515] bi_depth=0 [ 37.858693][ T6515] bi_inodes_32bit=0 [ 37.858702][ T6515] bi_casefold=0, fixing [ 37.859292][ T6515] bcachefs (loop0): inode points to missing dirent [ 37.859305][ T6515] inum: 4100:4294967295 [ 37.859314][ T6515] mode=120777 [ 37.859324][ T6515] flags=(15300000) [ 37.859333][ T6515] journal_seq=4 [ 37.859343][ T6515] hash_seed=f4891abdd5c0cd85 [ 37.859352][ T6515] hash_type=siphash [ 37.859362][ T6515] bi_size=38 [ 37.859371][ T6515] bi_sectors=8 [ 37.859380][ T6515] bi_version=0 [ 37.859390][ T6515] bi_atime=2770562249 [ 37.859399][ T6515] bi_ctime=2780562352 [ 37.859409][ T6515] bi_mtime=2770562249 [ 37.859418][ T6515] bi_otime=2770562249 [ 37.859427][ T6515] bi_uid=0 [ 37.859437][ T6515] bi_gid=0 [ 37.859446][ T6515] bi_nlink=0 [ 37.859455][ T6515] bi_generation=0 [ 37.859464][ T6515] bi_dev=0 [ 37.859474][ T6515] bi_data_checksum=0 [ 37.859483][ T6515] bi_compression=0 [ 37.859492][ T6515] bi_project=0 [ 37.859502][ T6515] bi_background_compression=0 [ 37.859512][ T6515] bi_data_replicas=0 [ 37.859521][ T6515] bi_promote_target=0 [ 37.859530][ T6515] bi_foreground_target=0 [ 37.859540][ T6515] bi_background_target=0 [ 37.859550][ T6515] bi_erasure_code=0 [ 37.859559][ T6515] bi_fields_set=0 [ 37.859568][ T6515] bi_dir=4098 [ 37.859578][ T6515] bi_dir_offset=5675548428000973578 [ 37.859588][ T6515] bi_subvol=0 [ 37.859597][ T6515] bi_parent_subvol=0 [ 37.859607][ T6515] bi_nocow=0 [ 37.859616][ T6515] bi_depth=0 [ 37.859625][ T6515] bi_inodes_32bit=0 [ 37.859635][ T6515] bi_casefold=0, fixing [ 37.860634][ T6515] done [ 37.861467][ T6515] bcachefs (loop0): check_extents... done [ 37.867285][ T6515] bcachefs (loop0): check_indirect_extents... done [ 37.867847][ T6515] bcachefs (loop0): check_dirents... [ 37.868399][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.868413][ T6515] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 37.868473][ T6515] ================================================================== [ 37.868486][ T6515] BUG: KASAN: slab-out-of-bounds in bch2_dirent_init_name+0x28c/0x670 [ 37.868504][ T6515] Write of size 1985 at addr ffff0000d93d2041 by task syz-executor162/6515 [ 37.868520][ T6515] [ 37.868533][ T6515] CPU: 0 UID: 0 PID: 6515 Comm: syz-executor162 Tainted: G W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 37.868550][ T6515] Tainted: [W]=WARN [ 37.868554][ T6515] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 37.868561][ T6515] Call trace: [ 37.868564][ T6515] show_stack+0x2c/0x3c (C) [ 37.868580][ T6515] __dump_stack+0x30/0x40 [ 37.868595][ T6515] dump_stack_lvl+0xd8/0x12c [ 37.868607][ T6515] print_address_description+0xa8/0x254 [ 37.868621][ T6515] print_report+0x68/0x84 [ 37.868632][ T6515] kasan_report+0xb0/0x110 [ 37.868643][ T6515] kasan_check_range+0x264/0x2a4 [ 37.868654][ T6515] __asan_memset+0x34/0x64 [ 37.868665][ T6515] bch2_dirent_init_name+0x28c/0x670 [ 37.868675][ T6515] bch2_dirent_create_key+0x1b4/0x434 [ 37.868686][ T6515] bch2_check_dirents+0x1d1c/0x27ac [ 37.868700][ T6515] __bch2_run_recovery_passes+0x29c/0xd18 [ 37.868714][ T6515] bch2_run_recovery_passes+0x174/0x1f4 [ 37.868727][ T6515] bch2_fs_recovery+0x1db8/0x2fd4 [ 37.868740][ T6515] bch2_fs_start+0x914/0xbc0 [ 37.868754][ T6515] bch2_fs_get_tree+0x890/0xfd0 [ 37.868765][ T6515] vfs_get_tree+0x90/0x28c [ 37.868776][ T6515] do_new_mount+0x228/0x814 [ 37.868788][ T6515] path_mount+0x5b4/0xde0 [ 37.868798][ T6515] __arm64_sys_mount+0x3e8/0x468 [ 37.868809][ T6515] invoke_syscall+0x98/0x2b8 [ 37.868822][ T6515] el0_svc_common+0x130/0x23c [ 37.868835][ T6515] do_el0_svc+0x48/0x58 [ 37.868848][ T6515] el0_svc+0x58/0x17c [ 37.868861][ T6515] el0t_64_sync_handler+0x78/0x108 [ 37.868872][ T6515] el0t_64_sync+0x198/0x19c [ 37.868884][ T6515] [ 37.869022][ T6515] Allocated by task 6515: [ 37.869034][ T6515] kasan_save_track+0x40/0x78 [ 37.869052][ T6515] kasan_save_alloc_info+0x44/0x54 [ 37.869067][ T6515] __kasan_kmalloc+0x9c/0xb4 [ 37.869084][ T6515] __kmalloc_node_track_caller_noprof+0x304/0x4d0 [ 37.869099][ T6515] krealloc_noprof+0x11c/0x2f0 [ 37.869126][ T6515] __bch2_trans_kmalloc+0x1f4/0xb8c [ 37.869141][ T6515] bch2_trans_kmalloc+0x10c/0x160 [ 37.869155][ T6515] bch2_dirent_create_key+0x50/0x434 [ 37.869170][ T6515] bch2_check_dirents+0x1d1c/0x27ac [ 37.869187][ T6515] __bch2_run_recovery_passes+0x29c/0xd18 [ 37.869204][ T6515] bch2_run_recovery_passes+0x174/0x1f4 [ 37.869221][ T6515] bch2_fs_recovery+0x1db8/0x2fd4 [ 37.869238][ T6515] bch2_fs_start+0x914/0xbc0 [ 37.869254][ T6515] bch2_fs_get_tree+0x890/0xfd0 [ 37.869269][ T6515] vfs_get_tree+0x90/0x28c [ 37.869284][ T6515] do_new_mount+0x228/0x814 [ 37.869298][ T6515] path_mount+0x5b4/0xde0 [ 37.869312][ T6515] __arm64_sys_mount+0x3e8/0x468 [ 37.869327][ T6515] invoke_syscall+0x98/0x2b8 [ 37.869344][ T6515] el0_svc_common+0x130/0x23c [ 37.869361][ T6515] do_el0_svc+0x48/0x58 [ 37.869378][ T6515] el0_svc+0x58/0x17c [ 37.869392][ T6515] el0t_64_sync_handler+0x78/0x108 [ 37.869408][ T6515] el0t_64_sync+0x198/0x19c [ 37.869422][ T6515] [ 37.869431][ T6515] The buggy address belongs to the object at ffff0000d93d2000 [ 37.869431][ T6515] which belongs to the cache kmalloc-2k of size 2048 [ 37.869446][ T6515] The buggy address is located 65 bytes inside of [ 37.869446][ T6515] allocated 2048-byte region [ffff0000d93d2000, ffff0000d93d2800) [ 37.869464][ T6515] [ 37.869473][ T6515] The buggy address belongs to the physical page: [ 37.869484][ T6515] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1193d0 [ 37.869501][ T6515] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 37.869516][ T6515] flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) [ 37.869533][ T6515] page_type: f5(slab) [ 37.869549][ T6515] raw: 05ffc00000000040 ffff0000c0002000 dead000000000122 0000000000000000 [ 37.869565][ T6515] raw: 0000000000000000 0000000080080008 00000000f5000000 0000000000000000 [ 37.869581][ T6515] head: 05ffc00000000040 ffff0000c0002000 dead000000000122 0000000000000000 [ 37.869596][ T6515] head: 0000000000000000 0000000080080008 00000000f5000000 0000000000000000 [ 37.869612][ T6515] head: 05ffc00000000003 fffffdffc364f401 00000000ffffffff 00000000ffffffff [ 37.869627][ T6515] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 37.869639][ T6515] page dumped because: kasan: bad access detected [ 37.869649][ T6515] [ 37.869658][ T6515] Memory state around the buggy address: [ 37.869670][ T6515] ffff0000d93d2700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.869683][ T6515] ffff0000d93d2780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.869696][ T6515] >ffff0000d93d2800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.869707][ T6515] ^ [ 37.869719][ T6515] ffff0000d93d2880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.869732][ T6515] ffff0000d93d2900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.869743][ T6515] ================================================================== [ 37.869756][ T6515] Disabling lock debugging due to kernel taint [ 37.870035][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.870046][ T6515] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 37.870236][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.870247][ T6515] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 37.870397][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.870407][ T6515] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 37.870570][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.870580][ T6515] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 37.870736][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 37.870746][ T6515] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 37.870900][ T6515] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 37.871367][ T6515] done [ 37.871716][ T6515] bcachefs (loop0): check_xattrs... done [ 37.874921][ T6515] bcachefs (loop0): check_root... done [ 37.876528][ T6515] bcachefs (loop0): check_unreachable_inodes... [ 37.877077][ T6515] bcachefs (loop0): unreachable inode: [ 37.877087][ T6515] inum: 4099:4294967295 [ 37.877095][ T6515] mode=100755 [ 37.877118][ T6515] flags=(4300000) [ 37.877128][ T6515] journal_seq=22 [ 37.877135][ T6515] hash_seed=fc917866faeb7b5b [ 37.877143][ T6515] hash_type=siphash [ 37.877150][ T6515] bi_size=1050 [ 37.877158][ T6515] bi_sectors=8 [ 37.877165][ T6515] bi_version=0 [ 37.877172][ T6515] bi_atime=2770562249 [ 37.877180][ T6515] bi_ctime=2770562249 [ 37.877187][ T6515] bi_mtime=2770562249 [ 37.877195][ T6515] bi_otime=2770562249 [ 37.877202][ T6515] bi_uid=0 [ 37.877209][ T6515] bi_gid=0 [ 37.877216][ T6515] bi_nlink=0 [ 37.877224][ T6515] bi_generation=0 [ 37.877231][ T6515] bi_dev=0 [ 37.877238][ T6515] bi_data_checksum=0 [ 37.877246][ T6515] bi_compression=0 [ 37.877253][ T6515] bi_project=0 [ 37.877260][ T6515] bi_background_compression=0 [ 37.877268][ T6515] bi_data_replicas=0 [ 37.877275][ T6515] bi_promote_target=0 [ 37.877283][ T6515] bi_foreground_target=0 [ 37.877290][ T6515] bi_background_target=0 [ 37.877298][ T6515] bi_erasure_code=0 [ 37.877305][ T6515] bi_fields_set=0 [ 37.877313][ T6515] bi_dir=0 [ 37.877320][ T6515] bi_dir_offset=0 [ 37.877327][ T6515] bi_subvol=0 [ 37.877335][ T6515] bi_parent_subvol=0 [ 37.877342][ T6515] bi_nocow=0 [ 37.877349][ T6515] bi_depth=0 [ 37.877356][ T6515] bi_inodes_32bit=0 [ 37.877364][ T6515] bi_casefold=0, fixing [ 37.878605][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 37.884449][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 37.885285][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 37.889736][ T6515] bcachefs (loop0): unreachable inode: [ 37.889749][ T6515] inum: 4100:4294967295 [ 37.889757][ T6515] mode=120777 [ 37.889764][ T6515] flags=(4300000) [ 37.889772][ T6515] journal_seq=22 [ 37.889779][ T6515] hash_seed=f4891abdd5c0cd85 [ 37.889787][ T6515] hash_type=siphash [ 37.889794][ T6515] bi_size=38 [ 37.889802][ T6515] bi_sectors=8 [ 37.889809][ T6515] bi_version=0 [ 37.889816][ T6515] bi_atime=2770562249 [ 37.889824][ T6515] bi_ctime=2780562352 [ 37.889831][ T6515] bi_mtime=2770562249 [ 37.889839][ T6515] bi_otime=2770562249 [ 37.889846][ T6515] bi_uid=0 [ 37.889853][ T6515] bi_gid=0 [ 37.889861][ T6515] bi_nlink=0 [ 37.889868][ T6515] bi_generation=0 [ 37.889875][ T6515] bi_dev=0 [ 37.889882][ T6515] bi_data_checksum=0 [ 37.889890][ T6515] bi_compression=0 [ 37.889897][ T6515] bi_project=0 [ 37.889904][ T6515] bi_background_compression=0 [ 37.889912][ T6515] bi_data_replicas=0 [ 37.889920][ T6515] bi_promote_target=0 [ 37.889927][ T6515] bi_foreground_target=0 [ 37.889935][ T6515] bi_background_target=0 [ 37.889942][ T6515] bi_erasure_code=0 [ 37.889950][ T6515] bi_fields_set=0 [ 37.889957][ T6515] bi_dir=0 [ 37.889965][ T6515] bi_dir_offset=0 [ 37.889972][ T6515] bi_subvol=0 [ 37.889979][ T6515] bi_parent_subvol=0 [ 37.889987][ T6515] bi_nocow=0 [ 37.889994][ T6515] bi_depth=0 [ 37.890001][ T6515] bi_inodes_32bit=0 [ 37.890009][ T6515] bi_casefold=0, fixing [ 37.890581][ T6515] bcachefs (loop0): unreachable inode: [ 37.890591][ T6515] inum: 536870913:4294967295 [ 37.890599][ T6515] mode=100755 [ 37.890606][ T6515] flags=(15300000) [ 37.890613][ T6515] journal_seq=23 [ 37.890621][ T6515] hash_seed=b68791a594a6d5ae [ 37.890629][ T6515] hash_type=siphash [ 37.890636][ T6515] bi_size=25769812776 [ 37.890644][ T6515] bi_sectors=24 [ 37.890651][ T6515] bi_version=0 [ 37.890658][ T6515] bi_atime=2780562352 [ 37.890666][ T6515] bi_ctime=2780562352 [ 37.890673][ T6515] bi_mtime=2780562352 [ 37.890681][ T6515] bi_otime=2780562352 [ 37.890688][ T6515] bi_uid=0 [ 37.890695][ T6515] bi_gid=0 [ 37.890703][ T6515] bi_nlink=1 [ 37.890710][ T6515] bi_generation=0 [ 37.890717][ T6515] bi_dev=0 [ 37.890725][ T6515] bi_data_checksum=0 [ 37.890732][ T6515] bi_compression=0 [ 37.890739][ T6515] bi_project=0 [ 37.890747][ T6515] bi_background_compression=0 [ 37.890755][ T6515] bi_data_replicas=0 [ 37.890762][ T6515] bi_promote_target=1 [ 37.890769][ T6515] bi_foreground_target=0 [ 37.890777][ T6515] bi_background_target=0 [ 37.890785][ T6515] bi_erasure_code=0 [ 37.890792][ T6515] bi_fields_set=0 [ 37.890800][ T6515] bi_dir=0 [ 37.890807][ T6515] bi_dir_offset=2695648408715017799 [ 37.890815][ T6515] bi_subvol=0 [ 37.890822][ T6515] bi_parent_subvol=0 [ 37.890829][ T6515] bi_nocow=0 [ 37.890837][ T6515] bi_depth=0 [ 37.890844][ T6515] bi_inodes_32bit=0 [ 37.890852][ T6515] bi_casefold=0, fixing [ 37.891361][ T6515] bcachefs (loop0): unreachable inode: [ 37.891371][ T6515] inum: 536870914:4294967295 [ 37.891378][ T6515] mode=100755 [ 37.891386][ T6515] flags=(15300000) [ 37.891393][ T6515] journal_seq=23 [ 37.891401][ T6515] hash_seed=d483206f1ed95abf [ 37.891408][ T6515] hash_type=siphash [ 37.891416][ T6515] bi_size=100 [ 37.891423][ T6515] bi_sectors=8 [ 37.891430][ T6515] bi_version=1126999418470400 [ 37.891438][ T6515] bi_atime=0 [ 37.891445][ T6515] bi_ctime=0 [ 37.891452][ T6515] bi_mtime=0 [ 37.891460][ T6515] bi_otime=2780562352 [ 37.891467][ T6515] bi_uid=2780562352 [ 37.891475][ T6515] bi_gid=0 [ 37.891482][ T6515] bi_nlink=2780562352 [ 37.891489][ T6515] bi_generation=0 [ 37.891497][ T6515] bi_dev=0 [ 37.891504][ T6515] bi_data_checksum=0 [ 37.891511][ T6515] bi_compression=0 [ 37.891519][ T6515] bi_project=0 [ 37.891526][ T6515] bi_background_compression=0 [ 37.891534][ T6515] bi_data_replicas=0 [ 37.891541][ T6515] bi_promote_target=0 [ 37.891549][ T6515] bi_foreground_target=0 [ 37.891556][ T6515] bi_background_target=0 [ 37.891564][ T6515] bi_erasure_code=0 [ 37.891571][ T6515] bi_fields_set=0 [ 37.891579][ T6515] bi_dir=0 [ 37.891586][ T6515] bi_dir_offset=9097378837824744618 [ 37.891594][ T6515] bi_subvol=0 [ 37.891601][ T6515] bi_parent_subvol=0 [ 37.891609][ T6515] bi_nocow=0 [ 37.891616][ T6515] bi_depth=0 [ 37.891623][ T6515] bi_inodes_32bit=0 [ 37.891630][ T6515] bi_casefold=0, fixing [ 37.897068][ T6515] done [ 37.898910][ T6515] bcachefs (loop0): check_subvolume_structure... done [ 37.899345][ T6515] bcachefs (loop0): check_directory_structure... [ 37.899622][ T6515] bcachefs (loop0): inode points to dirent that does not point back: [ 37.899622][ T6515] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 37.899622][ T6515] inum: 4097:4294967295 [ 37.899622][ T6515] mode=40700 [ 37.899622][ T6515] flags=has_case_insensitive(15300400) [ 37.899622][ T6515] journal_seq=23 [ 37.899622][ T6515] hash_seed=a9fcff247692d1ca [ 37.899622][ T6515] hash_type=siphash [ 37.899622][ T6515] bi_size=0 [ 37.899622][ T6515] bi_sectors=0 [ 37.899622][ T6515] bi_version=0 [ 37.899622][ T6515] bi_atime=200535484 [ 37.899622][ T6515] bi_ctime=200535484 [ 37.899622][ T6515] bi_mtime=200535484 [ 37.899622][ T6515] bi_otime=200535484 [ 37.899622][ T6515] bi_uid=0 [ 37.899622][ T6515] bi_gid=0 [ 37.899622][ T6515] bi_nlink=0 [ 37.899622][ T6515] bi_generation=0 [ 37.899622][ T6515] bi_dev=0 [ 37.899622][ T6515] bi_data_checksum=0 [ 37.899622][ T6515] bi_compression=0 [ 37.899622][ T6515] bi_project=0 [ 37.899622][ T6515] bi_background_compression=0 [ 37.899622][ T6515] bi_data_replicas=0 [ 37.899622][ T6515] bi_promote_target=0 [ 37.899622][ T6515] bi_foreground_target=0 [ 37.899622][ T6515] bi_background_target=0 [ 37.899622][ T6515] bi_erasure_code=0 [ 37.899622][ T6515] bi_fields_set=0 [ 37.899622][ T6515] bi_dir=4096 [ 37.899622][ T6515] bi_dir_offset=8130059955150870709 [ 37.899622][ T6515] bi_subvol=0 [ 37.899622][ T6515] bi_parent_subvol=0 [ 37.899622][ T6515] bi_nocow=0 [ 37.899622][ T6515] bi_depth=0 [ 37.899622][ T6515] bi_inodes_32bit=0 [ 37.899622][ T6515] bi_casefold=0 [ 37.899799][ T6515] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 37.899799][ T6515] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 37.899799][ T6515] mode=40700 [ 37.899799][ T6515] flags=has_case_insensitive(15300400) [ 37.899799][ T6515] journal_seq=23 [ 37.899799][ T6515] hash_seed=a9fcff247692d1ca [ 37.899799][ T6515] hash_type=siphash [ 37.899799][ T6515] bi_size=0 [ 37.899799][ T6515] bi_sectors=0 [ 37.899799][ T6515] bi_version=0 [ 37.899799][ T6515] bi_atime=200535484 [ 37.899799][ T6515] bi_ctime=200535484 [ 37.899799][ T6515] bi_mtime=200535484 [ 37.899799][ T6515] bi_otime=200535484 [ 37.899799][ T6515] bi_uid=0 [ 37.899799][ T6515] bi_gid=0 [ 37.899799][ T6515] bi_nlink=0 [ 37.899799][ T6515] bi_generation=0 [ 37.899799][ T6515] bi_dev=0 [ 37.899799][ T6515] bi_data_checksum=0 [ 37.899799][ T6515] bi_compression=0 [ 37.899799][ T6515] bi_project=0 [ 37.899799][ T6515] bi_background_compression=0 [ 37.899799][ T6515] bi_data_replicas=0 [ 37.899799][ T6515] bi_promote_target=0 [ 37.899799][ T6515] bi_foreground_target=0 [ 37.899799][ T6515] bi_background_target=0 [ 37.899799][ T6515] bi_erasure_code=0 [ 37.899799][ T6515] bi_fields_set=0 [ 37.899799][ T6515] bi_dir=4096 [ 37.899799][ T6515] bi_dir_offset=8130059955150870709 [ 37.899799][ T6515] bi_subvol=0 [ 37.899799][ T6515] bi_parent_subvol=0 [ 37.899799][ T6515] bi_nocow=0 [ 37.899799][ T6515] bi_depth=0 [ 37.899799][ T6515] bi_inodes_32bit=0 [ 37.899799][ T6515] bi_casefold=0 [ 37.899849][ T6515] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 37.899868][ T6515] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 37.899925][ T6515] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 24 [ 37.899952][ T6515] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 37.899970][ T6515] bcachefs (loop0): shutting down [ 37.899985][ T6515] bcachefs (loop0): going read-only [ 37.900010][ T6515] bcachefs (loop0): finished waiting for writes to stop [ 37.932747][ T6515] bcachefs (loop0): flushing journal and stopping allocators, journal seq 24 [ 37.932792][ T6515] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 24 [ 37.932962][ T6515] bcachefs (loop0): unclean shutdown complete, journal seq 24 [ 37.933880][ T6515] bcachefs (loop0): done going read-only, filesystem not clean [ 37.940430][ T6515] bcachefs (loop0): shutdown complete [ 39.133661][ T6515] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 39.261030][ T6530] loop0: detected capacity change from 0 to 32768 [ 39.300698][ T6530] 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.300698][ T6530] allowing incompatible features above 0.0: (unknown version) [ 39.300698][ T6530] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 39.300768][ T6530] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 39.300858][ T6530] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 39.304938][ T6530] bcachefs (loop0): Version upgrade required: [ 39.304938][ T6530] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 39.304938][ T6530] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 39.304938][ T6530] 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.317305][ T6530] bcachefs (loop0): accounting_read... done [ 39.317766][ T6530] bcachefs (loop0): alloc_read... done [ 39.318206][ T6530] bcachefs (loop0): snapshots_read... done [ 39.318603][ T6530] bcachefs (loop0): check_allocations... [ 39.319421][ T6530] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 39.319435][ T6530] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN dur ** replaying previous printk message ** [ 39.319435][ T6530] 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.320329][ T6530] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 39.320342][ T6530] 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.320929][ T6530] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 39.320942][ T6530] 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.321601][ T6530] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 39.321613][ T6530] 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.324143][ T6530] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 39.324157][ T6530] 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.324636][ T6530] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.324686][ T6530] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.324830][ T6530] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.324881][ T6530] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.324962][ T6530] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.325011][ T6530] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.325089][ T6530] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.325147][ T6530] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.325232][ T6530] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.325285][ T6530] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.325372][ T6530] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.325421][ T6530] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.325499][ T6530] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.325549][ T6530] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 39.325626][ T6530] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 39.325675][ T6530] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 39.325754][ T6530] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 39.325804][ T6530] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 39.325896][ T6530] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 39.325946][ T6530] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 39.326033][ T6530] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 39.326044][ T6530] Ratelimiting new instances of previous error [ 39.326111][ T6530] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 39.326121][ T6530] Ratelimiting new instances of previous error [ 39.329823][ T6530] done [ 39.330804][ T6530] bcachefs (loop0): going read-write [ 39.349290][ T6539] ODEBUG: object 000000005d498f81 is on stack 00000000ea97348e, but NOT annotated. [ 39.349658][ T6539] ------------[ cut here ]------------ [ 39.349669][ T6539] WARNING: CPU: 1 PID: 6539 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 39.459764][ T6539] Modules linked in: [ 39.460877][ T6539] CPU: 1 UID: 0 PID: 6539 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 39.462467][ T6530] bcachefs (loop0): journal_replay... [ 39.464534][ T6539] Tainted: [B]=BAD_PAGE, [W]=WARN [ 39.467448][ T6539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 39.470208][ T6539] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 39.472384][ T6539] pc : __debug_object_init+0x364/0x40c [ 39.473936][ T6539] lr : __debug_object_init+0x364/0x40c [ 39.475418][ T6539] sp : ffff8000a3dc7700 ** replaying previous printk message ** [ 39.475535][ T6530] done [ 39.478373][ T6539] x29: ffff8000a3dc7700 x28: 0000000000000001 x27: dfff800000000000 [ 39.478524][ T6530] bcachefs (loop0): check_alloc_info... [ 39.480595][ T6539] x26: ffff800097693000 ** replaying previous printk message ** [ 39.480794][ T6530] done [ 39.485050][ T6530] bcachefs (loop0): check_lrus... [ 39.485065][ T6539] x25: ffff0000d9943d20 ** replaying previous printk message ** [ 39.485478][ T6530] done [ 39.489436][ T6530] bcachefs (loop0): check_btree_backpointers... [ 39.489446][ T6539] x24: 0000000000000000 [ 39.491619][ T6530] done [ 39.493095][ T6539] x23: ffff0000d0307e70 x22: 0000000000000000 x21: ffff80009757e448 [ 39.495360][ T6539] x20: ffff80008af70de0 x19: ffff8000a3dc7bb0 x18: 1fffe000337e1476 [ 39.497647][ T6539] x17: 7562202c65383433 x16: ffff80008aec8e2c x15: 0000000000000001 [ 39.499890][ T6539] x14: 1ffff000147b8e58 x13: 0000000000000000 x12: 0000000000000000 [ 39.502130][ T6539] x11: ffff7000147b8e59 x10: 0000000000ff0100 x9 : 0534398dac571300 [ 39.504369][ T6539] x8 : 0534398dac571300 x7 : 0000000000000001 x6 : 0000000000000001 [ 39.506647][ T6539] x5 : ffff8000a3dc7098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 39.508831][ T6539] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 39.511042][ T6539] Call trace: [ 39.511993][ T6539] __debug_object_init+0x364/0x40c (P) [ 39.513565][ T6539] debug_object_init+0x20/0x2c [ 39.514853][ T6539] __init_work+0x58/0x68 [ 39.516006][ T6539] rhashtable_init_noprof+0x734/0xa10 [ 39.517561][ T6539] bch2_copygc_thread+0xec/0xd40 [ 39.518907][ T6539] kthread+0x5fc/0x75c [ 39.520143][ T6539] ret_from_fork+0x10/0x20 [ 39.521462][ T6539] irq event stamp: 0 [ 39.522615][ T6539] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 39.524642][ T6539] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 39.527214][ T6539] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 39.529716][ T6539] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 39.531654][ T6539] ---[ end trace 0000000000000000 ]--- [ 39.533763][ T6530] bcachefs (loop0): check_backpointers_to_extents... done [ 39.537241][ T6530] bcachefs (loop0): check_extents_to_backpointers... [ 39.537785][ T6530] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 39.540446][ T6530] done [ 39.540765][ T6530] bcachefs (loop0): check_alloc_to_lru_refs... done [ 39.541936][ T6530] bcachefs (loop0): bucket_gens_init... done [ 39.546016][ T6530] bcachefs (loop0): check_snapshot_trees... done [ 39.546389][ T6530] bcachefs (loop0): check_snapshots... [ 39.546586][ T6530] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 39.546597][ T6530] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 39.550285][ T6530] done [ 39.550744][ T6530] bcachefs (loop0): check_subvols... done [ 39.551927][ T6530] bcachefs (loop0): check_subvol_children... done [ 39.553026][ T6530] bcachefs (loop0): delete_dead_snapshots... done [ 39.553480][ T6530] bcachefs (loop0): check_inodes... [ 39.554292][ T6530] bcachefs (loop0): inode points to missing dirent [ 39.554303][ T6530] inum: 4099:4294967295 [ 39.554311][ T6530] mode=100755 [ 39.554319][ T6530] flags=(15300000) [ 39.554326][ T6530] journal_seq=5 [ 39.554334][ T6530] hash_seed=fc917866faeb7b5b [ 39.554341][ T6530] hash_type=siphash [ 39.554349][ T6530] bi_size=1050 [ 39.554356][ T6530] bi_sectors=8 [ 39.554364][ T6530] bi_version=0 [ 39.554371][ T6530] bi_atime=2770562249 [ 39.554379][ T6530] bi_ctime=2770562249 [ 39.554386][ T6530] bi_mtime=2770562249 [ 39.554394][ T6530] bi_otime=2770562249 [ 39.554401][ T6530] bi_uid=0 [ 39.554408][ T6530] bi_gid=0 [ 39.554416][ T6530] bi_nlink=0 [ 39.554423][ T6530] bi_generation=0 [ 39.554431][ T6530] bi_dev=0 [ 39.554438][ T6530] bi_data_checksum=0 [ 39.554446][ T6530] bi_compression=0 [ 39.554453][ T6530] bi_project=0 [ 39.554461][ T6530] bi_background_compression=0 [ 39.554469][ T6530] bi_data_replicas=0 [ 39.554476][ T6530] bi_promote_target=0 [ 39.554484][ T6530] bi_foreground_target=0 [ 39.554492][ T6530] bi_background_target=0 [ 39.554499][ T6530] bi_erasure_code=0 [ 39.554507][ T6530] bi_fields_set=0 [ 39.554515][ T6530] bi_dir=4098 [ 39.554522][ T6530] bi_dir_offset=8977922886548783724 [ 39.554530][ T6530] bi_subvol=0 [ 39.554537][ T6530] bi_parent_subvol=0 [ 39.554545][ T6530] bi_nocow=0 [ 39.554552][ T6530] bi_depth=0 [ 39.554559][ T6530] bi_inodes_32bit=0 [ 39.554567][ T6530] bi_casefold=0, fixing [ 39.555000][ T6530] bcachefs (loop0): inode points to missing dirent [ 39.555010][ T6530] inum: 4100:4294967295 [ 39.555018][ T6530] mode=120777 [ 39.555026][ T6530] flags=(15300000) [ 39.555033][ T6530] journal_seq=4 [ 39.555040][ T6530] hash_seed=f4891abdd5c0cd85 [ 39.555048][ T6530] hash_type=siphash [ 39.555056][ T6530] bi_size=38 [ 39.555063][ T6530] bi_sectors=8 [ 39.555070][ T6530] bi_version=0 [ 39.555078][ T6530] bi_atime=2770562249 [ 39.555085][ T6530] bi_ctime=2780562352 [ 39.555093][ T6530] bi_mtime=2770562249 [ 39.555100][ T6530] bi_otime=2770562249 [ 39.555119][ T6530] bi_uid=0 [ 39.555126][ T6530] bi_gid=0 [ 39.555133][ T6530] bi_nlink=0 [ 39.555141][ T6530] bi_generation=0 [ 39.555148][ T6530] bi_dev=0 [ 39.555156][ T6530] bi_data_checksum=0 [ 39.555163][ T6530] bi_compression=0 [ 39.555171][ T6530] bi_project=0 [ 39.555178][ T6530] bi_background_compression=0 [ 39.555186][ T6530] bi_data_replicas=0 [ 39.555194][ T6530] bi_promote_target=0 [ 39.555201][ T6530] bi_foreground_target=0 [ 39.555209][ T6530] bi_background_target=0 [ 39.555216][ T6530] bi_erasure_code=0 [ 39.555224][ T6530] bi_fields_set=0 [ 39.555231][ T6530] bi_dir=4098 [ 39.555239][ T6530] bi_dir_offset=5675548428000973578 [ 39.555247][ T6530] bi_subvol=0 [ 39.555254][ T6530] bi_parent_subvol=0 [ 39.555261][ T6530] bi_nocow=0 [ 39.555269][ T6530] bi_depth=0 [ 39.555276][ T6530] bi_inodes_32bit=0 [ 39.555284][ T6530] bi_casefold=0, fixing [ 39.555972][ T6530] done [ 39.556331][ T6530] bcachefs (loop0): check_extents... done [ 39.557130][ T6530] bcachefs (loop0): check_indirect_extents... done [ 39.557545][ T6530] bcachefs (loop0): check_dirents... [ 39.557922][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.557933][ T6530] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 39.558242][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.558253][ T6530] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 39.558432][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.558443][ T6530] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 39.558597][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.558608][ T6530] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 39.558789][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.558799][ T6530] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 39.558965][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.558975][ T6530] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 39.559141][ T6530] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 39.559586][ T6530] done [ 39.559944][ T6530] bcachefs (loop0): check_xattrs... done [ 39.560702][ T6530] bcachefs (loop0): check_root... done [ 39.561211][ T6530] bcachefs (loop0): check_unreachable_inodes... [ 39.561684][ T6530] bcachefs (loop0): unreachable inode: [ 39.561695][ T6530] inum: 4099:4294967295 [ 39.561702][ T6530] mode=100755 [ 39.561710][ T6530] flags=(4300000) [ 39.561717][ T6530] journal_seq=22 [ 39.561725][ T6530] hash_seed=fc917866faeb7b5b [ 39.561733][ T6530] hash_type=siphash [ 39.561740][ T6530] bi_size=1050 [ 39.561747][ T6530] bi_sectors=8 [ 39.561755][ T6530] bi_version=0 [ 39.561762][ T6530] bi_atime=2770562249 [ 39.561769][ T6530] bi_ctime=2770562249 [ 39.561777][ T6530] bi_mtime=2770562249 [ 39.561785][ T6530] bi_otime=2770562249 [ 39.561792][ T6530] bi_uid=0 [ 39.561800][ T6530] bi_gid=0 [ 39.561807][ T6530] bi_nlink=0 [ 39.561814][ T6530] bi_generation=0 [ 39.561822][ T6530] bi_dev=0 [ 39.561829][ T6530] bi_data_checksum=0 [ 39.561836][ T6530] bi_compression=0 [ 39.561844][ T6530] bi_project=0 [ 39.561851][ T6530] bi_background_compression=0 [ 39.561859][ T6530] bi_data_replicas=0 [ 39.561866][ T6530] bi_promote_target=0 [ 39.561874][ T6530] bi_foreground_target=0 [ 39.561882][ T6530] bi_background_target=0 [ 39.561889][ T6530] bi_erasure_code=0 [ 39.561897][ T6530] bi_fields_set=0 [ 39.561904][ T6530] bi_dir=0 [ 39.561911][ T6530] bi_dir_offset=0 [ 39.561919][ T6530] bi_subvol=0 [ 39.561926][ T6530] bi_parent_subvol=0 [ 39.561934][ T6530] bi_nocow=0 [ 39.561941][ T6530] bi_depth=0 [ 39.561948][ T6530] bi_inodes_32bit=0 [ 39.561956][ T6530] bi_casefold=0, fixing [ 39.573419][ T6530] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.574846][ T6530] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.575681][ T6530] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.579702][ T6530] bcachefs (loop0): unreachable inode: [ 39.579715][ T6530] inum: 4100:4294967295 [ 39.579723][ T6530] mode=120777 [ 39.579730][ T6530] flags=(4300000) [ 39.579737][ T6530] journal_seq=22 [ 39.579745][ T6530] hash_seed=f4891abdd5c0cd85 [ 39.579753][ T6530] hash_type=siphash [ 39.579760][ T6530] bi_size=38 [ 39.579767][ T6530] bi_sectors=8 [ 39.579774][ T6530] bi_version=0 [ 39.579782][ T6530] bi_atime=2770562249 [ 39.579789][ T6530] bi_ctime=2780562352 [ 39.579797][ T6530] bi_mtime=2770562249 [ 39.579804][ T6530] bi_otime=2770562249 [ 39.579812][ T6530] bi_uid=0 [ 39.579819][ T6530] bi_gid=0 [ 39.579826][ T6530] bi_nlink=0 [ 39.579834][ T6530] bi_generation=0 [ 39.579841][ T6530] bi_dev=0 [ 39.579848][ T6530] bi_data_checksum=0 [ 39.579856][ T6530] bi_compression=0 [ 39.579863][ T6530] bi_project=0 [ 39.579870][ T6530] bi_background_compression=0 [ 39.579878][ T6530] bi_data_replicas=0 [ 39.579886][ T6530] bi_promote_target=0 [ 39.579893][ T6530] bi_foreground_target=0 [ 39.579901][ T6530] bi_background_target=0 [ 39.579909][ T6530] bi_erasure_code=0 [ 39.579916][ T6530] bi_fields_set=0 [ 39.579924][ T6530] bi_dir=0 [ 39.579931][ T6530] bi_dir_offset=0 [ 39.579938][ T6530] bi_subvol=0 [ 39.579946][ T6530] bi_parent_subvol=0 [ 39.579953][ T6530] bi_nocow=0 [ 39.579960][ T6530] bi_depth=0 [ 39.579968][ T6530] bi_inodes_32bit=0 [ 39.579975][ T6530] bi_casefold=0, fixing [ 39.580544][ T6530] bcachefs (loop0): unreachable inode: [ 39.580555][ T6530] inum: 536870913:4294967295 [ 39.580562][ T6530] mode=100755 [ 39.580570][ T6530] flags=(15300000) [ 39.580577][ T6530] journal_seq=23 [ 39.580585][ T6530] hash_seed=b68791a594a6d5ae [ 39.580592][ T6530] hash_type=siphash [ 39.580600][ T6530] bi_size=25769812776 [ 39.580607][ T6530] bi_sectors=24 [ 39.580615][ T6530] bi_version=0 [ 39.580622][ T6530] bi_atime=2780562352 [ 39.580630][ T6530] bi_ctime=2780562352 [ 39.580637][ T6530] bi_mtime=2780562352 [ 39.580645][ T6530] bi_otime=2780562352 [ 39.580652][ T6530] bi_uid=0 [ 39.580660][ T6530] bi_gid=0 [ 39.580667][ T6530] bi_nlink=1 [ 39.580674][ T6530] bi_generation=0 [ 39.580682][ T6530] bi_dev=0 [ 39.580689][ T6530] bi_data_checksum=0 [ 39.580697][ T6530] bi_compression=0 [ 39.580704][ T6530] bi_project=0 [ 39.580711][ T6530] bi_background_compression=0 [ 39.580719][ T6530] bi_data_replicas=0 [ 39.580727][ T6530] bi_promote_target=1 [ 39.580734][ T6530] bi_foreground_target=0 [ 39.580742][ T6530] bi_background_target=0 [ 39.580749][ T6530] bi_erasure_code=0 [ 39.580757][ T6530] bi_fields_set=0 [ 39.580764][ T6530] bi_dir=0 [ 39.580772][ T6530] bi_dir_offset=2695648408715017799 [ 39.580780][ T6530] bi_subvol=0 [ 39.580787][ T6530] bi_parent_subvol=0 [ 39.580794][ T6530] bi_nocow=0 [ 39.580802][ T6530] bi_depth=0 [ 39.580809][ T6530] bi_inodes_32bit=0 [ 39.580817][ T6530] bi_casefold=0, fixing [ 39.581354][ T6530] bcachefs (loop0): unreachable inode: [ 39.581366][ T6530] inum: 536870914:4294967295 [ 39.581374][ T6530] mode=100755 [ 39.581381][ T6530] flags=(15300000) [ 39.581389][ T6530] journal_seq=23 [ 39.581401][ T6530] hash_seed=d483206f1ed95abf [ 39.581409][ T6530] hash_type=siphash [ 39.581416][ T6530] bi_size=100 [ 39.581424][ T6530] bi_sectors=8 [ 39.581431][ T6530] bi_version=1126999418470400 [ 39.581439][ T6530] bi_atime=0 [ 39.581446][ T6530] bi_ctime=0 [ 39.581453][ T6530] bi_mtime=0 [ 39.581461][ T6530] bi_otime=2780562352 [ 39.581468][ T6530] bi_uid=2780562352 [ 39.581476][ T6530] bi_gid=0 [ 39.581483][ T6530] bi_nlink=2780562352 [ 39.581490][ T6530] bi_generation=0 [ 39.581498][ T6530] bi_dev=0 [ 39.581505][ T6530] bi_data_checksum=0 [ 39.581512][ T6530] bi_compression=0 [ 39.581520][ T6530] bi_project=0 [ 39.581527][ T6530] bi_background_compression=0 [ 39.581535][ T6530] bi_data_replicas=0 [ 39.581542][ T6530] bi_promote_target=0 [ 39.581550][ T6530] bi_foreground_target=0 [ 39.581558][ T6530] bi_background_target=0 [ 39.581565][ T6530] bi_erasure_code=0 [ 39.581573][ T6530] bi_fields_set=0 [ 39.581580][ T6530] bi_dir=0 [ 39.581588][ T6530] bi_dir_offset=9097378837824744618 [ 39.581595][ T6530] bi_subvol=0 [ 39.581603][ T6530] bi_parent_subvol=0 [ 39.581610][ T6530] bi_nocow=0 [ 39.581617][ T6530] bi_depth=0 [ 39.581625][ T6530] bi_inodes_32bit=0 [ 39.581632][ T6530] bi_casefold=0, fixing [ 39.586705][ T6530] done [ 39.587201][ T6530] bcachefs (loop0): check_subvolume_structure... done [ 39.588080][ T6530] bcachefs (loop0): check_directory_structure... [ 39.588337][ T6530] bcachefs (loop0): inode points to dirent that does not point back: [ 39.588337][ T6530] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 39.588337][ T6530] inum: 4097:4294967295 [ 39.588337][ T6530] mode=40700 [ 39.588337][ T6530] flags=has_case_insensitive(15300400) [ 39.588337][ T6530] journal_seq=23 [ 39.588337][ T6530] hash_seed=a9fcff247692d1ca [ 39.588337][ T6530] hash_type=siphash [ 39.588337][ T6530] bi_size=0 [ 39.588337][ T6530] bi_sectors=0 [ 39.588337][ T6530] bi_version=0 [ 39.588337][ T6530] bi_atime=200535484 [ 39.588337][ T6530] bi_ctime=200535484 [ 39.588337][ T6530] bi_mtime=200535484 [ 39.588337][ T6530] bi_otime=200535484 [ 39.588337][ T6530] bi_uid=0 [ 39.588337][ T6530] bi_gid=0 [ 39.588337][ T6530] bi_nlink=0 [ 39.588337][ T6530] bi_generation=0 [ 39.588337][ T6530] bi_dev=0 [ 39.588337][ T6530] bi_data_checksum=0 [ 39.588337][ T6530] bi_compression=0 [ 39.588337][ T6530] bi_project=0 [ 39.588337][ T6530] bi_background_compression=0 [ 39.588337][ T6530] bi_data_replicas=0 [ 39.588337][ T6530] bi_promote_target=0 [ 39.588337][ T6530] bi_foreground_target=0 [ 39.588337][ T6530] bi_background_target=0 [ 39.588337][ T6530] bi_erasure_code=0 [ 39.588337][ T6530] bi_fields_set=0 [ 39.588337][ T6530] bi_dir=4096 [ 39.588337][ T6530] bi_dir_offset=8130059955150870709 [ 39.588337][ T6530] bi_subvol=0 [ 39.588337][ T6530] bi_parent_subvol=0 [ 39.588337][ T6530] bi_nocow=0 [ 39.588337][ T6530] bi_depth=0 [ 39.588337][ T6530] bi_inodes_32bit=0 [ 39.588337][ T6530] bi_casefold=0 [ 39.588486][ T6530] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 39.588486][ T6530] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 39.588486][ T6530] mode=40700 [ 39.588486][ T6530] flags=has_case_insensitive(15300400) [ 39.588486][ T6530] journal_seq=23 [ 39.588486][ T6530] hash_seed=a9fcff247692d1ca [ 39.588486][ T6530] hash_type=siphash [ 39.588486][ T6530] bi_size=0 [ 39.588486][ T6530] bi_sectors=0 [ 39.588486][ T6530] bi_version=0 [ 39.588486][ T6530] bi_atime=200535484 [ 39.588486][ T6530] bi_ctime=200535484 [ 39.588486][ T6530] bi_mtime=200535484 [ 39.588486][ T6530] bi_otime=200535484 [ 39.588486][ T6530] bi_uid=0 [ 39.588486][ T6530] bi_gid=0 [ 39.588486][ T6530] bi_nlink=0 [ 39.588486][ T6530] bi_generation=0 [ 39.588486][ T6530] bi_dev=0 [ 39.588486][ T6530] bi_data_checksum=0 [ 39.588486][ T6530] bi_compression=0 [ 39.588486][ T6530] bi_project=0 [ 39.588486][ T6530] bi_background_compression=0 [ 39.588486][ T6530] bi_data_replicas=0 [ 39.588486][ T6530] bi_promote_target=0 [ 39.588486][ T6530] bi_foreground_target=0 [ 39.588486][ T6530] bi_background_target=0 [ 39.588486][ T6530] bi_erasure_code=0 [ 39.588486][ T6530] bi_fields_set=0 [ 39.588486][ T6530] bi_dir=4096 [ 39.588486][ T6530] bi_dir_offset=8130059955150870709 [ 39.588486][ T6530] bi_subvol=0 [ 39.588486][ T6530] bi_parent_subvol=0 [ 39.588486][ T6530] bi_nocow=0 [ 39.588486][ T6530] bi_depth=0 [ 39.588486][ T6530] bi_inodes_32bit=0 [ 39.588486][ T6530] bi_casefold=0 [ 39.588534][ T6530] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 39.588554][ T6530] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 39.588616][ T26] bcachefs (loop0): going read-only [ 39.588641][ T26] bcachefs (loop0): finished waiting for writes to stop [ 39.590101][ T6530] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 24 [ 39.590148][ T6530] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 39.590166][ T6530] bcachefs (loop0): shutting down [ 39.622745][ T26] bcachefs (loop0): flushing journal and stopping allocators, journal seq 24 [ 39.622789][ T26] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 24 [ 39.622919][ T26] bcachefs (loop0): unclean shutdown complete, journal seq 24 [ 39.623809][ T26] bcachefs (loop0): done going read-only, filesystem not clean [ 39.630267][ T6530] bcachefs (loop0): shutdown complete [ 40.763520][ T6530] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 40.896564][ T6543] loop0: detected capacity change from 0 to 32768 [ 40.939309][ T6543] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 40.939309][ T6543] allowing incompatible features above 0.0: (unknown version) [ 40.939309][ T6543] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 40.939384][ T6543] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 40.939457][ T6543] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 40.939570][ T6543] bcachefs (loop0): Version upgrade required: [ 40.939570][ T6543] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 40.939570][ T6543] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 40.939570][ T6543] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 40.949467][ T6543] bcachefs (loop0): accounting_read... done [ 40.949967][ T6543] bcachefs (loop0): alloc_read... done [ 40.950431][ T6543] bcachefs (loop0): snapshots_read... done [ 40.977992][ T6543] bcachefs (loop0): check_allocations... [ 40.980076][ T6543] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 40.980092][ T6543] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 40.980974][ T6543] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in all ** replaying previous printk message ** [ 40.980974][ T6543] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 40.980987][ T6543] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 40.981541][ T6543] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 40.981553][ T6543] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 40.982184][ T6543] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 40.982196][ T6543] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 40.983593][ T6543] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 40.983607][ T6543] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 40.984063][ T6543] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.984124][ T6543] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.984298][ T6543] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.984355][ T6543] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.984437][ T6543] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.984499][ T6543] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.984580][ T6543] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.984629][ T6543] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.984710][ T6543] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.984759][ T6543] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.984842][ T6543] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.984891][ T6543] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.984974][ T6543] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.985078][ T6543] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.985172][ T6543] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.985272][ T6543] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 40.985354][ T6543] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.985404][ T6543] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.985491][ T6543] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.985547][ T6543] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.985647][ T6543] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.985657][ T6543] Ratelimiting new instances of previous error [ 40.985722][ T6543] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.985733][ T6543] Ratelimiting new instances of previous error [ 40.989597][ T6543] done [ 40.990600][ T6543] bcachefs (loop0): going read-write [ 40.997527][ T6552] ODEBUG: object 00000000dc57d4bb is on stack 00000000aad4b498, but NOT annotated. [ 40.997897][ T6552] ------------[ cut here ]------------ [ 40.997907][ T6552] WARNING: CPU: 0 PID: 6552 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 41.103886][ T6552] Modules linked in: [ 41.104987][ T6552] CPU: 0 UID: 0 PID: 6552 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 41.108753][ T6552] Tainted: [B]=BAD_PAGE, [W]=WARN [ 41.110167][ T6552] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 41.112990][ T6552] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 41.115298][ T6552] pc : __debug_object_init+0x364/0x40c [ 41.116823][ T6552] lr : __debug_object_init+0x364/0x40c [ 41.118312][ T6552] sp : ffff8000a4a17700 [ 41.119462][ T6552] x29: ffff8000a4a17700 x28: 0000000000000002 x27: dfff800000000000 [ 41.121770][ T6552] x26: ffff800097693000 x25: ffff0000ce733d20 x24: 0000000000000000 [ 41.124054][ T6552] x23: ffff0000cfe6e000 x22: 0000000000000000 x21: ffff800097571d70 [ 41.126357][ T6552] x20: ffff80008af70de0 x19: ffff8000a4a17bb0 x18: 1fffe000337dc876 [ 41.128615][ T6552] x17: 7562202c38393462 x16: ffff80008aec8e2c x15: 0000000000000001 [ 41.130848][ T6552] x14: 1ffff00014942e58 x13: 0000000000000000 x12: 0000000000000000 [ 41.133112][ T6552] x11: ffff700014942e59 x10: 0000000000ff0100 x9 : 8d001dfaa3f52f00 [ 41.135376][ T6552] x8 : 8d001dfaa3f52f00 x7 : 0000000000000001 x6 : 0000000000000001 [ 41.137698][ T6552] x5 : ffff8000a4a17098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 41.139962][ T6552] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 41.142187][ T6552] Call trace: [ 41.143148][ T6552] __debug_object_init+0x364/0x40c (P) [ 41.144663][ T6543] bcachefs (loop0): journal_replay... [ 41.144742][ T6552] debug_object_init+0x20/0x2c [ 41.147569][ T6552] __init_work+0x58/0x68 [ 41.148733][ T6552] rhashtable_init_noprof+0x734/0xa10 [ 41.150192][ T6552] bch2_copygc_thread+0xec/0xd40 [ 41.151573][ T6552] kthread+0x5fc/0x75c [ 41.152705][ T6552] ret_from_fork+0x10/0x20 [ 41.154009][ T6552] irq event stamp: 0 [ 41.155068][ T6552] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 41.157088][ T6552] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec ** replaying previous printk message ** [ 41.157280][ T6543] done [ 41.161435][ T6552] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 41.161612][ T6543] bcachefs (loop0): check_alloc_info... [ 41.164009][ T6552] softirqs last disabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 41.164257][ T6543] done [ 41.169340][ T6552] ---[ end trace 0000000000000000 ]--- [ 41.169364][ T6543] bcachefs (loop0): check_lrus... done [ 41.173114][ T6543] bcachefs (loop0): check_btree_backpointers... done [ 41.175799][ T6543] bcachefs (loop0): check_backpointers_to_extents... done [ 41.179122][ T6543] bcachefs (loop0): check_extents_to_backpointers... [ 41.179707][ T6543] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 41.182529][ T6543] done [ 41.182974][ T6543] bcachefs (loop0): check_alloc_to_lru_refs... done [ 41.184199][ T6543] bcachefs (loop0): bucket_gens_init... done [ 41.188270][ T6543] bcachefs (loop0): check_snapshot_trees... done [ 41.189203][ T6543] bcachefs (loop0): check_snapshots... [ 41.189430][ T6543] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 41.189441][ T6543] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 41.193334][ T6543] done [ 41.193673][ T6543] bcachefs (loop0): check_subvols... done [ 41.194353][ T6543] bcachefs (loop0): check_subvol_children... done [ 41.194789][ T6543] bcachefs (loop0): delete_dead_snapshots... done [ 41.195202][ T6543] bcachefs (loop0): check_inodes... [ 41.196009][ T6543] bcachefs (loop0): inode points to missing dirent [ 41.196022][ T6543] inum: 4099:4294967295 [ 41.196030][ T6543] mode=100755 [ 41.196037][ T6543] flags=(15300000) [ 41.196044][ T6543] journal_seq=5 [ 41.196052][ T6543] hash_seed=fc917866faeb7b5b [ 41.196060][ T6543] hash_type=siphash [ 41.196067][ T6543] bi_size=1050 [ 41.196074][ T6543] bi_sectors=8 [ 41.196082][ T6543] bi_version=0 [ 41.196089][ T6543] bi_atime=2770562249 [ 41.196096][ T6543] bi_ctime=2770562249 [ 41.196112][ T6543] bi_mtime=2770562249 [ 41.196120][ T6543] bi_otime=2770562249 [ 41.196128][ T6543] bi_uid=0 [ 41.196135][ T6543] bi_gid=0 [ 41.196142][ T6543] bi_nlink=0 [ 41.196150][ T6543] bi_generation=0 [ 41.196157][ T6543] bi_dev=0 [ 41.196164][ T6543] bi_data_checksum=0 [ 41.196172][ T6543] bi_compression=0 [ 41.196179][ T6543] bi_project=0 [ 41.196186][ T6543] bi_background_compression=0 [ 41.196194][ T6543] bi_data_replicas=0 [ 41.196201][ T6543] bi_promote_target=0 [ 41.196209][ T6543] bi_foreground_target=0 [ 41.196217][ T6543] bi_background_target=0 [ 41.196224][ T6543] bi_erasure_code=0 [ 41.196232][ T6543] bi_fields_set=0 [ 41.196239][ T6543] bi_dir=4098 [ 41.196247][ T6543] bi_dir_offset=8977922886548783724 [ 41.196254][ T6543] bi_subvol=0 [ 41.196267][ T6543] bi_parent_subvol=0 [ 41.196275][ T6543] bi_nocow=0 [ 41.196282][ T6543] bi_depth=0 [ 41.196289][ T6543] bi_inodes_32bit=0 [ 41.196297][ T6543] bi_casefold=0, fixing [ 41.196731][ T6543] bcachefs (loop0): inode points to missing dirent [ 41.196741][ T6543] inum: 4100:4294967295 [ 41.196749][ T6543] mode=120777 [ 41.196757][ T6543] flags=(15300000) [ 41.196764][ T6543] journal_seq=4 [ 41.196771][ T6543] hash_seed=f4891abdd5c0cd85 [ 41.196779][ T6543] hash_type=siphash [ 41.196786][ T6543] bi_size=38 [ 41.196794][ T6543] bi_sectors=8 [ 41.196801][ T6543] bi_version=0 [ 41.196808][ T6543] bi_atime=2770562249 [ 41.196816][ T6543] bi_ctime=2780562352 [ 41.196823][ T6543] bi_mtime=2770562249 [ 41.196831][ T6543] bi_otime=2770562249 [ 41.196839][ T6543] bi_uid=0 [ 41.196846][ T6543] bi_gid=0 [ 41.196853][ T6543] bi_nlink=0 [ 41.196860][ T6543] bi_generation=0 [ 41.196868][ T6543] bi_dev=0 [ 41.196875][ T6543] bi_data_checksum=0 [ 41.196882][ T6543] bi_compression=0 [ 41.196890][ T6543] bi_project=0 [ 41.196897][ T6543] bi_background_compression=0 [ 41.196905][ T6543] bi_data_replicas=0 [ 41.196912][ T6543] bi_promote_target=0 [ 41.196920][ T6543] bi_foreground_target=0 [ 41.196927][ T6543] bi_background_target=0 [ 41.196935][ T6543] bi_erasure_code=0 [ 41.196942][ T6543] bi_fields_set=0 [ 41.196950][ T6543] bi_dir=4098 [ 41.196957][ T6543] bi_dir_offset=5675548428000973578 [ 41.196965][ T6543] bi_subvol=0 [ 41.196973][ T6543] bi_parent_subvol=0 [ 41.196980][ T6543] bi_nocow=0 [ 41.196987][ T6543] bi_depth=0 [ 41.196995][ T6543] bi_inodes_32bit=0 [ 41.197002][ T6543] bi_casefold=0, fixing [ 41.197709][ T6543] done [ 41.198037][ T6543] bcachefs (loop0): check_extents... done [ 41.198845][ T6543] bcachefs (loop0): check_indirect_extents... done [ 41.199232][ T6543] bcachefs (loop0): check_dirents... [ 41.199621][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 41.199632][ T6543] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 41.199902][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 41.199913][ T6543] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 41.200076][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 41.200087][ T6543] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 41.200252][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 41.200268][ T6543] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 41.200446][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 41.200457][ T6543] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 41.200617][ T6543] bcachefs (loop0): dirent casefold does not match dir casefold [ 41.200627][ T6543] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 41.200782][ T6543] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 41.201219][ T6543] done [ 41.201563][ T6543] bcachefs (loop0): check_xattrs... done [ 41.205117][ T6543] bcachefs (loop0): check_root... done [ 41.206468][ T6543] bcachefs (loop0): check_unreachable_inodes... [ 41.206926][ T6543] bcachefs (loop0): unreachable inode: [ 41.206937][ T6543] inum: 4099:4294967295 [ 41.206944][ T6543] mode=100755 [ 41.206952][ T6543] flags=(4300000) [ 41.206959][ T6543] journal_seq=21 [ 41.206966][ T6543] hash_seed=fc917866faeb7b5b [ 41.206974][ T6543] hash_type=siphash [ 41.206981][ T6543] bi_size=1050 [ 41.206989][ T6543] bi_sectors=8 [ 41.206996][ T6543] bi_version=0 [ 41.207003][ T6543] bi_atime=2770562249 [ 41.207010][ T6543] bi_ctime=2770562249 [ 41.207018][ T6543] bi_mtime=2770562249 [ 41.207025][ T6543] bi_otime=2770562249 [ 41.207033][ T6543] bi_uid=0 [ 41.207040][ T6543] bi_gid=0 [ 41.207047][ T6543] bi_nlink=0 [ 41.207054][ T6543] bi_generation=0 [ 41.207062][ T6543] bi_dev=0 [ 41.207069][ T6543] bi_data_checksum=0 [ 41.207076][ T6543] bi_compression=0 [ 41.207083][ T6543] bi_project=0 [ 41.207091][ T6543] bi_background_compression=0 [ 41.207098][ T6543] bi_data_replicas=0 [ 41.207115][ T6543] bi_promote_target=0 [ 41.207123][ T6543] bi_foreground_target=0 [ 41.207130][ T6543] bi_background_target=0 [ 41.207138][ T6543] bi_erasure_code=0 [ 41.207145][ T6543] bi_fields_set=0 [ 41.207153][ T6543] bi_dir=0 [ 41.207160][ T6543] bi_dir_offset=0 [ 41.207167][ T6543] bi_subvol=0 [ 41.207174][ T6543] bi_parent_subvol=0 [ 41.207182][ T6543] bi_nocow=0 [ 41.207189][ T6543] bi_depth=0 [ 41.207196][ T6543] bi_inodes_32bit=0 [ 41.207204][ T6543] bi_casefold=0, fixing [ 41.208357][ T6543] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 41.212154][ T6543] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 41.213250][ T6543] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 41.217480][ T6543] bcachefs (loop0): unreachable inode: [ 41.217493][ T6543] inum: 4100:4294967295 [ 41.217501][ T6543] mode=120777 [ 41.217508][ T6543] flags=(4300000) [ 41.217515][ T6543] journal_seq=21 [ 41.217523][ T6543] hash_seed=f4891abdd5c0cd85 [ 41.217531][ T6543] hash_type=siphash [ 41.217538][ T6543] bi_size=38 [ 41.217545][ T6543] bi_sectors=8 [ 41.217552][ T6543] bi_version=0 [ 41.217560][ T6543] bi_atime=2770562249 [ 41.217567][ T6543] bi_ctime=2780562352 [ 41.217575][ T6543] bi_mtime=2770562249 [ 41.217582][ T6543] bi_otime=2770562249 [ 41.217590][ T6543] bi_uid=0 [ 41.217597][ T6543] bi_gid=0 [ 41.217604][ T6543] bi_nlink=0 [ 41.217611][ T6543] bi_generation=0 [ 41.217619][ T6543] bi_dev=0 [ 41.217626][ T6543] bi_data_checksum=0 [ 41.217633][ T6543] bi_compression=0 [ 41.217641][ T6543] bi_project=0 [ 41.217648][ T6543] bi_background_compression=0 [ 41.217656][ T6543] bi_data_replicas=0 [ 41.217663][ T6543] bi_promote_target=0 [ 41.217671][ T6543] bi_foreground_target=0 [ 41.217678][ T6543] bi_background_target=0 [ 41.217686][ T6543] bi_erasure_code=0 [ 41.217693][ T6543] bi_fields_set=0 [ 41.217701][ T6543] bi_dir=0 [ 41.217708][ T6543] bi_dir_offset=0 [ 41.217715][ T6543] bi_subvol=0 [ 41.217723][ T6543] bi_parent_subvol=0 [ 41.217730][ T6543] bi_nocow=0 [ 41.217737][ T6543] bi_depth=0 [ 41.217745][ T6543] bi_inodes_32bit=0 [ 41.217752][ T6543] bi_casefold=0, fixing [ 41.218300][ T6543] bcachefs (loop0): unreachable inode: [ 41.218310][ T6543] inum: 536870913:4294967295 [ 41.218318][ T6543] mode=100755 [ 41.218325][ T6543] flags=(15300000) [ 41.218333][ T6543] journal_seq=22 [ 41.218340][ T6543] hash_seed=b68791a594a6d5ae [ 41.218348][ T6543] hash_type=siphash [ 41.218355][ T6543] bi_size=25769812776 [ 41.218362][ T6543] bi_sectors=24 [ 41.218370][ T6543] bi_version=0 [ 41.218377][ T6543] bi_atime=2780562352 [ 41.218384][ T6543] bi_ctime=2780562352 [ 41.218392][ T6543] bi_mtime=2780562352 [ 41.218399][ T6543] bi_otime=2780562352 [ 41.218407][ T6543] bi_uid=0 [ 41.218414][ T6543] bi_gid=0 [ 41.218422][ T6543] bi_nlink=1 [ 41.218429][ T6543] bi_generation=0 [ 41.218436][ T6543] bi_dev=0 [ 41.218443][ T6543] bi_data_checksum=0 [ 41.218451][ T6543] bi_compression=0 [ 41.218458][ T6543] bi_project=0 [ 41.218466][ T6543] bi_background_compression=0 [ 41.218473][ T6543] bi_data_replicas=0 [ 41.218481][ T6543] bi_promote_target=1 [ 41.218488][ T6543] bi_foreground_target=0 [ 41.218496][ T6543] bi_background_target=0 [ 41.218503][ T6543] bi_erasure_code=0 [ 41.218511][ T6543] bi_fields_set=0 [ 41.218518][ T6543] bi_dir=0 [ 41.218525][ T6543] bi_dir_offset=2695648408715017799 [ 41.218533][ T6543] bi_subvol=0 [ 41.218540][ T6543] bi_parent_subvol=0 [ 41.218548][ T6543] bi_nocow=0 [ 41.218555][ T6543] bi_depth=0 [ 41.218562][ T6543] bi_inodes_32bit=0 [ 41.218570][ T6543] bi_casefold=0, fixing [ 41.219074][ T6543] bcachefs (loop0): unreachable inode: [ 41.219083][ T6543] inum: 536870914:4294967295 [ 41.219091][ T6543] mode=100755 [ 41.219098][ T6543] flags=(15300000) [ 41.219113][ T6543] journal_seq=22 [ 41.219120][ T6543] hash_seed=d483206f1ed95abf [ 41.219128][ T6543] hash_type=siphash [ 41.219136][ T6543] bi_size=100 [ 41.219143][ T6543] bi_sectors=8 [ 41.219150][ T6543] bi_version=1126999418470400 [ 41.219158][ T6543] bi_atime=0 [ 41.219165][ T6543] bi_ctime=0 [ 41.219172][ T6543] bi_mtime=0 [ 41.219180][ T6543] bi_otime=2780562352 [ 41.219187][ T6543] bi_uid=2780562352 [ 41.219194][ T6543] bi_gid=0 [ 41.219202][ T6543] bi_nlink=2780562352 [ 41.219209][ T6543] bi_generation=0 [ 41.219216][ T6543] bi_dev=0 [ 41.219224][ T6543] bi_data_checksum=0 [ 41.219231][ T6543] bi_compression=0 [ 41.219238][ T6543] bi_project=0 [ 41.219246][ T6543] bi_background_compression=0 [ 41.219253][ T6543] bi_data_replicas=0 [ 41.219264][ T6543] bi_promote_target=0 [ 41.219272][ T6543] bi_foreground_target=0 [ 41.219279][ T6543] bi_background_target=0 [ 41.219287][ T6543] bi_erasure_code=0 [ 41.219294][ T6543] bi_fields_set=0 [ 41.219302][ T6543] bi_dir=0 [ 41.219309][ T6543] bi_dir_offset=9097378837824744618 [ 41.219317][ T6543] bi_subvol=0 [ 41.219324][ T6543] bi_parent_subvol=0 [ 41.219331][ T6543] bi_nocow=0 [ 41.219339][ T6543] bi_depth=0 [ 41.219346][ T6543] bi_inodes_32bit=0 [ 41.219353][ T6543] bi_casefold=0, fixing [ 41.220517][ T6543] done [ 41.220889][ T6543] bcachefs (loop0): check_subvolume_structure... done [ 41.221309][ T6543] bcachefs (loop0): check_directory_structure... [ 41.221557][ T6543] bcachefs (loop0): inode points to dirent that does not point back: [ 41.221557][ T6543] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 41.221557][ T6543] inum: 4097:4294967295 [ 41.221557][ T6543] mode=40700 [ 41.221557][ T6543] flags=has_case_insensitive(15300400) [ 41.221557][ T6543] journal_seq=22 [ 41.221557][ T6543] hash_seed=a9fcff247692d1ca [ 41.221557][ T6543] hash_type=siphash [ 41.221557][ T6543] bi_size=0 [ 41.221557][ T6543] bi_sectors=0 [ 41.221557][ T6543] bi_version=0 [ 41.221557][ T6543] bi_atime=200535484 [ 41.221557][ T6543] bi_ctime=200535484 [ 41.221557][ T6543] bi_mtime=200535484 [ 41.221557][ T6543] bi_otime=200535484 [ 41.221557][ T6543] bi_uid=0 [ 41.221557][ T6543] bi_gid=0 [ 41.221557][ T6543] bi_nlink=0 [ 41.221557][ T6543] bi_generation=0 [ 41.221557][ T6543] bi_dev=0 [ 41.221557][ T6543] bi_data_checksum=0 [ 41.221557][ T6543] bi_compression=0 [ 41.221557][ T6543] bi_project=0 [ 41.221557][ T6543] bi_background_compression=0 [ 41.221557][ T6543] bi_data_replicas=0 [ 41.221557][ T6543] bi_promote_target=0 [ 41.221557][ T6543] bi_foreground_target=0 [ 41.221557][ T6543] bi_background_target=0 [ 41.221557][ T6543] bi_erasure_code=0 [ 41.221557][ T6543] bi_fields_set=0 [ 41.221557][ T6543] bi_dir=4096 [ 41.221557][ T6543] bi_dir_offset=8130059955150870709 [ 41.221557][ T6543] bi_subvol=0 [ 41.221557][ T6543] bi_parent_subvol=0 [ 41.221557][ T6543] bi_nocow=0 [ 41.221557][ T6543] bi_depth=0 [ 41.221557][ T6543] bi_inodes_32bit=0 [ 41.221557][ T6543] bi_casefold=0 [ 41.221706][ T6543] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 41.221706][ T6543] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 41.221706][ T6543] mode=40700 [ 41.221706][ T6543] flags=has_case_insensitive(15300400) [ 41.221706][ T6543] journal_seq=22 [ 41.221706][ T6543] hash_seed=a9fcff247692d1ca [ 41.221706][ T6543] hash_type=siphash [ 41.221706][ T6543] bi_size=0 [ 41.221706][ T6543] bi_sectors=0 [ 41.221706][ T6543] bi_version=0 [ 41.221706][ T6543] bi_atime=200535484 [ 41.221706][ T6543] bi_ctime=200535484 [ 41.221706][ T6543] bi_mtime=200535484 [ 41.221706][ T6543] bi_otime=200535484 [ 41.221706][ T6543] bi_uid=0 [ 41.221706][ T6543] bi_gid=0 [ 41.221706][ T6543] bi_nlink=0 [ 41.221706][ T6543] bi_generation=0 [ 41.221706][ T6543] bi_dev=0 [ 41.221706][ T6543] bi_data_checksum=0 [ 41.221706][ T6543] bi_compression=0 [ 41.221706][ T6543] bi_project=0 [ 41.221706][ T6543] bi_background_compression=0 [ 41.221706][ T6543] bi_data_replicas=0 [ 41.221706][ T6543] bi_promote_target=0 [ 41.221706][ T6543] bi_foreground_target=0 [ 41.221706][ T6543] bi_background_target=0 [ 41.221706][ T6543] bi_erasure_code=0 [ 41.221706][ T6543] bi_fields_set=0 [ 41.221706][ T6543] bi_dir=4096 [ 41.221706][ T6543] bi_dir_offset=8130059955150870709 [ 41.221706][ T6543] bi_subvol=0 [ 41.221706][ T6543] bi_parent_subvol=0 [ 41.221706][ T6543] bi_nocow=0 [ 41.221706][ T6543] bi_depth=0 [ 41.221706][ T6543] bi_inodes_32bit=0 [ 41.221706][ T6543] bi_casefold=0 [ 41.221754][ T6543] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 41.221774][ T6543] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 41.221832][ T9] bcachefs (loop0): going read-only [ 41.221857][ T9] bcachefs (loop0): finished waiting for writes to stop [ 41.221936][ T6543] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 41.221962][ T6543] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 41.221980][ T6543] bcachefs (loop0): shutting down [ 41.252703][ T9] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 41.252747][ T9] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 41.252815][ T9] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 41.253703][ T9] bcachefs (loop0): done going read-only, filesystem not clean [ 41.260481][ T6543] bcachefs (loop0): shutdown complete [ 42.294164][ T6543] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 42.424883][ T6554] loop0: detected capacity change from 0 to 32768 [ 42.479552][ T6554] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 42.479552][ T6554] allowing incompatible features above 0.0: (unknown version) [ 42.479552][ T6554] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 42.479620][ T6554] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 42.479694][ T6554] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 42.479810][ T6554] bcachefs (loop0): Version upgrade required: [ 42.479810][ T6554] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 42.479810][ T6554] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 42.479810][ T6554] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 42.498595][ T6554] bcachefs (loop0): accounting_read... done [ 42.499050][ T6554] bcachefs (loop0): alloc_read... done [ 42.499505][ T6554] bcachefs (loop0): snapshots_read... done [ 42.499904][ T6554] bcachefs (loop0): check_allocations... [ 42.500724][ T6554] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 42.500738][ T6554] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 42.501627][ T6554] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 42.50 ** replaying previous printk message ** [ 42.501640][ T6554] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 42.502234][ T6554] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 42.502246][ T6554] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 42.517192][ T6554] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 42.517213][ T6554] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 42.518375][ T6554] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 42.518389][ T6554] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 42.518865][ T6554] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.518916][ T6554] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.519051][ T6554] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.519102][ T6554] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.519228][ T6554] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.519279][ T6554] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.519391][ T6554] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.519441][ T6554] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.519526][ T6554] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.519578][ T6554] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.519657][ T6554] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.519707][ T6554] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.519785][ T6554] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.519835][ T6554] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.519922][ T6554] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.519971][ T6554] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 42.520056][ T6554] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.520113][ T6554] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.520194][ T6554] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.520249][ T6554] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.520345][ T6554] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.520356][ T6554] Ratelimiting new instances of previous error [ 42.520418][ T6554] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.520428][ T6554] Ratelimiting new instances of previous error [ 42.525428][ T6554] done [ 42.526407][ T6554] bcachefs (loop0): going read-write [ 42.533021][ T6563] ODEBUG: object 000000000341bdda is on stack 000000002992379e, but NOT annotated. [ 42.533409][ T6563] ------------[ cut here ]------------ [ 42.533423][ T6563] WARNING: CPU: 0 PID: 6563 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 42.637159][ T6563] Modules linked in: [ 42.638305][ T6563] CPU: 0 UID: 0 PID: 6563 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 42.640433][ T6554] bcachefs (loop0): journal_replay... [ 42.641907][ T6563] Tainted: [B]=BAD_PAGE, [W]=WARN [ 42.644832][ T6563] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 42.647812][ T6563] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 42.650064][ T6563] pc : __debug_object_init+0x364/0x40c [ 42.651678][ T6563] lr : __debug_object_init+0x364/0x40c [ 42.653240][ T6563] sp : ffff8000a4947700 [ 42.654464][ T6563] x29: ffff8000a4947700 x28: 0000000000000003 x27: dfff800000000000 ** replaying previous printk message ** [ 42.655591][ T6554] done [ 42.658508][ T6563] x26: ffff800097693000 x25: ffff0000c89b0020 x24: 0000000000000000 [ 42.658792][ T6554] bcachefs (loop0): check_alloc_info... [ 42.660813][ T6563] x23: ffff0000c6048ea8 x22: 0000000000000000 x21: ffff8000976108d8 ** replaying previous printk message ** [ 42.663388][ T6554] done [ 42.666471][ T6554] bcachefs (loop0): check_lrus... [ 42.666480][ T6563] x20: ffff80008af70de0 x19: ffff8000a4947bb0 x18: 1fffe000337dc876 ** replaying previous printk message ** [ 42.668379][ T6554] done [ 42.671996][ T6554] bcachefs (loop0): check_btree_backpointers... [ 42.672004][ T6563] x17: 7562202c65393733 x16: ffff80008aec8e2c x15: 0000000000000001 ** replaying previous printk message ** [ 42.674419][ T6554] done [ 42.677850][ T6554] bcachefs (loop0): check_backpointers_to_extents... [ 42.677852][ T6563] x14: 1ffff00014928e58 x13: 0000000000000000 x12: 0000000000000000 ** replaying previous printk message ** [ 42.680645][ T6554] done [ 42.683837][ T6563] x11: ffff700014928e59 x10: 0000000000ff0100 x9 : 4cac0b5c41cf1b00 [ 42.684158][ T6554] bcachefs (loop0): check_extents_to_backpointers... [ 42.686049][ T6563] x8 : 4cac0b5c41cf1b00 ** replaying previous printk message ** [ 42.686594][ T6554] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 42.692388][ T6563] x7 : 0000000000000001 x6 : 0000000000000001 ** replaying previous printk message ** [ 42.693014][ T6554] done [ 42.695919][ T6563] x5 : ffff8000a4947098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 42.696226][ T6554] bcachefs (loop0): check_alloc_to_lru_refs... [ 42.698212][ T6563] x2 : 0000000000000001 ** replaying previous printk message ** [ 42.698989][ T6554] done [ 42.702960][ T6563] x1 : 0000000100000001 x0 : 0000000000000050 [ 42.703330][ T6554] bcachefs (loop0): bucket_gens_init... [ 42.704699][ T6563] Call trace: [ 42.707180][ T6563] __debug_object_init+0x364/0x40c (P) ** replaying previous printk message ** [ 42.707381][ T6554] done [ 42.710551][ T6563] debug_object_init+0x20/0x2c [ 42.710995][ T6554] bcachefs (loop0): check_snapshot_trees... [ 42.711899][ T6563] __init_work+0x58/0x68 ** replaying previous printk message ** [ 42.713092][ T6554] done [ 42.716412][ T6563] rhashtable_init_noprof+0x734/0xa10 [ 42.716572][ T6554] bcachefs (loop0): check_snapshots... [ 42.716790][ T6554] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 42.716809][ T6554] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 42.725556][ T6563] bch2_copygc_thread+0xec/0xd40 ** replaying previous printk message ** [ 42.726712][ T6554] done [ 42.728730][ T6563] kthread+0x5fc/0x75c [ 42.729027][ T6554] bcachefs (loop0): check_subvols... [ 42.729912][ T6563] ret_from_fork+0x10/0x20 ** replaying previous printk message ** [ 42.730508][ T6554] done [ 42.734359][ T6554] bcachefs (loop0): check_subvol_children... [ 42.734366][ T6563] irq event stamp: 0 [ 42.737268][ T6563] hardirqs last enabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 42.737671][ T6554] done [ 42.741057][ T6554] bcachefs (loop0): delete_dead_snapshots... [ 42.741063][ T6563] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec ** replaying previous printk message ** [ 42.741437][ T6554] done [ 42.747207][ T6554] bcachefs (loop0): check_inodes... [ 42.747205][ T6563] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 42.751296][ T6563] softirqs last disabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 42.752087][ T6554] bcachefs (loop0): inode points to missing dirent [ 42.756144][ T6563] ---[ end trace 0000000000000000 ]--- [ 42.756148][ T6554] inum: 4099:4294967295 [ 42.759027][ T6554] mode=100755 [ 42.759871][ T6554] flags=(15300000) [ 42.759884][ T6554] journal_seq=5 [ 42.759891][ T6554] hash_seed=fc917866faeb7b5b [ 42.759899][ T6554] hash_type=siphash [ 42.759907][ T6554] bi_size=1050 [ 42.759914][ T6554] bi_sectors=8 [ 42.759921][ T6554] bi_version=0 [ 42.759929][ T6554] bi_atime=2770562249 [ 42.759936][ T6554] bi_ctime=2770562249 [ 42.759943][ T6554] bi_mtime=2770562249 [ 42.759951][ T6554] bi_otime=2770562249 [ 42.759958][ T6554] bi_uid=0 [ 42.759966][ T6554] bi_gid=0 [ 42.759973][ T6554] bi_nlink=0 [ 42.759980][ T6554] bi_generation=0 [ 42.759987][ T6554] bi_dev=0 [ 42.759995][ T6554] bi_data_checksum=0 [ 42.760002][ T6554] bi_compression=0 [ 42.760009][ T6554] bi_project=0 [ 42.760017][ T6554] bi_background_compression=0 [ 42.760024][ T6554] bi_data_replicas=0 [ 42.760032][ T6554] bi_promote_target=0 [ 42.760039][ T6554] bi_foreground_target=0 [ 42.760047][ T6554] bi_background_target=0 [ 42.760055][ T6554] bi_erasure_code=0 [ 42.760062][ T6554] bi_fields_set=0 [ 42.760069][ T6554] bi_dir=4098 [ 42.760077][ T6554] bi_dir_offset=8977922886548783724 [ 42.760085][ T6554] bi_subvol=0 [ 42.760092][ T6554] bi_parent_subvol=0 [ 42.760099][ T6554] bi_nocow=0 [ 42.760115][ T6554] bi_depth=0 [ 42.760123][ T6554] bi_inodes_32bit=0 [ 42.760130][ T6554] bi_casefold=0, fixing [ 42.761172][ T6554] bcachefs (loop0): inode points to missing dirent [ 42.761184][ T6554] inum: 4100:4294967295 [ 42.761192][ T6554] mode=120777 [ 42.761199][ T6554] flags=(15300000) [ 42.761207][ T6554] journal_seq=4 [ 42.761214][ T6554] hash_seed=f4891abdd5c0cd85 [ 42.761221][ T6554] hash_type=siphash [ 42.761229][ T6554] bi_size=38 [ 42.761236][ T6554] bi_sectors=8 [ 42.761244][ T6554] bi_version=0 [ 42.761251][ T6554] bi_atime=2770562249 [ 42.761258][ T6554] bi_ctime=2780562352 [ 42.761266][ T6554] bi_mtime=2770562249 [ 42.761273][ T6554] bi_otime=2770562249 [ 42.761281][ T6554] bi_uid=0 [ 42.761288][ T6554] bi_gid=0 [ 42.761295][ T6554] bi_nlink=0 [ 42.761302][ T6554] bi_generation=0 [ 42.761310][ T6554] bi_dev=0 [ 42.761317][ T6554] bi_data_checksum=0 [ 42.761324][ T6554] bi_compression=0 [ 42.761332][ T6554] bi_project=0 [ 42.761339][ T6554] bi_background_compression=0 [ 42.761347][ T6554] bi_data_replicas=0 [ 42.761354][ T6554] bi_promote_target=0 [ 42.761362][ T6554] bi_foreground_target=0 [ 42.761370][ T6554] bi_background_target=0 [ 42.761378][ T6554] bi_erasure_code=0 [ 42.761385][ T6554] bi_fields_set=0 [ 42.761392][ T6554] bi_dir=4098 [ 42.761400][ T6554] bi_dir_offset=5675548428000973578 [ 42.761408][ T6554] bi_subvol=0 [ 42.761415][ T6554] bi_parent_subvol=0 [ 42.761422][ T6554] bi_nocow=0 [ 42.761429][ T6554] bi_depth=0 [ 42.761437][ T6554] bi_inodes_32bit=0 [ 42.761444][ T6554] bi_casefold=0, fixing [ 42.762661][ T6554] done [ 42.763016][ T6554] bcachefs (loop0): check_extents... done [ 42.763841][ T6554] bcachefs (loop0): check_indirect_extents... done [ 42.764256][ T6554] bcachefs (loop0): check_dirents... [ 42.764641][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.764652][ T6554] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 42.764955][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.764966][ T6554] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 42.765145][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.765155][ T6554] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 42.765314][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.765324][ T6554] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 42.765490][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.765501][ T6554] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 42.765661][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.765671][ T6554] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 42.765832][ T6554] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 42.766295][ T6554] done [ 42.766644][ T6554] bcachefs (loop0): check_xattrs... done [ 42.767395][ T6554] bcachefs (loop0): check_root... done [ 42.767911][ T6554] bcachefs (loop0): check_unreachable_inodes... [ 42.768379][ T6554] bcachefs (loop0): unreachable inode: [ 42.768390][ T6554] inum: 4099:4294967295 [ 42.768398][ T6554] mode=100755 [ 42.768405][ T6554] flags=(4300000) [ 42.768413][ T6554] journal_seq=22 [ 42.768420][ T6554] hash_seed=fc917866faeb7b5b [ 42.768428][ T6554] hash_type=siphash [ 42.768435][ T6554] bi_size=1050 [ 42.768442][ T6554] bi_sectors=8 [ 42.768450][ T6554] bi_version=0 [ 42.768457][ T6554] bi_atime=2770562249 [ 42.768465][ T6554] bi_ctime=2770562249 [ 42.768472][ T6554] bi_mtime=2770562249 [ 42.768480][ T6554] bi_otime=2770562249 [ 42.768487][ T6554] bi_uid=0 [ 42.768494][ T6554] bi_gid=0 [ 42.768502][ T6554] bi_nlink=0 [ 42.768509][ T6554] bi_generation=0 [ 42.768516][ T6554] bi_dev=0 [ 42.768524][ T6554] bi_data_checksum=0 [ 42.768531][ T6554] bi_compression=0 [ 42.768538][ T6554] bi_project=0 [ 42.768546][ T6554] bi_background_compression=0 [ 42.768553][ T6554] bi_data_replicas=0 [ 42.768561][ T6554] bi_promote_target=0 [ 42.768568][ T6554] bi_foreground_target=0 [ 42.768576][ T6554] bi_background_target=0 [ 42.768584][ T6554] bi_erasure_code=0 [ 42.768591][ T6554] bi_fields_set=0 [ 42.768598][ T6554] bi_dir=0 [ 42.768606][ T6554] bi_dir_offset=0 [ 42.768613][ T6554] bi_subvol=0 [ 42.768620][ T6554] bi_parent_subvol=0 [ 42.768628][ T6554] bi_nocow=0 [ 42.768635][ T6554] bi_depth=0 [ 42.768642][ T6554] bi_inodes_32bit=0 [ 42.768650][ T6554] bi_casefold=0, fixing [ 42.769878][ T6554] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.771313][ T6554] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.772133][ T6554] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.776346][ T6554] bcachefs (loop0): unreachable inode: [ 42.776360][ T6554] inum: 4100:4294967295 [ 42.776368][ T6554] mode=120777 [ 42.776375][ T6554] flags=(4300000) [ 42.776382][ T6554] journal_seq=22 [ 42.776390][ T6554] hash_seed=f4891abdd5c0cd85 [ 42.776397][ T6554] hash_type=siphash [ 42.776405][ T6554] bi_size=38 [ 42.776412][ T6554] bi_sectors=8 [ 42.776419][ T6554] bi_version=0 [ 42.776426][ T6554] bi_atime=2770562249 [ 42.776434][ T6554] bi_ctime=2780562352 [ 42.776441][ T6554] bi_mtime=2770562249 [ 42.776449][ T6554] bi_otime=2770562249 [ 42.776456][ T6554] bi_uid=0 [ 42.776463][ T6554] bi_gid=0 [ 42.776470][ T6554] bi_nlink=0 [ 42.776478][ T6554] bi_generation=0 [ 42.776485][ T6554] bi_dev=0 [ 42.776492][ T6554] bi_data_checksum=0 [ 42.776500][ T6554] bi_compression=0 [ 42.776507][ T6554] bi_project=0 [ 42.776514][ T6554] bi_background_compression=0 [ 42.776522][ T6554] bi_data_replicas=0 [ 42.776529][ T6554] bi_promote_target=0 [ 42.776537][ T6554] bi_foreground_target=0 [ 42.776544][ T6554] bi_background_target=0 [ 42.776552][ T6554] bi_erasure_code=0 [ 42.776559][ T6554] bi_fields_set=0 [ 42.776567][ T6554] bi_dir=0 [ 42.776574][ T6554] bi_dir_offset=0 [ 42.776581][ T6554] bi_subvol=0 [ 42.776588][ T6554] bi_parent_subvol=0 [ 42.776596][ T6554] bi_nocow=0 [ 42.776603][ T6554] bi_depth=0 [ 42.776610][ T6554] bi_inodes_32bit=0 [ 42.776617][ T6554] bi_casefold=0, fixing [ 42.777160][ T6554] bcachefs (loop0): unreachable inode: [ 42.777170][ T6554] inum: 536870913:4294967295 [ 42.777178][ T6554] mode=100755 [ 42.777186][ T6554] flags=(15300000) [ 42.777193][ T6554] journal_seq=23 [ 42.777200][ T6554] hash_seed=b68791a594a6d5ae [ 42.777208][ T6554] hash_type=siphash [ 42.777216][ T6554] bi_size=25769812776 [ 42.777223][ T6554] bi_sectors=24 [ 42.777230][ T6554] bi_version=0 [ 42.777238][ T6554] bi_atime=2780562352 [ 42.777245][ T6554] bi_ctime=2780562352 [ 42.777253][ T6554] bi_mtime=2780562352 [ 42.777260][ T6554] bi_otime=2780562352 [ 42.777268][ T6554] bi_uid=0 [ 42.777275][ T6554] bi_gid=0 [ 42.777282][ T6554] bi_nlink=1 [ 42.777289][ T6554] bi_generation=0 [ 42.777297][ T6554] bi_dev=0 [ 42.777304][ T6554] bi_data_checksum=0 [ 42.777311][ T6554] bi_compression=0 [ 42.777319][ T6554] bi_project=0 [ 42.777326][ T6554] bi_background_compression=0 [ 42.777334][ T6554] bi_data_replicas=0 [ 42.777341][ T6554] bi_promote_target=1 [ 42.777348][ T6554] bi_foreground_target=0 [ 42.777356][ T6554] bi_background_target=0 [ 42.777364][ T6554] bi_erasure_code=0 [ 42.777371][ T6554] bi_fields_set=0 [ 42.777378][ T6554] bi_dir=0 [ 42.777385][ T6554] bi_dir_offset=2695648408715017799 [ 42.777393][ T6554] bi_subvol=0 [ 42.777401][ T6554] bi_parent_subvol=0 [ 42.777408][ T6554] bi_nocow=0 [ 42.777415][ T6554] bi_depth=0 [ 42.777422][ T6554] bi_inodes_32bit=0 [ 42.777430][ T6554] bi_casefold=0, fixing [ 42.777923][ T6554] bcachefs (loop0): unreachable inode: [ 42.777933][ T6554] inum: 536870914:4294967295 [ 42.777941][ T6554] mode=100755 [ 42.777948][ T6554] flags=(15300000) [ 42.777955][ T6554] journal_seq=23 [ 42.777963][ T6554] hash_seed=d483206f1ed95abf [ 42.777970][ T6554] hash_type=siphash [ 42.777978][ T6554] bi_size=100 [ 42.777985][ T6554] bi_sectors=8 [ 42.777992][ T6554] bi_version=1126999418470400 [ 42.778000][ T6554] bi_atime=0 [ 42.778007][ T6554] bi_ctime=0 [ 42.778015][ T6554] bi_mtime=0 [ 42.778022][ T6554] bi_otime=2780562352 [ 42.778029][ T6554] bi_uid=2780562352 [ 42.778037][ T6554] bi_gid=0 [ 42.778044][ T6554] bi_nlink=2780562352 [ 42.778051][ T6554] bi_generation=0 [ 42.778059][ T6554] bi_dev=0 [ 42.778066][ T6554] bi_data_checksum=0 [ 42.778073][ T6554] bi_compression=0 [ 42.778081][ T6554] bi_project=0 [ 42.778089][ T6554] bi_background_compression=0 [ 42.778096][ T6554] bi_data_replicas=0 [ 42.778109][ T6554] bi_promote_target=0 [ 42.778117][ T6554] bi_foreground_target=0 [ 42.778124][ T6554] bi_background_target=0 [ 42.778132][ T6554] bi_erasure_code=0 [ 42.778139][ T6554] bi_fields_set=0 [ 42.778147][ T6554] bi_dir=0 [ 42.778154][ T6554] bi_dir_offset=9097378837824744618 [ 42.778162][ T6554] bi_subvol=0 [ 42.778169][ T6554] bi_parent_subvol=0 [ 42.778176][ T6554] bi_nocow=0 [ 42.778184][ T6554] bi_depth=0 [ 42.778191][ T6554] bi_inodes_32bit=0 [ 42.778198][ T6554] bi_casefold=0, fixing [ 42.778943][ T6554] done [ 42.779319][ T6554] bcachefs (loop0): check_subvolume_structure... done [ 42.779785][ T6554] bcachefs (loop0): check_directory_structure... [ 42.780045][ T6554] bcachefs (loop0): inode points to dirent that does not point back: [ 42.780045][ T6554] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 42.780045][ T6554] inum: 4097:4294967295 [ 42.780045][ T6554] mode=40700 [ 42.780045][ T6554] flags=has_case_insensitive(15300400) [ 42.780045][ T6554] journal_seq=23 [ 42.780045][ T6554] hash_seed=a9fcff247692d1ca [ 42.780045][ T6554] hash_type=siphash [ 42.780045][ T6554] bi_size=0 [ 42.780045][ T6554] bi_sectors=0 [ 42.780045][ T6554] bi_version=0 [ 42.780045][ T6554] bi_atime=200535484 [ 42.780045][ T6554] bi_ctime=200535484 [ 42.780045][ T6554] bi_mtime=200535484 [ 42.780045][ T6554] bi_otime=200535484 [ 42.780045][ T6554] bi_uid=0 [ 42.780045][ T6554] bi_gid=0 [ 42.780045][ T6554] bi_nlink=0 [ 42.780045][ T6554] bi_generation=0 [ 42.780045][ T6554] bi_dev=0 [ 42.780045][ T6554] bi_data_checksum=0 [ 42.780045][ T6554] bi_compression=0 [ 42.780045][ T6554] bi_project=0 [ 42.780045][ T6554] bi_background_compression=0 [ 42.780045][ T6554] bi_data_replicas=0 [ 42.780045][ T6554] bi_promote_target=0 [ 42.780045][ T6554] bi_foreground_target=0 [ 42.780045][ T6554] bi_background_target=0 [ 42.780045][ T6554] bi_erasure_code=0 [ 42.780045][ T6554] bi_fields_set=0 [ 42.780045][ T6554] bi_dir=4096 [ 42.780045][ T6554] bi_dir_offset=8130059955150870709 [ 42.780045][ T6554] bi_subvol=0 [ 42.780045][ T6554] bi_parent_subvol=0 [ 42.780045][ T6554] bi_nocow=0 [ 42.780045][ T6554] bi_depth=0 [ 42.780045][ T6554] bi_inodes_32bit=0 [ 42.780045][ T6554] bi_casefold=0 [ 42.780206][ T6554] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 42.780206][ T6554] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 42.780206][ T6554] mode=40700 [ 42.780206][ T6554] flags=has_case_insensitive(15300400) [ 42.780206][ T6554] journal_seq=23 [ 42.780206][ T6554] hash_seed=a9fcff247692d1ca [ 42.780206][ T6554] hash_type=siphash [ 42.780206][ T6554] bi_size=0 [ 42.780206][ T6554] bi_sectors=0 [ 42.780206][ T6554] bi_version=0 [ 42.780206][ T6554] bi_atime=200535484 [ 42.780206][ T6554] bi_ctime=200535484 [ 42.780206][ T6554] bi_mtime=200535484 [ 42.780206][ T6554] bi_otime=200535484 [ 42.780206][ T6554] bi_uid=0 [ 42.780206][ T6554] bi_gid=0 [ 42.780206][ T6554] bi_nlink=0 [ 42.780206][ T6554] bi_generation=0 [ 42.780206][ T6554] bi_dev=0 [ 42.780206][ T6554] bi_data_checksum=0 [ 42.780206][ T6554] bi_compression=0 [ 42.780206][ T6554] bi_project=0 [ 42.780206][ T6554] bi_background_compression=0 [ 42.780206][ T6554] bi_data_replicas=0 [ 42.780206][ T6554] bi_promote_target=0 [ 42.780206][ T6554] bi_foreground_target=0 [ 42.780206][ T6554] bi_background_target=0 [ 42.780206][ T6554] bi_erasure_code=0 [ 42.780206][ T6554] bi_fields_set=0 [ 42.780206][ T6554] bi_dir=4096 [ 42.780206][ T6554] bi_dir_offset=8130059955150870709 [ 42.780206][ T6554] bi_subvol=0 [ 42.780206][ T6554] bi_parent_subvol=0 [ 42.780206][ T6554] bi_nocow=0 [ 42.780206][ T6554] bi_depth=0 [ 42.780206][ T6554] bi_inodes_32bit=0 [ 42.780206][ T6554] bi_casefold=0 [ 42.780254][ T6554] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 42.780273][ T6554] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 42.780333][ T11] bcachefs (loop0): going read-only [ 42.780360][ T11] bcachefs (loop0): finished waiting for writes to stop [ 42.780432][ T6554] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 24 [ 42.780457][ T6554] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 42.780476][ T6554] bcachefs (loop0): shutting down [ 42.822625][ T11] bcachefs (loop0): flushing journal and stopping allocators, journal seq 24 [ 42.822671][ T11] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 24 [ 42.822825][ T11] bcachefs (loop0): unclean shutdown complete, journal seq 24 [ 42.823804][ T11] bcachefs (loop0): done going read-only, filesystem not clean [ 42.830315][ T6554] bcachefs (loop0): shutdown complete [ 43.934274][ T6554] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 44.066718][ T6565] loop0: detected capacity change from 0 to 32768 [ 44.120300][ T6565] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 44.120300][ T6565] allowing incompatible features above 0.0: (unknown version) [ 44.120300][ T6565] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 44.120364][ T6565] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 44.120591][ T6565] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 44.120701][ T6565] bcachefs (loop0): Version upgrade required: [ 44.120701][ T6565] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 44.120701][ T6565] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 44.120701][ T6565] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 44.128693][ T6565] bcachefs (loop0): accounting_read... done [ 44.129164][ T6565] bcachefs (loop0): alloc_read... done [ 44.129605][ T6565] bcachefs (loop0): snapshots_read... done [ 44.130011][ T6565] bcachefs (loop0): check_allocations... [ 44.130841][ T6565] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 44.130863][ T6565] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 44.132091][ T6565] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 44.132114][ T6565] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 m ** replaying previous printk message ** [ 44.132114][ T6565] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 44.132804][ T6565] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 44.132816][ T6565] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 44.133511][ T6565] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 44.133523][ T6565] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 44.134660][ T6565] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 44.134672][ T6565] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 44.135134][ T6565] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.135184][ T6565] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.135325][ T6565] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.135375][ T6565] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.135464][ T6565] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.135514][ T6565] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.135605][ T6565] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.135655][ T6565] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.135733][ T6565] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.135782][ T6565] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.135860][ T6565] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.135909][ T6565] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.135987][ T6565] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.136036][ T6565] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 44.136980][ T6565] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 44.137031][ T6565] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 44.137120][ T6565] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 44.137171][ T6565] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 44.137261][ T6565] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 44.137312][ T6565] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 44.137399][ T6565] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 44.137410][ T6565] Ratelimiting new instances of previous error [ 44.137480][ T6565] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 44.137490][ T6565] Ratelimiting new instances of previous error [ 44.158430][ T6565] done [ 44.159426][ T6565] bcachefs (loop0): going read-write [ 44.177208][ T6574] ODEBUG: object 00000000178037c7 is on stack 00000000406db8d8, but NOT annotated. [ 44.177578][ T6574] ------------[ cut here ]------------ [ 44.177589][ T6574] WARNING: CPU: 1 PID: 6574 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 44.280337][ T6574] Modules linked in: [ 44.281452][ T6574] CPU: 1 UID: 0 PID: 6574 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 44.283145][ T6565] bcachefs (loop0): journal_replay... [ 44.285218][ T6574] Tainted: [B]=BAD_PAGE, [W]=WARN [ 44.288164][ T6574] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 44.291034][ T6574] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 44.293222][ T6574] pc : __debug_object_init+0x364/0x40c [ 44.294796][ T6574] lr : __debug_object_init+0x364/0x40c ** replaying previous printk message ** [ 44.295702][ T6565] done [ 44.298098][ T6574] sp : ffff8000a3d47700 [ 44.298389][ T6565] bcachefs (loop0): check_alloc_info... [ 44.299287][ T6574] x29: ffff8000a3d47700 x28: 0000000000000004 x27: dfff800000000000 ** replaying previous printk message ** [ 44.301593][ T6565] done [ 44.304967][ T6565] bcachefs (loop0): check_lrus... [ 44.304977][ T6574] x26: ffff800097693000 x25: ffff0000ccc30020 x24: 0000000000000000 ** replaying previous printk message ** [ 44.306749][ T6565] done [ 44.310265][ T6565] bcachefs (loop0): check_btree_backpointers... [ 44.310274][ T6574] x23: ffff0000cea732a0 x22: 0000000000000000 x21: ffff80009759d780 ** replaying previous printk message ** [ 44.312841][ T6565] done [ 44.316045][ T6574] x20: ffff80008af70de0 x19: ffff8000a3d47bb0 [ 44.316057][ T6565] bcachefs (loop0): check_backpointers_to_extents... [ 44.317735][ T6574] x18: 1fffe000337e1476 ** replaying previous printk message ** [ 44.318605][ T6565] done [ 44.322523][ T6574] [ 44.322845][ T6565] bcachefs (loop0): check_extents_to_backpointers... [ 44.323170][ T6574] x17: 7562202c38643862 ** replaying previous printk message ** [ 44.323696][ T6565] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 44.329502][ T6574] x16: ffff80008aec8e2c x15: 0000000000000001 ** replaying previous printk message ** [ 44.330118][ T6565] done [ 44.333002][ T6574] x14: 1ffff000147a8e58 x13: 0000000000000000 x12: 0000000000000000 [ 44.333311][ T6565] bcachefs (loop0): check_alloc_to_lru_refs... [ 44.335189][ T6574] x11: ffff7000147a8e59 ** replaying previous printk message ** [ 44.335916][ T6565] done [ 44.339730][ T6574] x10: 0000000000ff0100 x9 : dc82516f4e7fb800 [ 44.340053][ T6565] bcachefs (loop0): bucket_gens_init... [ 44.341451][ T6574] x8 : dc82516f4e7fb800 x7 : 0000000000000001 x6 : 0000000000000001 ** replaying previous printk message ** [ 44.345099][ T6565] done [ 44.347065][ T6574] x5 : ffff8000a3d47098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 44.347384][ T6565] bcachefs (loop0): check_snapshot_trees... [ 44.349392][ T6574] x2 : 0000000000000001 ** replaying previous printk message ** [ 44.349740][ T6565] done ** replaying previous printk message ** [ 44.353890][ T6565] bcachefs (loop0): check_snapshots... [ 44.353902][ T6574] x1 : 0000000100000001 x0 : 0000000000000050 ** replaying previous printk message ** [ 44.356637][ T6565] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 44.361295][ T6574] Call trace: [ 44.361298][ T6565] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 44.365933][ T6574] __debug_object_init+0x364/0x40c (P) [ 44.367497][ T6574] debug_object_init+0x20/0x2c [ 44.368809][ T6574] __init_work+0x58/0x68 ** replaying previous printk message ** [ 44.369316][ T6565] done [ 44.371711][ T6574] rhashtable_init_noprof+0x734/0xa10 [ 44.372029][ T6565] bcachefs (loop0): check_subvols... [ 44.373227][ T6574] bch2_copygc_thread+0xec/0xd40 ** replaying previous printk message ** [ 44.373828][ T6565] done ** replaying previous printk message ** [ 44.377798][ T6565] bcachefs (loop0): check_subvol_children... [ 44.377803][ T6574] kthread+0x5fc/0x75c [ 44.381565][ T6574] ret_from_fork+0x10/0x20 ** replaying previous printk message ** [ 44.381966][ T6565] done [ 44.384542][ T6574] irq event stamp: 0 [ 44.384545][ T6565] bcachefs (loop0): delete_dead_snapshots... [ 44.385701][ T6574] hardirqs last enabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 44.386048][ T6565] done [ 44.391142][ T6565] bcachefs (loop0): check_inodes... [ 44.391156][ T6574] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec ** replaying previous printk message ** [ 44.391959][ T6565] bcachefs (loop0): inode points to missing dirent ** replaying previous printk message ** [ 44.397842][ T6565] inum: 4099:4294967295 [ 44.397839][ T6574] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 44.402557][ T6565] mode=100755 [ 44.402557][ T6574] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 44.405513][ T6565] flags=(15300000) [ 44.405512][ T6574] ---[ end trace 0000000000000000 ]--- [ 44.408170][ T6565] journal_seq=5 [ 44.409391][ T6565] hash_seed=fc917866faeb7b5b [ 44.410827][ T6565] hash_type=siphash [ 44.412004][ T6565] bi_size=1050 [ 44.413224][ T6565] bi_sectors=8 [ 44.413773][ T6565] bi_version=0 [ 44.413784][ T6565] bi_atime=2770562249 [ 44.413791][ T6565] bi_ctime=2770562249 [ 44.413799][ T6565] bi_mtime=2770562249 [ 44.413807][ T6565] bi_otime=2770562249 [ 44.413814][ T6565] bi_uid=0 [ 44.413822][ T6565] bi_gid=0 [ 44.413829][ T6565] bi_nlink=0 [ 44.413836][ T6565] bi_generation=0 [ 44.413844][ T6565] bi_dev=0 [ 44.413851][ T6565] bi_data_checksum=0 [ 44.413859][ T6565] bi_compression=0 [ 44.413866][ T6565] bi_project=0 [ 44.413874][ T6565] bi_background_compression=0 [ 44.413882][ T6565] bi_data_replicas=0 [ 44.413889][ T6565] bi_promote_target=0 [ 44.413897][ T6565] bi_foreground_target=0 [ 44.413904][ T6565] bi_background_target=0 [ 44.413912][ T6565] bi_erasure_code=0 [ 44.413920][ T6565] bi_fields_set=0 [ 44.413927][ T6565] bi_dir=4098 [ 44.413935][ T6565] bi_dir_offset=8977922886548783724 [ 44.413943][ T6565] bi_subvol=0 [ 44.413950][ T6565] bi_parent_subvol=0 [ 44.413958][ T6565] bi_nocow=0 [ 44.413965][ T6565] bi_depth=0 [ 44.413972][ T6565] bi_inodes_32bit=0 [ 44.413980][ T6565] bi_casefold=0, fixing [ 44.414517][ T6565] bcachefs (loop0): inode points to missing dirent [ 44.414528][ T6565] inum: 4100:4294967295 [ 44.414536][ T6565] mode=120777 [ 44.414543][ T6565] flags=(15300000) [ 44.414551][ T6565] journal_seq=4 [ 44.414558][ T6565] hash_seed=f4891abdd5c0cd85 [ 44.414566][ T6565] hash_type=siphash [ 44.414573][ T6565] bi_size=38 [ 44.414581][ T6565] bi_sectors=8 [ 44.414588][ T6565] bi_version=0 [ 44.414595][ T6565] bi_atime=2770562249 [ 44.414603][ T6565] bi_ctime=2780562352 [ 44.414611][ T6565] bi_mtime=2770562249 [ 44.414618][ T6565] bi_otime=2770562249 [ 44.414626][ T6565] bi_uid=0 [ 44.414633][ T6565] bi_gid=0 [ 44.414640][ T6565] bi_nlink=0 [ 44.414648][ T6565] bi_generation=0 [ 44.414655][ T6565] bi_dev=0 [ 44.414663][ T6565] bi_data_checksum=0 [ 44.414670][ T6565] bi_compression=0 [ 44.414677][ T6565] bi_project=0 [ 44.414685][ T6565] bi_background_compression=0 [ 44.414693][ T6565] bi_data_replicas=0 [ 44.414700][ T6565] bi_promote_target=0 [ 44.414708][ T6565] bi_foreground_target=0 [ 44.414715][ T6565] bi_background_target=0 [ 44.414723][ T6565] bi_erasure_code=0 [ 44.414730][ T6565] bi_fields_set=0 [ 44.414738][ T6565] bi_dir=4098 [ 44.414745][ T6565] bi_dir_offset=5675548428000973578 [ 44.414753][ T6565] bi_subvol=0 [ 44.414760][ T6565] bi_parent_subvol=0 [ 44.414768][ T6565] bi_nocow=0 [ 44.414775][ T6565] bi_depth=0 [ 44.414783][ T6565] bi_inodes_32bit=0 [ 44.414790][ T6565] bi_casefold=0, fixing [ 44.415540][ T6565] done [ 44.415964][ T6565] bcachefs (loop0): check_extents... done [ 44.416835][ T6565] bcachefs (loop0): check_indirect_extents... done [ 44.417236][ T6565] bcachefs (loop0): check_dirents... [ 44.417614][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.417625][ T6565] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 44.417898][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.417909][ T6565] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 44.418073][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.418084][ T6565] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 44.418251][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.418261][ T6565] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 44.418437][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.418447][ T6565] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 44.418606][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 44.418616][ T6565] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 44.418766][ T6565] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 44.419195][ T6565] done [ 44.419565][ T6565] bcachefs (loop0): check_xattrs... done [ 44.420386][ T6565] bcachefs (loop0): check_root... done [ 44.420875][ T6565] bcachefs (loop0): check_unreachable_inodes... [ 44.421351][ T6565] bcachefs (loop0): unreachable inode: [ 44.421362][ T6565] inum: 4099:4294967295 [ 44.421369][ T6565] mode=100755 [ 44.421377][ T6565] flags=(4300000) [ 44.421384][ T6565] journal_seq=20 [ 44.421392][ T6565] hash_seed=fc917866faeb7b5b [ 44.421400][ T6565] hash_type=siphash [ 44.421407][ T6565] bi_size=1050 [ 44.421415][ T6565] bi_sectors=8 [ 44.421422][ T6565] bi_version=0 [ 44.421429][ T6565] bi_atime=2770562249 [ 44.421437][ T6565] bi_ctime=2770562249 [ 44.421444][ T6565] bi_mtime=2770562249 [ 44.421452][ T6565] bi_otime=2770562249 [ 44.421460][ T6565] bi_uid=0 [ 44.421467][ T6565] bi_gid=0 [ 44.421474][ T6565] bi_nlink=0 [ 44.421482][ T6565] bi_generation=0 [ 44.421489][ T6565] bi_dev=0 [ 44.421497][ T6565] bi_data_checksum=0 [ 44.421504][ T6565] bi_compression=0 [ 44.421512][ T6565] bi_project=0 [ 44.421519][ T6565] bi_background_compression=0 [ 44.421527][ T6565] bi_data_replicas=0 [ 44.421535][ T6565] bi_promote_target=0 [ 44.421542][ T6565] bi_foreground_target=0 [ 44.421550][ T6565] bi_background_target=0 [ 44.421557][ T6565] bi_erasure_code=0 [ 44.421565][ T6565] bi_fields_set=0 [ 44.421572][ T6565] bi_dir=0 [ 44.421580][ T6565] bi_dir_offset=0 [ 44.421587][ T6565] bi_subvol=0 [ 44.421595][ T6565] bi_parent_subvol=0 [ 44.421602][ T6565] bi_nocow=0 [ 44.421609][ T6565] bi_depth=0 [ 44.421617][ T6565] bi_inodes_32bit=0 [ 44.421624][ T6565] bi_casefold=0, fixing [ 44.428274][ T6565] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.429632][ T6565] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.430616][ T6565] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 44.434894][ T6565] bcachefs (loop0): unreachable inode: [ 44.434908][ T6565] inum: 4100:4294967295 [ 44.434916][ T6565] mode=120777 [ 44.434923][ T6565] flags=(4300000) [ 44.434931][ T6565] journal_seq=20 [ 44.434938][ T6565] hash_seed=f4891abdd5c0cd85 [ 44.434946][ T6565] hash_type=siphash [ 44.434954][ T6565] bi_size=38 [ 44.434961][ T6565] bi_sectors=8 [ 44.434968][ T6565] bi_version=0 [ 44.434976][ T6565] bi_atime=2770562249 [ 44.434983][ T6565] bi_ctime=2780562352 [ 44.434991][ T6565] bi_mtime=2770562249 [ 44.434998][ T6565] bi_otime=2770562249 [ 44.435006][ T6565] bi_uid=0 [ 44.435013][ T6565] bi_gid=0 [ 44.435020][ T6565] bi_nlink=0 [ 44.435028][ T6565] bi_generation=0 [ 44.435035][ T6565] bi_dev=0 [ 44.435042][ T6565] bi_data_checksum=0 [ 44.435050][ T6565] bi_compression=0 [ 44.435057][ T6565] bi_project=0 [ 44.435064][ T6565] bi_background_compression=0 [ 44.435072][ T6565] bi_data_replicas=0 [ 44.435080][ T6565] bi_promote_target=0 [ 44.435087][ T6565] bi_foreground_target=0 [ 44.435095][ T6565] bi_background_target=0 [ 44.435103][ T6565] bi_erasure_code=0 [ 44.435120][ T6565] bi_fields_set=0 [ 44.435127][ T6565] bi_dir=0 [ 44.435134][ T6565] bi_dir_offset=0 [ 44.435142][ T6565] bi_subvol=0 [ 44.435149][ T6565] bi_parent_subvol=0 [ 44.435157][ T6565] bi_nocow=0 [ 44.435164][ T6565] bi_depth=0 [ 44.435172][ T6565] bi_inodes_32bit=0 [ 44.435179][ T6565] bi_casefold=0, fixing [ 44.435723][ T6565] bcachefs (loop0): unreachable inode: [ 44.435733][ T6565] inum: 536870913:4294967295 [ 44.435740][ T6565] mode=100755 [ 44.435748][ T6565] flags=(15300000) [ 44.435755][ T6565] journal_seq=21 [ 44.435763][ T6565] hash_seed=b68791a594a6d5ae [ 44.435771][ T6565] hash_type=siphash [ 44.435778][ T6565] bi_size=25769812776 [ 44.435786][ T6565] bi_sectors=24 [ 44.435793][ T6565] bi_version=0 [ 44.435800][ T6565] bi_atime=2780562352 [ 44.435808][ T6565] bi_ctime=2780562352 [ 44.435816][ T6565] bi_mtime=2780562352 [ 44.435823][ T6565] bi_otime=2780562352 [ 44.435831][ T6565] bi_uid=0 [ 44.435838][ T6565] bi_gid=0 [ 44.435845][ T6565] bi_nlink=1 [ 44.435853][ T6565] bi_generation=0 [ 44.435860][ T6565] bi_dev=0 [ 44.435867][ T6565] bi_data_checksum=0 [ 44.435875][ T6565] bi_compression=0 [ 44.435882][ T6565] bi_project=0 [ 44.435890][ T6565] bi_background_compression=0 [ 44.435897][ T6565] bi_data_replicas=0 [ 44.435905][ T6565] bi_promote_target=1 [ 44.435912][ T6565] bi_foreground_target=0 [ 44.435920][ T6565] bi_background_target=0 [ 44.435928][ T6565] bi_erasure_code=0 [ 44.435935][ T6565] bi_fields_set=0 [ 44.435943][ T6565] bi_dir=0 [ 44.435950][ T6565] bi_dir_offset=2695648408715017799 [ 44.435958][ T6565] bi_subvol=0 [ 44.435965][ T6565] bi_parent_subvol=0 [ 44.435973][ T6565] bi_nocow=0 [ 44.435980][ T6565] bi_depth=0 [ 44.435987][ T6565] bi_inodes_32bit=0 [ 44.435995][ T6565] bi_casefold=0, fixing [ 44.436526][ T6565] bcachefs (loop0): unreachable inode: [ 44.436535][ T6565] inum: 536870914:4294967295 [ 44.436543][ T6565] mode=100755 [ 44.436551][ T6565] flags=(15300000) [ 44.436558][ T6565] journal_seq=21 [ 44.436566][ T6565] hash_seed=d483206f1ed95abf [ 44.436573][ T6565] hash_type=siphash [ 44.436581][ T6565] bi_size=100 [ 44.436588][ T6565] bi_sectors=8 [ 44.436596][ T6565] bi_version=1126999418470400 [ 44.436603][ T6565] bi_atime=0 [ 44.436610][ T6565] bi_ctime=0 [ 44.436618][ T6565] bi_mtime=0 [ 44.436625][ T6565] bi_otime=2780562352 [ 44.436633][ T6565] bi_uid=2780562352 [ 44.436640][ T6565] bi_gid=0 [ 44.436647][ T6565] bi_nlink=2780562352 [ 44.436655][ T6565] bi_generation=0 [ 44.436662][ T6565] bi_dev=0 [ 44.436670][ T6565] bi_data_checksum=0 [ 44.436677][ T6565] bi_compression=0 [ 44.436685][ T6565] bi_project=0 [ 44.436692][ T6565] bi_background_compression=0 [ 44.436700][ T6565] bi_data_replicas=0 [ 44.436707][ T6565] bi_promote_target=0 [ 44.436715][ T6565] bi_foreground_target=0 [ 44.436722][ T6565] bi_background_target=0 [ 44.436730][ T6565] bi_erasure_code=0 [ 44.436737][ T6565] bi_fields_set=0 [ 44.436745][ T6565] bi_dir=0 [ 44.436752][ T6565] bi_dir_offset=9097378837824744618 [ 44.436760][ T6565] bi_subvol=0 [ 44.436767][ T6565] bi_parent_subvol=0 [ 44.436775][ T6565] bi_nocow=0 [ 44.436782][ T6565] bi_depth=0 [ 44.436789][ T6565] bi_inodes_32bit=0 [ 44.436797][ T6565] bi_casefold=0, fixing [ 44.437541][ T6565] done [ 44.462960][ T6565] bcachefs (loop0): check_subvolume_structure... done [ 44.463444][ T6565] bcachefs (loop0): check_directory_structure... [ 44.463702][ T6565] bcachefs (loop0): inode points to dirent that does not point back: [ 44.463702][ T6565] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 44.463702][ T6565] inum: 4097:4294967295 [ 44.463702][ T6565] mode=40700 [ 44.463702][ T6565] flags=has_case_insensitive(15300400) [ 44.463702][ T6565] journal_seq=21 [ 44.463702][ T6565] hash_seed=a9fcff247692d1ca [ 44.463702][ T6565] hash_type=siphash [ 44.463702][ T6565] bi_size=0 [ 44.463702][ T6565] bi_sectors=0 [ 44.463702][ T6565] bi_version=0 [ 44.463702][ T6565] bi_atime=200535484 [ 44.463702][ T6565] bi_ctime=200535484 [ 44.463702][ T6565] bi_mtime=200535484 [ 44.463702][ T6565] bi_otime=200535484 [ 44.463702][ T6565] bi_uid=0 [ 44.463702][ T6565] bi_gid=0 [ 44.463702][ T6565] bi_nlink=0 [ 44.463702][ T6565] bi_generation=0 [ 44.463702][ T6565] bi_dev=0 [ 44.463702][ T6565] bi_data_checksum=0 [ 44.463702][ T6565] bi_compression=0 [ 44.463702][ T6565] bi_project=0 [ 44.463702][ T6565] bi_background_compression=0 [ 44.463702][ T6565] bi_data_replicas=0 [ 44.463702][ T6565] bi_promote_target=0 [ 44.463702][ T6565] bi_foreground_target=0 [ 44.463702][ T6565] bi_background_target=0 [ 44.463702][ T6565] bi_erasure_code=0 [ 44.463702][ T6565] bi_fields_set=0 [ 44.463702][ T6565] bi_dir=4096 [ 44.463702][ T6565] bi_dir_offset=8130059955150870709 [ 44.463702][ T6565] bi_subvol=0 [ 44.463702][ T6565] bi_parent_subvol=0 [ 44.463702][ T6565] bi_nocow=0 [ 44.463702][ T6565] bi_depth=0 [ 44.463702][ T6565] bi_inodes_32bit=0 [ 44.463702][ T6565] bi_casefold=0 [ 44.463867][ T6565] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 44.463867][ T6565] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 44.463867][ T6565] mode=40700 [ 44.463867][ T6565] flags=has_case_insensitive(15300400) [ 44.463867][ T6565] journal_seq=21 [ 44.463867][ T6565] hash_seed=a9fcff247692d1ca [ 44.463867][ T6565] hash_type=siphash [ 44.463867][ T6565] bi_size=0 [ 44.463867][ T6565] bi_sectors=0 [ 44.463867][ T6565] bi_version=0 [ 44.463867][ T6565] bi_atime=200535484 [ 44.463867][ T6565] bi_ctime=200535484 [ 44.463867][ T6565] bi_mtime=200535484 [ 44.463867][ T6565] bi_otime=200535484 [ 44.463867][ T6565] bi_uid=0 [ 44.463867][ T6565] bi_gid=0 [ 44.463867][ T6565] bi_nlink=0 [ 44.463867][ T6565] bi_generation=0 [ 44.463867][ T6565] bi_dev=0 [ 44.463867][ T6565] bi_data_checksum=0 [ 44.463867][ T6565] bi_compression=0 [ 44.463867][ T6565] bi_project=0 [ 44.463867][ T6565] bi_background_compression=0 [ 44.463867][ T6565] bi_data_replicas=0 [ 44.463867][ T6565] bi_promote_target=0 [ 44.463867][ T6565] bi_foreground_target=0 [ 44.463867][ T6565] bi_background_target=0 [ 44.463867][ T6565] bi_erasure_code=0 [ 44.463867][ T6565] bi_fields_set=0 [ 44.463867][ T6565] bi_dir=4096 [ 44.463867][ T6565] bi_dir_offset=8130059955150870709 [ 44.463867][ T6565] bi_subvol=0 [ 44.463867][ T6565] bi_parent_subvol=0 [ 44.463867][ T6565] bi_nocow=0 [ 44.463867][ T6565] bi_depth=0 [ 44.463867][ T6565] bi_inodes_32bit=0 [ 44.463867][ T6565] bi_casefold=0 [ 44.463916][ T6565] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 44.463940][ T6565] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 44.463992][ T6565] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 44.464017][ T6565] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 44.464036][ T6565] bcachefs (loop0): shutting down [ 44.464050][ T6565] bcachefs (loop0): going read-only [ 44.464075][ T6565] bcachefs (loop0): finished waiting for writes to stop [ 44.512768][ T6565] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 44.512814][ T6565] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 44.512995][ T6565] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 44.516332][ T6565] bcachefs (loop0): done going read-only, filesystem not clean [ 44.523033][ T6565] bcachefs (loop0): shutdown complete [ 45.563656][ T6565] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 45.694963][ T6578] loop0: detected capacity change from 0 to 32768 [ 45.739931][ T6578] 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.739931][ T6578] allowing incompatible features above 0.0: (unknown version) [ 45.739931][ T6578] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 45.740000][ T6578] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 45.740089][ T6578] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 45.740213][ T6578] bcachefs (loop0): Version upgrade required: [ 45.740213][ T6578] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 45.740213][ T6578] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 45.740213][ T6578] 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.748402][ T6578] bcachefs (loop0): accounting_read... done [ 45.748879][ T6578] bcachefs (loop0): alloc_read... done [ 45.749325][ T6578] bcachefs (loop0): snapshots_read... done [ 45.749726][ T6578] bcachefs (loop0): check_allocations... [ 45.750515][ T6578] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 45.750528][ T6578] 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.751408][ T6578] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 45.751421][ T6578] 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.755233][ T6578] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 45.755247][ T6578] 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.755928][ T6578] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 45.755940][ T6578] 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.757029][ T6578] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 45.757042][ T6578] 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.757515][ T6578] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.757569][ T6578] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.757734][ T6578] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.757784][ T6578] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.757863][ T6578] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.757920][ T6578] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.757999][ T6578] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.758047][ T6578] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.758135][ T6578] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.758193][ T6578] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.758297][ T6578] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.758349][ T6578] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.758429][ T6578] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.758486][ T6578] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.758566][ T6578] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.758615][ T6578] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 45.758693][ T6578] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.758743][ T6578] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.758829][ T6578] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.758879][ T6578] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.758973][ T6578] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.758983][ T6578] Ratelimiting new instances of previous error [ 45.759044][ T6578] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.759055][ T6578] Ratelimiting new instances of previous error [ 45.766014][ T6578] done [ 45.767004][ T6578] bcachefs (loop0): going read-write [ 45.784566][ T6578] bcachefs (loop0): journal_replay... done [ 45.825991][ T6578] bcachefs (loop0): check_alloc_info... done [ 45.828358][ T6578] bcachefs (loop0): check_lrus... done [ 45.828791][ T6578] bcachefs (loop0): check_btree_backpointers... done [ 45.829343][ T6578] bcachefs (loop0): check_backpointers_to_extents... done [ 45.830572][ T6578] bcachefs (loop0): check_extents_to_backpointers... [ 45.831095][ T6578] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 45.831749][ T6578] done [ 45.832050][ T6578] bcachefs (loop0): check_alloc_to_lru_refs... done [ 45.834083][ T6578] bcachefs (loop0): bucket_gens_init... done [ 45.837756][ T6578] bcachefs (loop0): check_snapshot_trees... done [ 45.838146][ T6578] bcachefs (loop0): check_snapshots... [ 45.838348][ T6578] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 45.838359][ T6578] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 45.841810][ T6578] done [ 45.842155][ T6578] bcachefs (loop0): check_subvols... done [ 45.843620][ T6578] bcachefs (loop0): check_subvol_children... done [ 45.844018][ T6578] bcachefs (loop0): delete_dead_snapshots... done [ 45.844418][ T6578] bcachefs (loop0): check_inodes... [ 45.845265][ T6578] bcachefs (loop0): inode points to missing dirent [ 45.845277][ T6578] inum: 4099:4294967295 [ 45.845285][ T6578] mode=100755 [ 45.845292][ T6578] flags=(15300000) [ 45.845300][ T6578] journal_seq=5 [ 45.845307][ T6578] hash_seed=fc917866faeb7b5b [ 45.845315][ T6578] hash_type=siphash [ 45.845323][ T6578] bi_size=1050 [ 45.845330][ T6578] bi_sectors=8 [ 45.845342][ T6578] bi_version=0 [ 45.845350][ T6578] bi_atime=2770562249 [ 45.845357][ T6578] bi_ctime=2770562249 [ 45.845365][ T6578] bi_mtime=2770562249 [ 45.845372][ T6578] bi_otime=2770562249 [ 45.845380][ T6578] bi_uid=0 [ 45.845387][ T6578] bi_gid=0 [ 45.845394][ T6578] bi_nlink=0 [ 45.845401][ T6578] bi_generation=0 [ 45.845409][ T6578] bi_dev=0 [ 45.845416][ T6578] bi_data_checksum=0 [ 45.845424][ T6578] bi_compression=0 [ 45.845431][ T6578] bi_project=0 [ 45.845438][ T6578] bi_background_compression=0 [ 45.845446][ T6578] bi_data_replicas=0 [ 45.845454][ T6578] bi_promote_target=0 [ 45.845461][ T6578] bi_foreground_target=0 [ 45.845469][ T6578] bi_background_target=0 [ 45.845476][ T6578] bi_erasure_code=0 [ 45.845488][ T6578] bi_fields_set=0 [ 45.845495][ T6578] bi_dir=4098 [ 45.845503][ T6578] bi_dir_offset=8977922886548783724 [ 45.845511][ T6578] bi_subvol=0 [ 45.845518][ T6578] bi_parent_subvol=0 [ 45.845525][ T6578] bi_nocow=0 [ 45.845533][ T6578] bi_depth=0 [ 45.845540][ T6578] bi_inodes_32bit=0 [ 45.845547][ T6578] bi_casefold=0, fixing [ 45.846003][ T6578] bcachefs (loop0): inode points to missing dirent [ 45.846013][ T6578] inum: 4100:4294967295 [ 45.846021][ T6578] mode=120777 [ 45.846028][ T6578] flags=(15300000) [ 45.846036][ T6578] journal_seq=4 [ 45.846043][ T6578] hash_seed=f4891abdd5c0cd85 [ 45.846051][ T6578] hash_type=siphash [ 45.846058][ T6578] bi_size=38 [ 45.846073][ T6578] bi_sectors=8 [ 45.846081][ T6578] bi_version=0 [ 45.846088][ T6578] bi_atime=2770562249 [ 45.846095][ T6578] bi_ctime=2780562352 [ 45.846103][ T6578] bi_mtime=2770562249 [ 45.846117][ T6578] bi_otime=2770562249 [ 45.846124][ T6578] bi_uid=0 [ 45.846131][ T6578] bi_gid=0 [ 45.846138][ T6578] bi_nlink=0 [ 45.846146][ T6578] bi_generation=0 [ 45.846153][ T6578] bi_dev=0 [ 45.846160][ T6578] bi_data_checksum=0 [ 45.846168][ T6578] bi_compression=0 [ 45.846175][ T6578] bi_project=0 [ 45.846182][ T6578] bi_background_compression=0 [ 45.846190][ T6578] bi_data_replicas=0 [ 45.846205][ T6578] bi_promote_target=0 [ 45.846213][ T6578] bi_foreground_target=0 [ 45.846224][ T6578] bi_background_target=0 [ 45.846232][ T6578] bi_erasure_code=0 [ 45.846240][ T6578] bi_fields_set=0 [ 45.846247][ T6578] bi_dir=4098 [ 45.846254][ T6578] bi_dir_offset=5675548428000973578 [ 45.846262][ T6578] bi_subvol=0 [ 45.846269][ T6578] bi_parent_subvol=0 [ 45.846277][ T6578] bi_nocow=0 [ 45.846284][ T6578] bi_depth=0 [ 45.846291][ T6578] bi_inodes_32bit=0 [ 45.846299][ T6578] bi_casefold=0, fixing [ 45.847051][ T6578] done [ 45.847484][ T6578] bcachefs (loop0): check_extents... done [ 45.848368][ T6578] bcachefs (loop0): check_indirect_extents... done [ 45.848772][ T6578] bcachefs (loop0): check_dirents... [ 45.849164][ T6578] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.849179][ T6578] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 45.849464][ T6578] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.849475][ T6578] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 45.849670][ T6578] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.849681][ T6578] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 45.849839][ T6578] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.849849][ T6578] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 45.850022][ T6578] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.850033][ T6578] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 45.850206][ T6578] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.850217][ T6578] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 45.850383][ T6578] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 45.850839][ T6578] done [ 45.851194][ T6578] bcachefs (loop0): check_xattrs... done [ 45.851950][ T6578] bcachefs (loop0): check_root... done [ 45.854711][ T6578] bcachefs (loop0): check_unreachable_inodes... [ 45.855466][ T6578] bcachefs (loop0): unreachable inode: [ 45.855478][ T6578] inum: 4099:4294967295 [ 45.855486][ T6578] mode=100755 [ 45.855493][ T6578] flags=(4300000) [ 45.855500][ T6578] journal_seq=21 [ 45.855508][ T6578] hash_seed=fc917866faeb7b5b [ 45.855516][ T6578] hash_type=siphash [ 45.855523][ T6578] bi_size=1050 [ 45.855530][ T6578] bi_sectors=8 [ 45.855538][ T6578] bi_version=0 [ 45.855545][ T6578] bi_atime=2770562249 [ 45.855553][ T6578] bi_ctime=2770562249 [ 45.855560][ T6578] bi_mtime=2770562249 [ 45.855568][ T6578] bi_otime=2770562249 [ 45.855575][ T6578] bi_uid=0 [ 45.855582][ T6578] bi_gid=0 [ 45.855590][ T6578] bi_nlink=0 [ 45.855597][ T6578] bi_generation=0 [ 45.855604][ T6578] bi_dev=0 [ 45.855611][ T6578] bi_data_checksum=0 [ 45.855623][ T6578] bi_compression=0 [ 45.855631][ T6578] bi_project=0 [ 45.855638][ T6578] bi_background_compression=0 [ 45.855646][ T6578] bi_data_replicas=0 [ 45.855653][ T6578] bi_promote_target=0 [ 45.855661][ T6578] bi_foreground_target=0 [ 45.855668][ T6578] bi_background_target=0 [ 45.855676][ T6578] bi_erasure_code=0 [ 45.855683][ T6578] bi_fields_set=0 [ 45.855691][ T6578] bi_dir=0 [ 45.855698][ T6578] bi_dir_offset=0 [ 45.855705][ T6578] bi_subvol=0 [ 45.855712][ T6578] bi_parent_subvol=0 [ 45.855720][ T6578] bi_nocow=0 [ 45.855727][ T6578] bi_depth=0 [ 45.855734][ T6578] bi_inodes_32bit=0 [ 45.855742][ T6578] bi_casefold=0, fixing [ 45.856915][ T6578] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.862943][ T6578] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.863778][ T6578] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.874034][ T6578] bcachefs (loop0): unreachable inode: [ 45.874048][ T6578] inum: 4100:4294967295 [ 45.874056][ T6578] mode=120777 [ 45.874063][ T6578] flags=(4300000) [ 45.874070][ T6578] journal_seq=21 [ 45.874078][ T6578] hash_seed=f4891abdd5c0cd85 [ 45.874086][ T6578] hash_type=siphash [ 45.874093][ T6578] bi_size=38 [ 45.874112][ T6578] bi_sectors=8 [ 45.874120][ T6578] bi_version=0 [ 45.874127][ T6578] bi_atime=2770562249 [ 45.874135][ T6578] bi_ctime=2780562352 [ 45.874143][ T6578] bi_mtime=2770562249 [ 45.874150][ T6578] bi_otime=2770562249 [ 45.874158][ T6578] bi_uid=0 [ 45.874165][ T6578] bi_gid=0 [ 45.874172][ T6578] bi_nlink=0 [ 45.874180][ T6578] bi_generation=0 [ 45.874187][ T6578] bi_dev=0 [ 45.874194][ T6578] bi_data_checksum=0 [ 45.874208][ T6578] bi_compression=0 [ 45.874215][ T6578] bi_project=0 [ 45.874223][ T6578] bi_background_compression=0 [ 45.874231][ T6578] bi_data_replicas=0 [ 45.874238][ T6578] bi_promote_target=0 [ 45.874245][ T6578] bi_foreground_target=0 [ 45.874253][ T6578] bi_background_target=0 [ 45.874260][ T6578] bi_erasure_code=0 [ 45.874268][ T6578] bi_fields_set=0 [ 45.874278][ T6578] bi_dir=0 [ 45.874286][ T6578] bi_dir_offset=0 [ 45.874293][ T6578] bi_subvol=0 [ 45.874300][ T6578] bi_parent_subvol=0 [ 45.874308][ T6578] bi_nocow=0 [ 45.874315][ T6578] bi_depth=0 [ 45.874322][ T6578] bi_inodes_32bit=0 [ 45.874330][ T6578] bi_casefold=0, fixing [ 45.874877][ T6578] bcachefs (loop0): unreachable inode: [ 45.874887][ T6578] inum: 536870913:4294967295 [ 45.874898][ T6578] mode=100755 [ 45.874906][ T6578] flags=(15300000) [ 45.874913][ T6578] journal_seq=22 [ 45.874921][ T6578] hash_seed=b68791a594a6d5ae [ 45.874928][ T6578] hash_type=siphash [ 45.874936][ T6578] bi_size=25769812776 [ 45.874943][ T6578] bi_sectors=24 [ 45.874951][ T6578] bi_version=0 [ 45.874958][ T6578] bi_atime=2780562352 [ 45.874966][ T6578] bi_ctime=2780562352 [ 45.874973][ T6578] bi_mtime=2780562352 [ 45.874981][ T6578] bi_otime=2780562352 [ 45.874988][ T6578] bi_uid=0 [ 45.874995][ T6578] bi_gid=0 [ 45.875002][ T6578] bi_nlink=1 [ 45.875010][ T6578] bi_generation=0 [ 45.875017][ T6578] bi_dev=0 [ 45.875024][ T6578] bi_data_checksum=0 [ 45.875032][ T6578] bi_compression=0 [ 45.875042][ T6578] bi_project=0 [ 45.875049][ T6578] bi_background_compression=0 [ 45.875057][ T6578] bi_data_replicas=0 [ 45.875065][ T6578] bi_promote_target=1 [ 45.875072][ T6578] bi_foreground_target=0 [ 45.875080][ T6578] bi_background_target=0 [ 45.875087][ T6578] bi_erasure_code=0 [ 45.875095][ T6578] bi_fields_set=0 [ 45.875102][ T6578] bi_dir=0 [ 45.875115][ T6578] bi_dir_offset=2695648408715017799 [ 45.875123][ T6578] bi_subvol=0 [ 45.875130][ T6578] bi_parent_subvol=0 [ 45.875138][ T6578] bi_nocow=0 [ 45.875145][ T6578] bi_depth=0 [ 45.875152][ T6578] bi_inodes_32bit=0 [ 45.875160][ T6578] bi_casefold=0, fixing [ 45.875668][ T6578] bcachefs (loop0): unreachable inode: [ 45.875677][ T6578] inum: 536870914:4294967295 [ 45.875685][ T6578] mode=100755 [ 45.875692][ T6578] flags=(15300000) [ 45.875700][ T6578] journal_seq=22 [ 45.875711][ T6578] hash_seed=d483206f1ed95abf [ 45.875718][ T6578] hash_type=siphash [ 45.875726][ T6578] bi_size=100 [ 45.875733][ T6578] bi_sectors=8 [ 45.875740][ T6578] bi_version=1126999418470400 [ 45.875748][ T6578] bi_atime=0 [ 45.875756][ T6578] bi_ctime=0 [ 45.875763][ T6578] bi_mtime=0 [ 45.875771][ T6578] bi_otime=2780562352 [ 45.875778][ T6578] bi_uid=2780562352 [ 45.875786][ T6578] bi_gid=0 [ 45.875793][ T6578] bi_nlink=2780562352 [ 45.875800][ T6578] bi_generation=0 [ 45.875808][ T6578] bi_dev=0 [ 45.875815][ T6578] bi_data_checksum=0 [ 45.875822][ T6578] bi_compression=0 [ 45.875830][ T6578] bi_project=0 [ 45.875837][ T6578] bi_background_compression=0 [ 45.875845][ T6578] bi_data_replicas=0 [ 45.875852][ T6578] bi_promote_target=0 [ 45.875860][ T6578] bi_foreground_target=0 [ 45.875870][ T6578] bi_background_target=0 [ 45.875877][ T6578] bi_erasure_code=0 [ 45.875885][ T6578] bi_fields_set=0 [ 45.875892][ T6578] bi_dir=0 [ 45.875900][ T6578] bi_dir_offset=9097378837824744618 [ 45.875908][ T6578] bi_subvol=0 [ 45.875915][ T6578] bi_parent_subvol=0 [ 45.875922][ T6578] bi_nocow=0 [ 45.875930][ T6578] bi_depth=0 [ 45.875937][ T6578] bi_inodes_32bit=0 [ 45.875945][ T6578] bi_casefold=0, fixing [ 45.876742][ T6578] done [ 45.877152][ T6578] bcachefs (loop0): check_subvolume_structure... done [ 45.877570][ T6578] bcachefs (loop0): check_directory_structure... [ 45.877811][ T6578] bcachefs (loop0): inode points to dirent that does not point back: [ 45.877811][ T6578] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 45.877811][ T6578] inum: 4097:4294967295 [ 45.877811][ T6578] mode=40700 [ 45.877811][ T6578] flags=has_case_insensitive(15300400) [ 45.877811][ T6578] journal_seq=22 [ 45.877811][ T6578] hash_seed=a9fcff247692d1ca [ 45.877811][ T6578] hash_type=siphash [ 45.877811][ T6578] bi_size=0 [ 45.877811][ T6578] bi_sectors=0 [ 45.877811][ T6578] bi_version=0 [ 45.877811][ T6578] bi_atime=200535484 [ 45.877811][ T6578] bi_ctime=200535484 [ 45.877811][ T6578] bi_mtime=200535484 [ 45.877811][ T6578] bi_otime=200535484 [ 45.877811][ T6578] bi_uid=0 [ 45.877811][ T6578] bi_gid=0 [ 45.877811][ T6578] bi_nlink=0 [ 45.877811][ T6578] bi_generation=0 [ 45.877811][ T6578] bi_dev=0 [ 45.877811][ T6578] bi_data_checksum=0 [ 45.877811][ T6578] bi_compression=0 [ 45.877811][ T6578] bi_project=0 [ 45.877811][ T6578] bi_background_compression=0 [ 45.877811][ T6578] bi_data_replicas=0 [ 45.877811][ T6578] bi_promote_target=0 [ 45.877811][ T6578] bi_foreground_target=0 [ 45.877811][ T6578] bi_background_target=0 [ 45.877811][ T6578] bi_erasure_code=0 [ 45.877811][ T6578] bi_fields_set=0 [ 45.877811][ T6578] bi_dir=4096 [ 45.877811][ T6578] bi_dir_offset=8130059955150870709 [ 45.877811][ T6578] bi_subvol=0 [ 45.877811][ T6578] bi_parent_subvol=0 [ 45.877811][ T6578] bi_nocow=0 [ 45.877811][ T6578] bi_depth=0 [ 45.877811][ T6578] bi_inodes_32bit=0 [ 45.877811][ T6578] bi_casefold=0 [ 45.877980][ T6578] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 45.877980][ T6578] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 45.877980][ T6578] mode=40700 [ 45.877980][ T6578] flags=has_case_insensitive(15300400) [ 45.877980][ T6578] journal_seq=22 [ 45.877980][ T6578] hash_seed=a9fcff247692d1ca [ 45.877980][ T6578] hash_type=siphash [ 45.877980][ T6578] bi_size=0 [ 45.877980][ T6578] bi_sectors=0 [ 45.877980][ T6578] bi_version=0 [ 45.877980][ T6578] bi_atime=200535484 [ 45.877980][ T6578] bi_ctime=200535484 [ 45.877980][ T6578] bi_mtime=200535484 [ 45.877980][ T6578] bi_otime=200535484 [ 45.877980][ T6578] bi_uid=0 [ 45.877980][ T6578] bi_gid=0 [ 45.877980][ T6578] bi_nlink=0 [ 45.877980][ T6578] bi_generation=0 [ 45.877980][ T6578] bi_dev=0 [ 45.877980][ T6578] bi_data_checksum=0 [ 45.877980][ T6578] bi_compression=0 [ 45.877980][ T6578] bi_project=0 [ 45.877980][ T6578] bi_background_compression=0 [ 45.877980][ T6578] bi_data_replicas=0 [ 45.877980][ T6578] bi_promote_target=0 [ 45.877980][ T6578] bi_foreground_target=0 [ 45.877980][ T6578] bi_background_target=0 [ 45.877980][ T6578] bi_erasure_code=0 [ 45.877980][ T6578] bi_fields_set=0 [ 45.877980][ T6578] bi_dir=4096 [ 45.877980][ T6578] bi_dir_offset=8130059955150870709 [ 45.877980][ T6578] bi_subvol=0 [ 45.877980][ T6578] bi_parent_subvol=0 [ 45.877980][ T6578] bi_nocow=0 [ 45.877980][ T6578] bi_depth=0 [ 45.877980][ T6578] bi_inodes_32bit=0 [ 45.877980][ T6578] bi_casefold=0 [ 45.878028][ T6578] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 45.878048][ T6578] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 45.878119][ T26] bcachefs (loop0): going read-only [ 45.878146][ T26] bcachefs (loop0): finished waiting for writes to stop [ 45.878229][ T6578] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 45.878254][ T6578] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 45.878272][ T6578] bcachefs (loop0): shutting down [ 45.912663][ T26] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 45.912708][ T26] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 45.912840][ T26] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 45.913834][ T26] bcachefs (loop0): done going read-only, filesystem not clean [ 45.920825][ T6578] bcachefs (loop0): shutdown complete [ 46.973616][ T6578] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 47.107638][ T6591] loop0: detected capacity change from 0 to 32768 [ 47.159681][ T6591] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 47.159681][ T6591] allowing incompatible features above 0.0: (unknown version) [ 47.159681][ T6591] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 47.159752][ T6591] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 47.160016][ T6591] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 47.160131][ T6591] bcachefs (loop0): Version upgrade required: [ 47.160131][ T6591] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 47.160131][ T6591] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 47.160131][ T6591] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 47.171798][ T6591] bcachefs (loop0): accounting_read... done [ 47.172251][ T6591] bcachefs (loop0): alloc_read... done [ 47.173841][ T6591] bcachefs (loop0): snapshots_read... done [ 47.174268][ T6591] bcachefs (loop0): check_allocations... [ 47.175088][ T6591] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 47.175101][ T6591] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 47.176002][ T6591] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 47.176014][ T6591] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 47.176610][ T6591] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 47.176621][ T6591] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 47.177305][ T6591] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 47.177317][ T6591] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 47.178428][ T6591] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 47.178441][ T6591] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 47.178892][ T6591] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.178941][ T6591] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.179086][ T6591] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.179145][ T6591] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.179234][ T6591] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.179284][ T6591] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.179363][ T6591] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.179412][ T6591] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.179498][ T6591] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.179547][ T6591] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.179636][ T6591] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.179685][ T6591] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.179763][ T6591] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.179812][ T6591] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 47.179890][ T6591] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 47.179939][ T6591] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 47.180024][ T6591] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 47.180073][ T6591] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 47.180159][ T6591] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 47.180215][ T6591] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 47.180323][ T6591] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 47.180333][ T6591] Ratelimiting new instances of previous error [ 47.180395][ T6591] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 47.180405][ T6591] Ratelimiting new instances of previous error [ 47.185608][ T6591] done [ 47.186575][ T6591] bcachefs (loop0): going read-write [ 47.194143][ T6591] bcachefs (loop0): journal_replay... done [ 47.210211][ T6591] bcachefs (loop0): check_alloc_info... done [ 47.212636][ T6591] bcachefs (loop0): check_lrus... done [ 47.213098][ T6591] bcachefs (loop0): check_btree_backpointers... done [ 47.213650][ T6591] bcachefs (loop0): check_backpointers_to_extents... done [ 47.214935][ T6591] bcachefs (loop0): check_extents_to_backpointers... [ 47.215533][ T6591] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 47.216235][ T6591] done [ 47.216563][ T6591] bcachefs (loop0): check_alloc_to_lru_refs... done [ 47.217706][ T6591] bcachefs (loop0): bucket_gens_init... done [ 47.221071][ T6591] bcachefs (loop0): check_snapshot_trees... done [ 47.221485][ T6591] bcachefs (loop0): check_snapshots... [ 47.221677][ T6591] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 47.221688][ T6591] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 47.225755][ T6591] done [ 47.226080][ T6591] bcachefs (loop0): check_subvols... done [ 47.226710][ T6591] bcachefs (loop0): check_subvol_children... done [ 47.227146][ T6591] bcachefs (loop0): delete_dead_snapshots... done [ 47.227528][ T6591] bcachefs (loop0): check_inodes... [ 47.228320][ T6591] bcachefs (loop0): inode points to missing dirent [ 47.228331][ T6591] inum: 4099:4294967295 [ 47.228339][ T6591] mode=100755 [ 47.228347][ T6591] flags=(15300000) [ 47.228354][ T6591] journal_seq=5 [ 47.228362][ T6591] hash_seed=fc917866faeb7b5b [ 47.228369][ T6591] hash_type=siphash [ 47.228377][ T6591] bi_size=1050 [ 47.228384][ T6591] bi_sectors=8 [ 47.228391][ T6591] bi_version=0 [ 47.228399][ T6591] bi_atime=2770562249 [ 47.228406][ T6591] bi_ctime=2770562249 [ 47.228414][ T6591] bi_mtime=2770562249 [ 47.228422][ T6591] bi_otime=2770562249 [ 47.228429][ T6591] bi_uid=0 [ 47.228436][ T6591] bi_gid=0 [ 47.228444][ T6591] bi_nlink=0 [ 47.228451][ T6591] bi_generation=0 [ 47.228458][ T6591] bi_dev=0 [ 47.228466][ T6591] bi_data_checksum=0 [ 47.228473][ T6591] bi_compression=0 [ 47.228481][ T6591] bi_project=0 [ 47.228488][ T6591] bi_background_compression=0 [ 47.228496][ T6591] bi_data_replicas=0 [ 47.228503][ T6591] bi_promote_target=0 [ 47.228511][ T6591] bi_foreground_target=0 [ 47.228519][ T6591] bi_background_target=0 [ 47.228526][ T6591] bi_erasure_code=0 [ 47.228534][ T6591] bi_fields_set=0 [ 47.228541][ T6591] bi_dir=4098 [ 47.228549][ T6591] bi_dir_offset=8977922886548783724 [ 47.228557][ T6591] bi_subvol=0 [ 47.228564][ T6591] bi_parent_subvol=0 [ 47.228571][ T6591] bi_nocow=0 [ 47.228579][ T6591] bi_depth=0 [ 47.228586][ T6591] bi_inodes_32bit=0 [ 47.228594][ T6591] bi_casefold=0, fixing [ 47.229023][ T6591] bcachefs (loop0): inode points to missing dirent [ 47.229033][ T6591] inum: 4100:4294967295 [ 47.229041][ T6591] mode=120777 [ 47.229048][ T6591] flags=(15300000) [ 47.229056][ T6591] journal_seq=4 [ 47.229063][ T6591] hash_seed=f4891abdd5c0cd85 [ 47.229071][ T6591] hash_type=siphash [ 47.229079][ T6591] bi_size=38 [ 47.229086][ T6591] bi_sectors=8 [ 47.229093][ T6591] bi_version=0 [ 47.229101][ T6591] bi_atime=2770562249 [ 47.229115][ T6591] bi_ctime=2780562352 [ 47.229122][ T6591] bi_mtime=2770562249 [ 47.229130][ T6591] bi_otime=2770562249 [ 47.229138][ T6591] bi_uid=0 [ 47.229145][ T6591] bi_gid=0 [ 47.229152][ T6591] bi_nlink=0 [ 47.229159][ T6591] bi_generation=0 [ 47.229167][ T6591] bi_dev=0 [ 47.229174][ T6591] bi_data_checksum=0 [ 47.229184][ T6591] bi_compression=0 [ 47.229192][ T6591] bi_project=0 [ 47.229200][ T6591] bi_background_compression=0 [ 47.229208][ T6591] bi_data_replicas=0 [ 47.229215][ T6591] bi_promote_target=0 [ 47.229223][ T6591] bi_foreground_target=0 [ 47.229230][ T6591] bi_background_target=0 [ 47.229238][ T6591] bi_erasure_code=0 [ 47.229245][ T6591] bi_fields_set=0 [ 47.229253][ T6591] bi_dir=4098 [ 47.229260][ T6591] bi_dir_offset=5675548428000973578 [ 47.229268][ T6591] bi_subvol=0 [ 47.229275][ T6591] bi_parent_subvol=0 [ 47.229283][ T6591] bi_nocow=0 [ 47.229290][ T6591] bi_depth=0 [ 47.229298][ T6591] bi_inodes_32bit=0 [ 47.229305][ T6591] bi_casefold=0, fixing [ 47.230007][ T6591] done [ 47.230353][ T6591] bcachefs (loop0): check_extents... done [ 47.231153][ T6591] bcachefs (loop0): check_indirect_extents... done [ 47.231538][ T6591] bcachefs (loop0): check_dirents... [ 47.231934][ T6591] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.231946][ T6591] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 47.232233][ T6591] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.232244][ T6591] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 47.232897][ T6591] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.232909][ T6591] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 47.233062][ T6591] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.233072][ T6591] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 47.233256][ T6591] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.233267][ T6591] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 47.233420][ T6591] bcachefs (loop0): dirent casefold does not match dir casefold [ 47.233430][ T6591] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 47.233575][ T6591] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 47.236455][ T6591] done [ 47.236941][ T6591] bcachefs (loop0): check_xattrs... done [ 47.239064][ T6591] bcachefs (loop0): check_root... done [ 47.239720][ T6591] bcachefs (loop0): check_unreachable_inodes... [ 47.240198][ T6591] bcachefs (loop0): unreachable inode: [ 47.240209][ T6591] inum: 4099:4294967295 [ 47.240217][ T6591] mode=100755 [ 47.240225][ T6591] flags=(4300000) [ 47.240232][ T6591] journal_seq=20 [ 47.240239][ T6591] hash_seed=fc917866faeb7b5b [ 47.240247][ T6591] hash_type=siphash [ 47.240255][ T6591] bi_size=1050 [ 47.240262][ T6591] bi_sectors=8 [ 47.240270][ T6591] bi_version=0 [ 47.240277][ T6591] bi_atime=2770562249 [ 47.240285][ T6591] bi_ctime=2770562249 [ 47.240292][ T6591] bi_mtime=2770562249 [ 47.240300][ T6591] bi_otime=2770562249 [ 47.240307][ T6591] bi_uid=0 [ 47.240315][ T6591] bi_gid=0 [ 47.240322][ T6591] bi_nlink=0 [ 47.240329][ T6591] bi_generation=0 [ 47.240336][ T6591] bi_dev=0 [ 47.240344][ T6591] bi_data_checksum=0 [ 47.240351][ T6591] bi_compression=0 [ 47.240359][ T6591] bi_project=0 [ 47.240366][ T6591] bi_background_compression=0 [ 47.240374][ T6591] bi_data_replicas=0 [ 47.240382][ T6591] bi_promote_target=0 [ 47.240389][ T6591] bi_foreground_target=0 [ 47.240397][ T6591] bi_background_target=0 [ 47.240405][ T6591] bi_erasure_code=0 [ 47.240412][ T6591] bi_fields_set=0 [ 47.240419][ T6591] bi_dir=0 [ 47.240427][ T6591] bi_dir_offset=0 [ 47.240434][ T6591] bi_subvol=0 [ 47.240442][ T6591] bi_parent_subvol=0 [ 47.240449][ T6591] bi_nocow=0 [ 47.240456][ T6591] bi_depth=0 [ 47.240464][ T6591] bi_inodes_32bit=0 [ 47.240471][ T6591] bi_casefold=0, fixing [ 47.241587][ T6591] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 47.243067][ T6591] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 47.245271][ T6591] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 47.249658][ T6591] bcachefs (loop0): unreachable inode: [ 47.249670][ T6591] inum: 4100:4294967295 [ 47.249678][ T6591] mode=120777 [ 47.249685][ T6591] flags=(4300000) [ 47.249692][ T6591] journal_seq=20 [ 47.249700][ T6591] hash_seed=f4891abdd5c0cd85 [ 47.249707][ T6591] hash_type=siphash [ 47.249715][ T6591] bi_size=38 [ 47.249722][ T6591] bi_sectors=8 [ 47.249729][ T6591] bi_version=0 [ 47.249737][ T6591] bi_atime=2770562249 [ 47.249744][ T6591] bi_ctime=2780562352 [ 47.249752][ T6591] bi_mtime=2770562249 [ 47.249759][ T6591] bi_otime=2770562249 [ 47.249766][ T6591] bi_uid=0 [ 47.249774][ T6591] bi_gid=0 [ 47.249781][ T6591] bi_nlink=0 [ 47.249788][ T6591] bi_generation=0 [ 47.249795][ T6591] bi_dev=0 [ 47.249802][ T6591] bi_data_checksum=0 [ 47.249810][ T6591] bi_compression=0 [ 47.249818][ T6591] bi_project=0 [ 47.249825][ T6591] bi_background_compression=0 [ 47.249833][ T6591] bi_data_replicas=0 [ 47.249840][ T6591] bi_promote_target=0 [ 47.249848][ T6591] bi_foreground_target=0 [ 47.249855][ T6591] bi_background_target=0 [ 47.249863][ T6591] bi_erasure_code=0 [ 47.249870][ T6591] bi_fields_set=0 [ 47.249877][ T6591] bi_dir=0 [ 47.249884][ T6591] bi_dir_offset=0 [ 47.249892][ T6591] bi_subvol=0 [ 47.249899][ T6591] bi_parent_subvol=0 [ 47.249907][ T6591] bi_nocow=0 [ 47.249914][ T6591] bi_depth=0 [ 47.249921][ T6591] bi_inodes_32bit=0 [ 47.249928][ T6591] bi_casefold=0, fixing [ 47.250480][ T6591] bcachefs (loop0): unreachable inode: [ 47.250490][ T6591] inum: 536870913:4294967295 [ 47.250498][ T6591] mode=100755 [ 47.250505][ T6591] flags=(15300000) [ 47.250512][ T6591] journal_seq=21 [ 47.250520][ T6591] hash_seed=b68791a594a6d5ae [ 47.250527][ T6591] hash_type=siphash [ 47.250535][ T6591] bi_size=25769812776 [ 47.250542][ T6591] bi_sectors=24 [ 47.250550][ T6591] bi_version=0 [ 47.250557][ T6591] bi_atime=2780562352 [ 47.250564][ T6591] bi_ctime=2780562352 [ 47.250572][ T6591] bi_mtime=2780562352 [ 47.250580][ T6591] bi_otime=2780562352 [ 47.250587][ T6591] bi_uid=0 [ 47.250594][ T6591] bi_gid=0 [ 47.250601][ T6591] bi_nlink=1 [ 47.250609][ T6591] bi_generation=0 [ 47.250616][ T6591] bi_dev=0 [ 47.250623][ T6591] bi_data_checksum=0 [ 47.250631][ T6591] bi_compression=0 [ 47.250638][ T6591] bi_project=0 [ 47.250646][ T6591] bi_background_compression=0 [ 47.250653][ T6591] bi_data_replicas=0 [ 47.250661][ T6591] bi_promote_target=1 [ 47.250668][ T6591] bi_foreground_target=0 [ 47.250676][ T6591] bi_background_target=0 [ 47.250684][ T6591] bi_erasure_code=0 [ 47.250691][ T6591] bi_fields_set=0 [ 47.250698][ T6591] bi_dir=0 [ 47.250706][ T6591] bi_dir_offset=2695648408715017799 [ 47.250714][ T6591] bi_subvol=0 [ 47.250721][ T6591] bi_parent_subvol=0 [ 47.250728][ T6591] bi_nocow=0 [ 47.250736][ T6591] bi_depth=0 [ 47.250743][ T6591] bi_inodes_32bit=0 [ 47.250750][ T6591] bi_casefold=0, fixing [ 47.251246][ T6591] bcachefs (loop0): unreachable inode: [ 47.251256][ T6591] inum: 536870914:4294967295 [ 47.251264][ T6591] mode=100755 [ 47.251271][ T6591] flags=(15300000) [ 47.251279][ T6591] journal_seq=21 [ 47.251286][ T6591] hash_seed=d483206f1ed95abf [ 47.251294][ T6591] hash_type=siphash [ 47.251301][ T6591] bi_size=100 [ 47.251308][ T6591] bi_sectors=8 [ 47.251315][ T6591] bi_version=1126999418470400 [ 47.251323][ T6591] bi_atime=0 [ 47.251330][ T6591] bi_ctime=0 [ 47.251338][ T6591] bi_mtime=0 [ 47.251345][ T6591] bi_otime=2780562352 [ 47.251352][ T6591] bi_uid=2780562352 [ 47.251360][ T6591] bi_gid=0 [ 47.251367][ T6591] bi_nlink=2780562352 [ 47.251374][ T6591] bi_generation=0 [ 47.251382][ T6591] bi_dev=0 [ 47.251389][ T6591] bi_data_checksum=0 [ 47.251396][ T6591] bi_compression=0 [ 47.251404][ T6591] bi_project=0 [ 47.251411][ T6591] bi_background_compression=0 [ 47.251419][ T6591] bi_data_replicas=0 [ 47.251426][ T6591] bi_promote_target=0 [ 47.251434][ T6591] bi_foreground_target=0 [ 47.251442][ T6591] bi_background_target=0 [ 47.251449][ T6591] bi_erasure_code=0 [ 47.251457][ T6591] bi_fields_set=0 [ 47.251464][ T6591] bi_dir=0 [ 47.251471][ T6591] bi_dir_offset=9097378837824744618 [ 47.251479][ T6591] bi_subvol=0 [ 47.251486][ T6591] bi_parent_subvol=0 [ 47.251494][ T6591] bi_nocow=0 [ 47.251501][ T6591] bi_depth=0 [ 47.251508][ T6591] bi_inodes_32bit=0 [ 47.251516][ T6591] bi_casefold=0, fixing [ 47.252270][ T6591] done [ 47.255377][ T6591] bcachefs (loop0): check_subvolume_structure... done [ 47.256176][ T6591] bcachefs (loop0): check_directory_structure... [ 47.256410][ T6591] bcachefs (loop0): inode points to dirent that does not point back: [ 47.256410][ T6591] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 47.256410][ T6591] inum: 4097:4294967295 [ 47.256410][ T6591] mode=40700 [ 47.256410][ T6591] flags=has_case_insensitive(15300400) [ 47.256410][ T6591] journal_seq=21 [ 47.256410][ T6591] hash_seed=a9fcff247692d1ca [ 47.256410][ T6591] hash_type=siphash [ 47.256410][ T6591] bi_size=0 [ 47.256410][ T6591] bi_sectors=0 [ 47.256410][ T6591] bi_version=0 [ 47.256410][ T6591] bi_atime=200535484 [ 47.256410][ T6591] bi_ctime=200535484 [ 47.256410][ T6591] bi_mtime=200535484 [ 47.256410][ T6591] bi_otime=200535484 [ 47.256410][ T6591] bi_uid=0 [ 47.256410][ T6591] bi_gid=0 [ 47.256410][ T6591] bi_nlink=0 [ 47.256410][ T6591] bi_generation=0 [ 47.256410][ T6591] bi_dev=0 [ 47.256410][ T6591] bi_data_checksum=0 [ 47.256410][ T6591] bi_compression=0 [ 47.256410][ T6591] bi_project=0 [ 47.256410][ T6591] bi_background_compression=0 [ 47.256410][ T6591] bi_data_replicas=0 [ 47.256410][ T6591] bi_promote_target=0 [ 47.256410][ T6591] bi_foreground_target=0 [ 47.256410][ T6591] bi_background_target=0 [ 47.256410][ T6591] bi_erasure_code=0 [ 47.256410][ T6591] bi_fields_set=0 [ 47.256410][ T6591] bi_dir=4096 [ 47.256410][ T6591] bi_dir_offset=8130059955150870709 [ 47.256410][ T6591] bi_subvol=0 [ 47.256410][ T6591] bi_parent_subvol=0 [ 47.256410][ T6591] bi_nocow=0 [ 47.256410][ T6591] bi_depth=0 [ 47.256410][ T6591] bi_inodes_32bit=0 [ 47.256410][ T6591] bi_casefold=0 [ 47.256560][ T6591] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 47.256560][ T6591] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 47.256560][ T6591] mode=40700 [ 47.256560][ T6591] flags=has_case_insensitive(15300400) [ 47.256560][ T6591] journal_seq=21 [ 47.256560][ T6591] hash_seed=a9fcff247692d1ca [ 47.256560][ T6591] hash_type=siphash [ 47.256560][ T6591] bi_size=0 [ 47.256560][ T6591] bi_sectors=0 [ 47.256560][ T6591] bi_version=0 [ 47.256560][ T6591] bi_atime=200535484 [ 47.256560][ T6591] bi_ctime=200535484 [ 47.256560][ T6591] bi_mtime=200535484 [ 47.256560][ T6591] bi_otime=200535484 [ 47.256560][ T6591] bi_uid=0 [ 47.256560][ T6591] bi_gid=0 [ 47.256560][ T6591] bi_nlink=0 [ 47.256560][ T6591] bi_generation=0 [ 47.256560][ T6591] bi_dev=0 [ 47.256560][ T6591] bi_data_checksum=0 [ 47.256560][ T6591] bi_compression=0 [ 47.256560][ T6591] bi_project=0 [ 47.256560][ T6591] bi_background_compression=0 [ 47.256560][ T6591] bi_data_replicas=0 [ 47.256560][ T6591] bi_promote_target=0 [ 47.256560][ T6591] bi_foreground_target=0 [ 47.256560][ T6591] bi_background_target=0 [ 47.256560][ T6591] bi_erasure_code=0 [ 47.256560][ T6591] bi_fields_set=0