Warning: Permanently added '10.128.1.146' (ED25519) to the list of known hosts. executing program [ 38.701228][ T6515] loop0: detected capacity change from 0 to 32768 [ 38.769236][ 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 [ 38.769236][ T6515] allowing incompatible features above 0.0: (unknown version) [ 38.769236][ T6515] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 38.769315][ T6515] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 38.769449][ T6515] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 38.769949][ T6515] bcachefs (loop0): Version upgrade required: [ 38.769949][ T6515] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 38.769949][ T6515] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 38.769949][ 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 [ 38.782310][ T6515] bcachefs (loop0): accounting_read... done [ 38.825190][ T6515] bcachefs (loop0): alloc_read... done [ 38.826168][ T6515] bcachefs (loop0): snapshots_read... done [ 38.826837][ T6515] bcachefs (loop0): check_allocations... [ 38.828875][ T6515] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 38.828897][ 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 [ 38.830279][ T6515] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 38.830294][ 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 [ 38.831143][ T6515] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 38.831157][ 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 [ 38.832093][ T6515] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 38.832107][ 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 [ 38.834103][ T6515] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 38.834118][ 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 [ 38.834740][ T6515] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 38.834826][ T6515] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 38.835084][ T6515] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 38.835158][ T6515] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 38.835261][ T6515] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 38.835322][ T6515] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 38.835436][ T6515] bcachefs (loop0): bucket 0:4 gen 0 has wrong da ** replaying previous printk message ** [ 38.835436][ T6515] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 38.835497][ T6515] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 38.835601][ T6515] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 38.835662][ T6515] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 38.835761][ T6515] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 38.835822][ T6515] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 38.835920][ T6515] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 38.835981][ T6515] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 38.836080][ T6515] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 38.836140][ T6515] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 38.836242][ T6515] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 38.836303][ T6515] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 38.836409][ T6515] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 38.836474][ T6515] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 38.836591][ T6515] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 38.836603][ T6515] Ratelimiting new instances of previous error [ 38.836683][ T6515] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 38.836696][ T6515] Ratelimiting new instances of previous error [ 38.842108][ T6515] done [ 38.848478][ T6515] bcachefs (loop0): going read-write [ 38.882556][ T6525] ODEBUG: object 000000004d62be3d is on stack 0000000054289297, but NOT annotated. [ 38.883231][ T6525] ------------[ cut here ]------------ [ 38.883252][ T6525] WARNING: CPU: 1 PID: 6525 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 38.941076][ T6525] Modules linked in: [ 38.942682][ T6525] CPU: 1 UID: 0 PID: 6525 Comm: bch-copygc/loop Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 38.945786][ T6525] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 38.947198][ T6515] bcachefs (loop0): journal_replay... [ 38.948487][ T6525] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 38.952030][ T6525] pc : __debug_object_init+0x364/0x40c [ 38.953488][ T6525] lr : __debug_object_init+0x364/0x40c [ 38.954918][ T6525] sp : ffff80009de57700 [ 38.956001][ T6525] x29: ffff80009de57700 x28: 0000000000000000 x27: dfff800000000000 [ 38.958087][ T6525] x26: ffff800097693000 x25: ffff0000c921bd20 x24: 0000000000000000 [ 38.960195][ T6525] x23: ffff0000c000dd90 x22: 0000000000000000 x21: ffff800097546828 [ 38.962373][ T6525] x20: ffff80008af70de0 x19: ffff80009de57bb0 x18: 00000000ffffffff [ 38.964568][ T6525] x17: ffff80009331f000 x16: ffff80008aec8e2c x15: 0000000000000001 [ 38.966663][ T6525] x14: 1ffff00013bcae58 x13: 0000000000000000 x12: 0000000000000000 [ 38.968787][ T6525] x11: ffff700013bcae59 x10: 0000000000ff0100 x9 : 00d9fe8897cb5700 [ 38.970921][ T6525] x8 : 00d9fe8897cb5700 x7 : 0000000000000001 x6 : 0000000000000001 [ 38.973089][ T6525] x5 : ffff80009de57098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 38.975188][ T6525] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 38.975501][ T6515] done [ 38.978042][ T6525] Call trace: [ 38.978472][ T6515] bcachefs (loop0): check_alloc_info... [ 38.978881][ T6525] __debug_object_init+0x364/0x40c (P) [ 38.981876][ T6525] debug_object_init+0x20/0x2c ** replaying previous printk message ** [ 38.982284][ T6515] done [ 38.984987][ T6525] __init_work+0x58/0x68 [ 38.985277][ T6515] bcachefs (loop0): check_lrus... [ 38.986200][ T6525] rhashtable_init_noprof+0x734/0xa10 ** replaying previous printk message ** [ 38.986826][ T6515] done [ 38.990823][ T6525] bch2_copygc_thread+0xec/0xd40 [ 38.990858][ T6515] bcachefs (loop0): check_btree_backpointers... [ 38.992124][ T6525] kthread+0x5fc/0x75c ** replaying previous printk message ** [ 38.992878][ T6515] done [ 38.996681][ T6515] bcachefs (loop0): check_backpointers_to_extents... [ 38.996676][ T6525] ret_from_fork+0x10/0x20 [ 38.999629][ T6525] irq event stamp: 22 [ 39.000736][ T6525] hardirqs last enabled at (21): [] get_random_u32+0x2d4/0x540 ** replaying previous printk message ** [ 39.001553][ T6515] done [ 39.004879][ T6525] hardirqs last disabled at (22): [] _raw_spin_lock_irqsave+0x2c/0x7c [ 39.005335][ T6515] bcachefs (loop0): check_extents_to_backpointers... [ 39.007514][ T6525] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 39.008266][ T6515] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 39.013917][ T6525] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 39.015951][ T6525] ---[ end trace 0000000000000000 ]--- [ 39.016304][ T6515] done [ 39.019090][ T6515] bcachefs (loop0): check_alloc_to_lru_refs... done [ 39.022800][ T6515] bcachefs (loop0): bucket_gens_init... done [ 39.029538][ T6515] bcachefs (loop0): check_snapshot_trees... done [ 39.033024][ T6515] bcachefs (loop0): check_snapshots... [ 39.033639][ T6515] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 39.033674][ T6515] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 39.039768][ T6515] done [ 39.040627][ T6515] bcachefs (loop0): check_subvols... done [ 39.041854][ T6515] bcachefs (loop0): check_subvol_children... done [ 39.042453][ T6515] bcachefs (loop0): delete_dead_snapshots... done [ 39.043030][ T6515] bcachefs (loop0): check_inodes... [ 39.044420][ T6515] bcachefs (loop0): inode points to missing dirent [ 39.044443][ T6515] inum: 4099:4294967295 [ 39.044453][ T6515] mode=100755 [ 39.044462][ T6515] flags=(15300000) [ 39.044471][ T6515] journal_seq=5 [ 39.044479][ T6515] hash_seed=fc917866faeb7b5b [ 39.044489][ T6515] hash_type=siphash [ 39.044498][ T6515] bi_size=1050 [ 39.044506][ T6515] bi_sectors=8 [ 39.044515][ T6515] bi_version=0 [ 39.044524][ T6515] bi_atime=2770562249 [ 39.044533][ T6515] bi_ctime=2770562249 [ 39.044542][ T6515] bi_mtime=2770562249 [ 39.044551][ T6515] bi_otime=2770562249 [ 39.044560][ T6515] bi_uid=0 [ 39.044568][ T6515] bi_gid=0 [ 39.044577][ T6515] bi_nlink=0 [ 39.044586][ T6515] bi_generation=0 [ 39.044595][ T6515] bi_dev=0 [ 39.044603][ T6515] bi_data_checksum=0 [ 39.044612][ T6515] bi_compression=0 [ 39.044621][ T6515] bi_project=0 [ 39.044630][ T6515] bi_background_compression=0 [ 39.044639][ T6515] bi_data_replicas=0 [ 39.044648][ T6515] bi_promote_target=0 [ 39.044657][ T6515] bi_foreground_target=0 [ 39.044666][ T6515] bi_background_target=0 [ 39.044675][ T6515] bi_erasure_code=0 [ 39.044684][ T6515] bi_fields_set=0 [ 39.044693][ T6515] bi_dir=4098 [ 39.044702][ T6515] bi_dir_offset=8977922886548783724 [ 39.044711][ T6515] bi_subvol=0 [ 39.044720][ T6515] bi_parent_subvol=0 [ 39.044729][ T6515] bi_nocow=0 [ 39.044738][ T6515] bi_depth=0 [ 39.044747][ T6515] bi_inodes_32bit=0 [ 39.044755][ T6515] bi_casefold=0, fixing [ 39.045311][ T6515] bcachefs (loop0): inode points to missing dirent [ 39.045323][ T6515] inum: 4100:4294967295 [ 39.045332][ T6515] mode=120777 [ 39.045341][ T6515] flags=(15300000) [ 39.045350][ T6515] journal_seq=4 [ 39.045358][ T6515] hash_seed=f4891abdd5c0cd85 [ 39.045368][ T6515] hash_type=siphash [ 39.045376][ T6515] bi_size=38 [ 39.045385][ T6515] bi_sectors=8 [ 39.045400][ T6515] bi_version=0 [ 39.045409][ T6515] bi_atime=2770562249 [ 39.045418][ T6515] bi_ctime=2780562352 [ 39.045431][ T6515] bi_mtime=2770562249 [ 39.045440][ T6515] bi_otime=2770562249 [ 39.045449][ T6515] bi_uid=0 [ 39.045457][ T6515] bi_gid=0 [ 39.045466][ T6515] bi_nlink=0 [ 39.045475][ T6515] bi_generation=0 [ 39.045483][ T6515] bi_dev=0 [ 39.045492][ T6515] bi_data_checksum=0 [ 39.045501][ T6515] bi_compression=0 [ 39.045510][ T6515] bi_project=0 [ 39.045519][ T6515] bi_background_compression=0 [ 39.045528][ T6515] bi_data_replicas=0 [ 39.045537][ T6515] bi_promote_target=0 [ 39.045546][ T6515] bi_foreground_target=0 [ 39.045555][ T6515] bi_background_target=0 [ 39.045564][ T6515] bi_erasure_code=0 [ 39.045573][ T6515] bi_fields_set=0 [ 39.045581][ T6515] bi_dir=4098 [ 39.045590][ T6515] bi_dir_offset=5675548428000973578 [ 39.045600][ T6515] bi_subvol=0 [ 39.045608][ T6515] bi_parent_subvol=0 [ 39.045617][ T6515] bi_nocow=0 [ 39.045626][ T6515] bi_depth=0 [ 39.045635][ T6515] bi_inodes_32bit=0 [ 39.045643][ T6515] bi_casefold=0, fixing [ 39.046779][ T6515] done [ 39.047452][ T6515] bcachefs (loop0): check_extents... done [ 39.048590][ T6515] bcachefs (loop0): check_indirect_extents... done [ 39.049125][ T6515] bcachefs (loop0): check_dirents... [ 39.049779][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.049793][ T6515] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 39.049852][ T6515] ================================================================== [ 39.049866][ T6515] BUG: KASAN: slab-out-of-bounds in bch2_dirent_init_name+0x28c/0x670 [ 39.049884][ T6515] Write of size 1985 at addr ffff0000ca03b041 by task syz-executor305/6515 [ 39.049900][ T6515] [ 39.049912][ T6515] CPU: 1 UID: 0 PID: 6515 Comm: syz-executor305 Tainted: G W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 39.049928][ T6515] Tainted: [W]=WARN [ 39.049932][ T6515] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 39.049939][ T6515] Call trace: [ 39.049943][ T6515] show_stack+0x2c/0x3c (C) [ 39.049959][ T6515] __dump_stack+0x30/0x40 [ 39.049972][ T6515] dump_stack_lvl+0xd8/0x12c [ 39.049985][ T6515] print_address_description+0xa8/0x254 [ 39.049998][ T6515] print_report+0x68/0x84 [ 39.050009][ T6515] kasan_report+0xb0/0x110 [ 39.050020][ T6515] kasan_check_range+0x264/0x2a4 [ 39.050031][ T6515] __asan_memset+0x34/0x64 [ 39.050041][ T6515] bch2_dirent_init_name+0x28c/0x670 [ 39.050052][ T6515] bch2_dirent_create_key+0x1b4/0x434 [ 39.050063][ T6515] bch2_check_dirents+0x1d1c/0x27ac [ 39.050076][ T6515] __bch2_run_recovery_passes+0x29c/0xd18 [ 39.050090][ T6515] bch2_run_recovery_passes+0x174/0x1f4 [ 39.050103][ T6515] bch2_fs_recovery+0x1db8/0x2fd4 [ 39.050116][ T6515] bch2_fs_start+0x914/0xbc0 [ 39.050129][ T6515] bch2_fs_get_tree+0x890/0xfd0 [ 39.050140][ T6515] vfs_get_tree+0x90/0x28c [ 39.050152][ T6515] do_new_mount+0x228/0x814 [ 39.050163][ T6515] path_mount+0x5b4/0xde0 [ 39.050173][ T6515] __arm64_sys_mount+0x3e8/0x468 [ 39.050184][ T6515] invoke_syscall+0x98/0x2b8 [ 39.050197][ T6515] el0_svc_common+0x130/0x23c [ 39.050210][ T6515] do_el0_svc+0x48/0x58 [ 39.050223][ T6515] el0_svc+0x58/0x17c [ 39.050236][ T6515] el0t_64_sync_handler+0x78/0x108 [ 39.050248][ T6515] el0t_64_sync+0x198/0x19c [ 39.050259][ T6515] [ 39.050407][ T6515] Allocated by task 6515: [ 39.050420][ T6515] kasan_save_track+0x40/0x78 [ 39.050445][ T6515] kasan_save_alloc_info+0x44/0x54 [ 39.050460][ T6515] __kasan_kmalloc+0x9c/0xb4 [ 39.050477][ T6515] __kmalloc_node_track_caller_noprof+0x304/0x4d0 [ 39.050492][ T6515] krealloc_noprof+0x11c/0x2f0 [ 39.050506][ T6515] __bch2_trans_kmalloc+0x1f4/0xb8c [ 39.050521][ T6515] bch2_trans_kmalloc+0x10c/0x160 [ 39.050535][ T6515] bch2_dirent_create_key+0x50/0x434 [ 39.050550][ T6515] bch2_check_dirents+0x1d1c/0x27ac [ 39.050567][ T6515] __bch2_run_recovery_passes+0x29c/0xd18 [ 39.050584][ T6515] bch2_run_recovery_passes+0x174/0x1f4 [ 39.050601][ T6515] bch2_fs_recovery+0x1db8/0x2fd4 [ 39.050618][ T6515] bch2_fs_start+0x914/0xbc0 [ 39.050635][ T6515] bch2_fs_get_tree+0x890/0xfd0 [ 39.050650][ T6515] vfs_get_tree+0x90/0x28c [ 39.050665][ T6515] do_new_mount+0x228/0x814 [ 39.050679][ T6515] path_mount+0x5b4/0xde0 [ 39.050693][ T6515] __arm64_sys_mount+0x3e8/0x468 [ 39.050707][ T6515] invoke_syscall+0x98/0x2b8 [ 39.050724][ T6515] el0_svc_common+0x130/0x23c [ 39.050741][ T6515] do_el0_svc+0x48/0x58 [ 39.050758][ T6515] el0_svc+0x58/0x17c [ 39.050773][ T6515] el0t_64_sync_handler+0x78/0x108 [ 39.050789][ T6515] el0t_64_sync+0x198/0x19c [ 39.050803][ T6515] [ 39.050811][ T6515] The buggy address belongs to the object at ffff0000ca03b000 [ 39.050811][ T6515] which belongs to the cache kmalloc-2k of size 2048 [ 39.050827][ T6515] The buggy address is located 65 bytes inside of [ 39.050827][ T6515] allocated 2048-byte region [ffff0000ca03b000, ffff0000ca03b800) [ 39.050845][ T6515] [ 39.050854][ T6515] The buggy address belongs to the physical page: [ 39.050864][ T6515] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10a038 [ 39.050881][ T6515] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 39.050896][ T6515] flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) [ 39.050914][ T6515] page_type: f5(slab) [ 39.050930][ T6515] raw: 05ffc00000000040 ffff0000c0002000 dead000000000122 0000000000000000 [ 39.050945][ T6515] raw: 0000000000000000 0000000080080008 00000000f5000000 0000000000000000 [ 39.050961][ T6515] head: 05ffc00000000040 ffff0000c0002000 dead000000000122 0000000000000000 [ 39.050977][ T6515] head: 0000000000000000 0000000080080008 00000000f5000000 0000000000000000 [ 39.050993][ T6515] head: 05ffc00000000003 fffffdffc3280e01 00000000ffffffff 00000000ffffffff [ 39.051008][ T6515] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 39.051020][ T6515] page dumped because: kasan: bad access detected [ 39.051030][ T6515] [ 39.051038][ T6515] Memory state around the buggy address: [ 39.051050][ T6515] ffff0000ca03b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.051063][ T6515] ffff0000ca03b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.051077][ T6515] >ffff0000ca03b800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.051088][ T6515] ^ [ 39.051100][ T6515] ffff0000ca03b880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.051113][ T6515] ffff0000ca03b900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.051124][ T6515] ================================================================== [ 39.051137][ T6515] Disabling lock debugging due to kernel taint [ 39.051406][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.051417][ T6515] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 39.051611][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.051622][ T6515] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 39.051776][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.051786][ T6515] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 39.051962][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.051973][ T6515] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 39.052129][ T6515] bcachefs (loop0): dirent casefold does not match dir casefold [ 39.052140][ T6515] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 39.052297][ T6515] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 39.052745][ T6515] done [ 39.053363][ T6515] bcachefs (loop0): check_xattrs... done [ 39.055447][ T6515] bcachefs (loop0): check_root... done [ 39.056884][ T6515] bcachefs (loop0): check_unreachable_inodes... [ 39.057454][ T6515] bcachefs (loop0): unreachable inode: [ 39.057466][ T6515] inum: 4099:4294967295 [ 39.057473][ T6515] mode=100755 [ 39.057481][ T6515] flags=(4300000) [ 39.057488][ T6515] journal_seq=22 [ 39.057495][ T6515] hash_seed=fc917866faeb7b5b [ 39.057503][ T6515] hash_type=siphash [ 39.057511][ T6515] bi_size=1050 [ 39.057518][ T6515] bi_sectors=8 [ 39.057525][ T6515] bi_version=0 [ 39.057532][ T6515] bi_atime=2770562249 [ 39.057540][ T6515] bi_ctime=2770562249 [ 39.057548][ T6515] bi_mtime=2770562249 [ 39.057555][ T6515] bi_otime=2770562249 [ 39.057563][ T6515] bi_uid=0 [ 39.057570][ T6515] bi_gid=0 [ 39.057577][ T6515] bi_nlink=0 [ 39.057584][ T6515] bi_generation=0 [ 39.057592][ T6515] bi_dev=0 [ 39.057599][ T6515] bi_data_checksum=0 [ 39.057606][ T6515] bi_compression=0 [ 39.057614][ T6515] bi_project=0 [ 39.057621][ T6515] bi_background_compression=0 [ 39.057629][ T6515] bi_data_replicas=0 [ 39.057636][ T6515] bi_promote_target=0 [ 39.057644][ T6515] bi_foreground_target=0 [ 39.057651][ T6515] bi_background_target=0 [ 39.057659][ T6515] bi_erasure_code=0 [ 39.057667][ T6515] bi_fields_set=0 [ 39.057674][ T6515] bi_dir=0 [ 39.057681][ T6515] bi_dir_offset=0 [ 39.057689][ T6515] bi_subvol=0 [ 39.057696][ T6515] bi_parent_subvol=0 [ 39.057703][ T6515] bi_nocow=0 [ 39.057710][ T6515] bi_depth=0 [ 39.057718][ T6515] bi_inodes_32bit=0 [ 39.057725][ T6515] bi_casefold=0, fixing [ 39.058973][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.065224][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.066077][ T6515] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 39.075709][ T6515] bcachefs (loop0): unreachable inode: [ 39.075722][ T6515] inum: 4100:4294967295 [ 39.075730][ T6515] mode=120777 [ 39.075737][ T6515] flags=(4300000) [ 39.075745][ T6515] journal_seq=22 [ 39.075752][ T6515] hash_seed=f4891abdd5c0cd85 [ 39.075760][ T6515] hash_type=siphash [ 39.075767][ T6515] bi_size=38 [ 39.075774][ T6515] bi_sectors=8 [ 39.075782][ T6515] bi_version=0 [ 39.075789][ T6515] bi_atime=2770562249 [ 39.075797][ T6515] bi_ctime=2780562352 [ 39.075804][ T6515] bi_mtime=2770562249 [ 39.075812][ T6515] bi_otime=2770562249 [ 39.075819][ T6515] bi_uid=0 [ 39.075826][ T6515] bi_gid=0 [ 39.075834][ T6515] bi_nlink=0 [ 39.075841][ T6515] bi_generation=0 [ 39.075848][ T6515] bi_dev=0 [ 39.075855][ T6515] bi_data_checksum=0 [ 39.075863][ T6515] bi_compression=0 [ 39.075870][ T6515] bi_project=0 [ 39.075878][ T6515] bi_background_compression=0 [ 39.075885][ T6515] bi_data_replicas=0 [ 39.075893][ T6515] bi_promote_target=0 [ 39.075900][ T6515] bi_foreground_target=0 [ 39.075908][ T6515] bi_background_target=0 [ 39.075915][ T6515] bi_erasure_code=0 [ 39.075923][ T6515] bi_fields_set=0 [ 39.075930][ T6515] bi_dir=0 [ 39.075937][ T6515] bi_dir_offset=0 [ 39.075944][ T6515] bi_subvol=0 [ 39.075952][ T6515] bi_parent_subvol=0 [ 39.075959][ T6515] bi_nocow=0 [ 39.075966][ T6515] bi_depth=0 [ 39.075974][ T6515] bi_inodes_32bit=0 [ 39.075981][ T6515] bi_casefold=0, fixing [ 39.076538][ T6515] bcachefs (loop0): unreachable inode: [ 39.076548][ T6515] inum: 536870913:4294967295 [ 39.076556][ T6515] mode=100755 [ 39.076563][ T6515] flags=(15300000) [ 39.076570][ T6515] journal_seq=23 [ 39.076578][ T6515] hash_seed=b68791a594a6d5ae [ 39.076585][ T6515] hash_type=siphash [ 39.076593][ T6515] bi_size=25769812776 [ 39.076600][ T6515] bi_sectors=24 [ 39.076608][ T6515] bi_version=0 [ 39.076615][ T6515] bi_atime=2780562352 [ 39.076622][ T6515] bi_ctime=2780562352 [ 39.076630][ T6515] bi_mtime=2780562352 [ 39.076637][ T6515] bi_otime=2780562352 [ 39.076645][ T6515] bi_uid=0 [ 39.076652][ T6515] bi_gid=0 [ 39.076659][ T6515] bi_nlink=1 [ 39.076666][ T6515] bi_generation=0 [ 39.076673][ T6515] bi_dev=0 [ 39.076681][ T6515] bi_data_checksum=0 [ 39.076688][ T6515] bi_compression=0 [ 39.076695][ T6515] bi_project=0 [ 39.076703][ T6515] bi_background_compression=0 [ 39.076710][ T6515] bi_data_replicas=0 [ 39.076718][ T6515] bi_promote_target=1 [ 39.076725][ T6515] bi_foreground_target=0 [ 39.076733][ T6515] bi_background_target=0 [ 39.076740][ T6515] bi_erasure_code=0 [ 39.076748][ T6515] bi_fields_set=0 [ 39.076755][ T6515] bi_dir=0 [ 39.076762][ T6515] bi_dir_offset=2695648408715017799 [ 39.076770][ T6515] bi_subvol=0 [ 39.076777][ T6515] bi_parent_subvol=0 [ 39.076785][ T6515] bi_nocow=0 [ 39.076792][ T6515] bi_depth=0 [ 39.076799][ T6515] bi_inodes_32bit=0 [ 39.076807][ T6515] bi_casefold=0, fixing [ 39.077303][ T6515] bcachefs (loop0): unreachable inode: [ 39.077313][ T6515] inum: 536870914:4294967295 [ 39.077321][ T6515] mode=100755 [ 39.077328][ T6515] flags=(15300000) [ 39.077335][ T6515] journal_seq=23 [ 39.077343][ T6515] hash_seed=d483206f1ed95abf [ 39.077350][ T6515] hash_type=siphash [ 39.077358][ T6515] bi_size=100 [ 39.077365][ T6515] bi_sectors=8 [ 39.077372][ T6515] bi_version=1126999418470400 [ 39.077380][ T6515] bi_atime=0 [ 39.077388][ T6515] bi_ctime=0 [ 39.077401][ T6515] bi_mtime=0 [ 39.077409][ T6515] bi_otime=2780562352 [ 39.077416][ T6515] bi_uid=2780562352 [ 39.077427][ T6515] bi_gid=0 [ 39.077435][ T6515] bi_nlink=2780562352 [ 39.077442][ T6515] bi_generation=0 [ 39.077450][ T6515] bi_dev=0 [ 39.077457][ T6515] bi_data_checksum=0 [ 39.077464][ T6515] bi_compression=0 [ 39.077472][ T6515] bi_project=0 [ 39.077479][ T6515] bi_background_compression=0 [ 39.077487][ T6515] bi_data_replicas=0 [ 39.077494][ T6515] bi_promote_target=0 [ 39.077502][ T6515] bi_foreground_target=0 [ 39.077509][ T6515] bi_background_target=0 [ 39.077517][ T6515] bi_erasure_code=0 [ 39.077524][ T6515] bi_fields_set=0 [ 39.077532][ T6515] bi_dir=0 [ 39.077539][ T6515] bi_dir_offset=9097378837824744618 [ 39.077547][ T6515] bi_subvol=0 [ 39.077554][ T6515] bi_parent_subvol=0 [ 39.077561][ T6515] bi_nocow=0 [ 39.077569][ T6515] bi_depth=0 [ 39.077576][ T6515] bi_inodes_32bit=0 [ 39.077583][ T6515] bi_casefold=0, fixing [ 39.084380][ T6515] done [ 39.084992][ T6515] bcachefs (loop0): check_subvolume_structure... done [ 39.086194][ T6515] bcachefs (loop0): check_directory_structure... [ 39.086503][ T6515] bcachefs (loop0): inode points to dirent that does not point back: [ 39.086503][ T6515] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 39.086503][ T6515] inum: 4097:4294967295 [ 39.086503][ T6515] mode=40700 [ 39.086503][ T6515] flags=has_case_insensitive(15300400) [ 39.086503][ T6515] journal_seq=23 [ 39.086503][ T6515] hash_seed=a9fcff247692d1ca [ 39.086503][ T6515] hash_type=siphash [ 39.086503][ T6515] bi_size=0 [ 39.086503][ T6515] bi_sectors=0 [ 39.086503][ T6515] bi_version=0 [ 39.086503][ T6515] bi_atime=200535484 [ 39.086503][ T6515] bi_ctime=200535484 [ 39.086503][ T6515] bi_mtime=200535484 [ 39.086503][ T6515] bi_otime=200535484 [ 39.086503][ T6515] bi_uid=0 [ 39.086503][ T6515] bi_gid=0 [ 39.086503][ T6515] bi_nlink=0 [ 39.086503][ T6515] bi_generation=0 [ 39.086503][ T6515] bi_dev=0 [ 39.086503][ T6515] bi_data_checksum=0 [ 39.086503][ T6515] bi_compression=0 [ 39.086503][ T6515] bi_project=0 [ 39.086503][ T6515] bi_background_compression=0 [ 39.086503][ T6515] bi_data_replicas=0 [ 39.086503][ T6515] bi_promote_target=0 [ 39.086503][ T6515] bi_foreground_target=0 [ 39.086503][ T6515] bi_background_target=0 [ 39.086503][ T6515] bi_erasure_code=0 [ 39.086503][ T6515] bi_fields_set=0 [ 39.086503][ T6515] bi_dir=4096 [ 39.086503][ T6515] bi_dir_offset=8130059955150870709 [ 39.086503][ T6515] bi_subvol=0 [ 39.086503][ T6515] bi_parent_subvol=0 [ 39.086503][ T6515] bi_nocow=0 [ 39.086503][ T6515] bi_depth=0 [ 39.086503][ T6515] bi_inodes_32bit=0 [ 39.086503][ T6515] bi_casefold=0 [ 39.086677][ T6515] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 39.086677][ T6515] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 39.086677][ T6515] mode=40700 [ 39.086677][ T6515] flags=has_case_insensitive(15300400) [ 39.086677][ T6515] journal_seq=23 [ 39.086677][ T6515] hash_seed=a9fcff247692d1ca [ 39.086677][ T6515] hash_type=siphash [ 39.086677][ T6515] bi_size=0 [ 39.086677][ T6515] bi_sectors=0 [ 39.086677][ T6515] bi_version=0 [ 39.086677][ T6515] bi_atime=200535484 [ 39.086677][ T6515] bi_ctime=200535484 [ 39.086677][ T6515] bi_mtime=200535484 [ 39.086677][ T6515] bi_otime=200535484 [ 39.086677][ T6515] bi_uid=0 [ 39.086677][ T6515] bi_gid=0 [ 39.086677][ T6515] bi_nlink=0 [ 39.086677][ T6515] bi_generation=0 [ 39.086677][ T6515] bi_dev=0 [ 39.086677][ T6515] bi_data_checksum=0 [ 39.086677][ T6515] bi_compression=0 [ 39.086677][ T6515] bi_project=0 [ 39.086677][ T6515] bi_background_compression=0 [ 39.086677][ T6515] bi_data_replicas=0 [ 39.086677][ T6515] bi_promote_target=0 [ 39.086677][ T6515] bi_foreground_target=0 [ 39.086677][ T6515] bi_background_target=0 [ 39.086677][ T6515] bi_erasure_code=0 [ 39.086677][ T6515] bi_fields_set=0 [ 39.086677][ T6515] bi_dir=4096 [ 39.086677][ T6515] bi_dir_offset=8130059955150870709 [ 39.086677][ T6515] bi_subvol=0 [ 39.086677][ T6515] bi_parent_subvol=0 [ 39.086677][ T6515] bi_nocow=0 [ 39.086677][ T6515] bi_depth=0 [ 39.086677][ T6515] bi_inodes_32bit=0 [ 39.086677][ T6515] bi_casefold=0 [ 39.086726][ T6515] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 39.086745][ T6515] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 39.086804][ T6515] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 24 [ 39.086830][ T6515] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 39.086848][ T6515] bcachefs (loop0): shutting down [ 39.086863][ T6515] bcachefs (loop0): going read-only [ 39.086888][ T6515] bcachefs (loop0): finished waiting for writes to stop [ 39.123907][ T6515] bcachefs (loop0): flushing journal and stopping allocators, journal seq 24 [ 39.123954][ T6515] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 24 [ 39.124137][ T6515] bcachefs (loop0): unclean shutdown complete, journal seq 24 [ 39.137194][ T6515] bcachefs (loop0): done going read-only, filesystem not clean [ 39.145194][ T6515] bcachefs (loop0): shutdown complete [ 40.184992][ T6515] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 40.319128][ T6530] loop0: detected capacity change from 0 to 32768 [ 40.380362][ 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 [ 40.380362][ T6530] allowing incompatible features above 0.0: (unknown version) [ 40.380362][ T6530] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 40.380439][ T6530] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 40.380659][ T6530] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 40.380773][ T6530] bcachefs (loop0): Version upgrade required: [ 40.380773][ T6530] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 40.380773][ T6530] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 40.380773][ 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 [ 40.388947][ T6530] bcachefs (loop0): accounting_read... done [ 40.424377][ T6530] bcachefs (loop0): alloc_read... done [ 40.426507][ T6530] bcachefs (loop0): snapshots_read... done [ 40.428351][ T6530] bcachefs (loop0): check_allocations... [ 40.429163][ T6530] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 40.429184][ 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 [ 40.430047][ T6530] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 40.430060][ 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 [ 40.430633][ T6530] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 40 ** replaying previous printk message ** [ 40.430645][ 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 [ 40.431270][ T6530] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 40.431282][ 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 [ 40.432310][ T6530] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 40.432322][ 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 [ 40.432789][ T6530] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.432839][ T6530] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.432982][ T6530] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.433032][ T6530] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.433111][ T6530] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.433161][ T6530] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.433245][ T6530] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.433295][ T6530] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.433373][ T6530] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.433434][ T6530] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.433514][ T6530] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.433632][ T6530] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.433716][ T6530] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.433765][ T6530] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 40.433853][ T6530] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 40.433902][ T6530] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 40.433980][ T6530] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.434029][ T6530] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.434108][ T6530] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.434157][ T6530] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.434262][ T6530] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 40.434273][ T6530] Ratelimiting new instances of previous error [ 40.434334][ T6530] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 40.434344][ T6530] Ratelimiting new instances of previous error [ 40.439941][ T6530] done [ 40.440922][ T6530] bcachefs (loop0): going read-write [ 40.447253][ T6539] ODEBUG: object 00000000d17effee is on stack 0000000059e14549, but NOT annotated. [ 40.447636][ T6539] ------------[ cut here ]------------ [ 40.447650][ T6539] WARNING: CPU: 1 PID: 6539 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 40.538096][ T6539] Modules linked in: [ 40.539134][ T6539] CPU: 1 UID: 0 PID: 6539 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 40.540758][ T6530] bcachefs (loop0): journal_replay... [ 40.542638][ T6539] Tainted: [B]=BAD_PAGE, [W]=WARN [ 40.545525][ T6539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 40.548133][ T6539] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 40.550178][ T6539] pc : __debug_object_init+0x364/0x40c [ 40.551653][ T6539] lr : __debug_object_init+0x364/0x40c [ 40.553126][ T6539] sp : ffff8000a2007700 [ 40.554258][ T6539] x29: ffff8000a2007700 x28: 0000000000000001 x27: dfff800000000000 ** replaying previous printk message ** [ 40.556344][ T6530] done [ 40.558102][ T6539] x26: ffff800097693000 x25: ffff0000c850bd20 x24: 0000000000000000 [ 40.558369][ T6530] bcachefs (loop0): check_alloc_info... [ 40.560250][ T6539] x23: ffff0000d0d198f8 x22: 0000000000000000 x21: ffff80009756ef50 ** replaying previous printk message ** [ 40.562766][ T6530] done [ 40.565588][ T6539] x20: ffff80008af70de0 x19: ffff8000a2007bb0 x18: 1fffe000337e1476 [ 40.565696][ T6530] bcachefs (loop0): check_lrus... [ 40.567633][ T6539] x17: 7562202c39343534 ** replaying previous printk message ** [ 40.568357][ T6530] done [ 40.568420][ T6530] bcachefs (loop0): check_btree_backpointers... [ 40.571690][ T6539] x16: ffff80008aec8e2c ** replaying previous printk message ** [ 40.572189][ T6530] done [ 40.576124][ T6539] x15: 0000000000000001 [ 40.576151][ T6530] bcachefs (loop0): check_backpointers_to_extents... [ 40.577225][ T6539] x14: 1ffff00014400e58 ** replaying previous printk message ** [ 40.578118][ T6530] done [ 40.581672][ T6539] x13: 0000000000000000 x12: 0000000000000000 [ 40.582068][ T6530] bcachefs (loop0): check_extents_to_backpointers... [ 40.583249][ T6539] x11: ffff700014400e59 ** replaying previous printk message ** [ 40.583968][ T6530] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 40.589175][ T6539] x10: 0000000000ff0100 x9 : bd10fd402677cd00 ** replaying previous printk message ** [ 40.590016][ T6530] done [ 40.592472][ T6539] x8 : bd10fd402677cd00 x7 : 0000000000000001 x6 : 0000000000000001 [ 40.592774][ T6530] bcachefs (loop0): check_alloc_to_lru_refs... [ 40.594597][ T6539] x5 : ffff8000a2007098 ** replaying previous printk message ** [ 40.595354][ T6530] done [ 40.599004][ T6539] x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 40.599349][ T6530] bcachefs (loop0): bucket_gens_init... [ 40.600690][ T6539] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 ** replaying previous printk message ** [ 40.603674][ T6530] done [ 40.605878][ T6539] Call trace: [ 40.606174][ T6530] bcachefs (loop0): check_snapshot_trees... [ 40.606786][ T6539] __debug_object_init+0x364/0x40c (P) ** replaying previous printk message ** [ 40.607371][ T6530] done [ 40.611411][ T6530] bcachefs (loop0): check_snapshots... [ 40.611404][ T6539] debug_object_init+0x20/0x2c [ 40.613770][ T6530] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 40.613782][ T6530] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 40.619849][ T6539] __init_work+0x58/0x68 [ 40.620997][ T6530] done [ 40.621013][ T6539] rhashtable_init_noprof+0x734/0xa10 [ 40.623155][ T6539] bch2_copygc_thread+0xec/0xd40 [ 40.623497][ T6530] bcachefs (loop0): check_subvols... [ 40.624468][ T6539] kthread+0x5fc/0x75c ** replaying previous printk message ** [ 40.625105][ T6530] done [ 40.628656][ T6530] bcachefs (loop0): check_subvol_children... [ 40.628659][ T6539] ret_from_fork+0x10/0x20 [ 40.631404][ T6539] irq event stamp: 0 ** replaying previous printk message ** [ 40.631801][ T6530] done [ 40.633567][ T6530] bcachefs (loop0): delete_dead_snapshots... [ 40.634095][ T6539] hardirqs last enabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 40.634569][ T6530] done [ 40.639293][ T6530] bcachefs (loop0): check_inodes... [ 40.639307][ T6539] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec ** replaying previous printk message ** [ 40.640300][ T6530] bcachefs (loop0): inode points to missing dirent [ 40.646163][ T6539] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec ** replaying previous printk message ** [ 40.646223][ T6530] inum: 4099:4294967295 [ 40.650803][ T6530] mode=100755 [ 40.650798][ T6539] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 40.653652][ T6539] ---[ end trace 0000000000000000 ]--- [ 40.653656][ T6530] flags=(15300000) [ 40.656220][ T6530] journal_seq=5 [ 40.657526][ T6530] hash_seed=fc917866faeb7b5b [ 40.659187][ T6530] hash_type=siphash [ 40.660529][ T6530] bi_size=1050 [ 40.660554][ T6530] bi_sectors=8 [ 40.660567][ T6530] bi_version=0 [ 40.660579][ T6530] bi_atime=2770562249 [ 40.660591][ T6530] bi_ctime=2770562249 [ 40.660602][ T6530] bi_mtime=2770562249 [ 40.660614][ T6530] bi_otime=2770562249 [ 40.660625][ T6530] bi_uid=0 [ 40.660636][ T6530] bi_gid=0 [ 40.660647][ T6530] bi_nlink=0 [ 40.660658][ T6530] bi_generation=0 [ 40.660670][ T6530] bi_dev=0 [ 40.660681][ T6530] bi_data_checksum=0 [ 40.660692][ T6530] bi_compression=0 [ 40.660704][ T6530] bi_project=0 [ 40.660715][ T6530] bi_background_compression=0 [ 40.660727][ T6530] bi_data_replicas=0 [ 40.660738][ T6530] bi_promote_target=0 [ 40.660750][ T6530] bi_foreground_target=0 [ 40.660761][ T6530] bi_background_target=0 [ 40.660773][ T6530] bi_erasure_code=0 [ 40.660784][ T6530] bi_fields_set=0 [ 40.660795][ T6530] bi_dir=4098 [ 40.660807][ T6530] bi_dir_offset=8977922886548783724 [ 40.660819][ T6530] bi_subvol=0 [ 40.660830][ T6530] bi_parent_subvol=0 [ 40.660841][ T6530] bi_nocow=0 [ 40.660852][ T6530] bi_depth=0 [ 40.660864][ T6530] bi_inodes_32bit=0 [ 40.660875][ T6530] bi_casefold=0, fixing [ 40.661388][ T6530] bcachefs (loop0): inode points to missing dirent [ 40.661426][ T6530] inum: 4100:4294967295 [ 40.661439][ T6530] mode=120777 [ 40.661451][ T6530] flags=(15300000) [ 40.661462][ T6530] journal_seq=4 [ 40.661473][ T6530] hash_seed=f4891abdd5c0cd85 [ 40.661485][ T6530] hash_type=siphash [ 40.661496][ T6530] bi_size=38 [ 40.661508][ T6530] bi_sectors=8 [ 40.661519][ T6530] bi_version=0 [ 40.661530][ T6530] bi_atime=2770562249 [ 40.661545][ T6530] bi_ctime=2780562352 [ 40.661556][ T6530] bi_mtime=2770562249 [ 40.661568][ T6530] bi_otime=2770562249 [ 40.661579][ T6530] bi_uid=0 [ 40.661590][ T6530] bi_gid=0 [ 40.661601][ T6530] bi_nlink=0 [ 40.661612][ T6530] bi_generation=0 [ 40.661624][ T6530] bi_dev=0 [ 40.661635][ T6530] bi_data_checksum=0 [ 40.661646][ T6530] bi_compression=0 [ 40.661658][ T6530] bi_project=0 [ 40.661669][ T6530] bi_background_compression=0 [ 40.661681][ T6530] bi_data_replicas=0 [ 40.661692][ T6530] bi_promote_target=0 [ 40.661704][ T6530] bi_foreground_target=0 [ 40.661715][ T6530] bi_background_target=0 [ 40.661727][ T6530] bi_erasure_code=0 [ 40.661738][ T6530] bi_fields_set=0 [ 40.661749][ T6530] bi_dir=4098 [ 40.661761][ T6530] bi_dir_offset=5675548428000973578 [ 40.661772][ T6530] bi_subvol=0 [ 40.661784][ T6530] bi_parent_subvol=0 [ 40.661795][ T6530] bi_nocow=0 [ 40.661806][ T6530] bi_depth=0 [ 40.661817][ T6530] bi_inodes_32bit=0 [ 40.661829][ T6530] bi_casefold=0, fixing [ 40.668215][ T6530] done [ 40.668571][ T6530] bcachefs (loop0): check_extents... done [ 40.669353][ T6530] bcachefs (loop0): check_indirect_extents... done [ 40.669709][ T6530] bcachefs (loop0): check_dirents... [ 40.670078][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.670089][ T6530] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 40.670364][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.670375][ T6530] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 40.670607][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.670619][ T6530] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 40.670774][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.670784][ T6530] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 40.670947][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.670958][ T6530] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 40.671119][ T6530] bcachefs (loop0): dirent casefold does not match dir casefold [ 40.671129][ T6530] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 40.671280][ T6530] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 40.671682][ T6530] done [ 40.672001][ T6530] bcachefs (loop0): check_xattrs... done [ 40.672723][ T6530] bcachefs (loop0): check_root... done [ 40.673161][ T6530] bcachefs (loop0): check_unreachable_inodes... [ 40.673685][ T6530] bcachefs (loop0): unreachable inode: [ 40.673696][ T6530] inum: 4099:4294967295 [ 40.673704][ T6530] mode=100755 [ 40.673711][ T6530] flags=(4300000) [ 40.673718][ T6530] journal_seq=20 [ 40.673726][ T6530] hash_seed=fc917866faeb7b5b [ 40.673733][ T6530] hash_type=siphash [ 40.673741][ T6530] bi_size=1050 [ 40.673748][ T6530] bi_sectors=8 [ 40.673755][ T6530] bi_version=0 [ 40.673763][ T6530] bi_atime=2770562249 [ 40.673770][ T6530] bi_ctime=2770562249 [ 40.673777][ T6530] bi_mtime=2770562249 [ 40.673785][ T6530] bi_otime=2770562249 [ 40.673792][ T6530] bi_uid=0 [ 40.673799][ T6530] bi_gid=0 [ 40.673807][ T6530] bi_nlink=0 [ 40.673814][ T6530] bi_generation=0 [ 40.673821][ T6530] bi_dev=0 [ 40.673828][ T6530] bi_data_checksum=0 [ 40.673836][ T6530] bi_compression=0 [ 40.673843][ T6530] bi_project=0 [ 40.673850][ T6530] bi_background_compression=0 [ 40.673858][ T6530] bi_data_replicas=0 [ 40.673866][ T6530] bi_promote_target=0 [ 40.673873][ T6530] bi_foreground_target=0 [ 40.673881][ T6530] bi_background_target=0 [ 40.673888][ T6530] bi_erasure_code=0 [ 40.673895][ T6530] bi_fields_set=0 [ 40.673903][ T6530] bi_dir=0 [ 40.673910][ T6530] bi_dir_offset=0 [ 40.673917][ T6530] bi_subvol=0 [ 40.673925][ T6530] bi_parent_subvol=0 [ 40.673932][ T6530] bi_nocow=0 [ 40.673939][ T6530] bi_depth=0 [ 40.673947][ T6530] bi_inodes_32bit=0 [ 40.673954][ T6530] bi_casefold=0, fixing [ 40.675100][ T6530] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 40.676505][ T6530] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 40.677301][ T6530] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 40.683315][ T6530] bcachefs (loop0): unreachable inode: [ 40.683329][ T6530] inum: 4100:4294967295 [ 40.683336][ T6530] mode=120777 [ 40.683344][ T6530] flags=(4300000) [ 40.683351][ T6530] journal_seq=20 [ 40.683359][ T6530] hash_seed=f4891abdd5c0cd85 [ 40.683367][ T6530] hash_type=siphash [ 40.683374][ T6530] bi_size=38 [ 40.683382][ T6530] bi_sectors=8 [ 40.683389][ T6530] bi_version=0 [ 40.683406][ T6530] bi_atime=2770562249 [ 40.683414][ T6530] bi_ctime=2780562352 [ 40.683422][ T6530] bi_mtime=2770562249 [ 40.683435][ T6530] bi_otime=2770562249 [ 40.683443][ T6530] bi_uid=0 [ 40.683450][ T6530] bi_gid=0 [ 40.683457][ T6530] bi_nlink=0 [ 40.683465][ T6530] bi_generation=0 [ 40.683472][ T6530] bi_dev=0 [ 40.683479][ T6530] bi_data_checksum=0 [ 40.683487][ T6530] bi_compression=0 [ 40.683494][ T6530] bi_project=0 [ 40.683502][ T6530] bi_background_compression=0 [ 40.683509][ T6530] bi_data_replicas=0 [ 40.683517][ T6530] bi_promote_target=0 [ 40.684581][ T6530] bi_foreground_target=0 [ 40.684592][ T6530] bi_background_target=0 [ 40.684600][ T6530] bi_erasure_code=0 [ 40.684607][ T6530] bi_fields_set=0 [ 40.684615][ T6530] bi_dir=0 [ 40.684622][ T6530] bi_dir_offset=0 [ 40.684630][ T6530] bi_subvol=0 [ 40.684637][ T6530] bi_parent_subvol=0 [ 40.684645][ T6530] bi_nocow=0 [ 40.684652][ T6530] bi_depth=0 [ 40.684659][ T6530] bi_inodes_32bit=0 [ 40.684667][ T6530] bi_casefold=0, fixing [ 40.685212][ T6530] bcachefs (loop0): unreachable inode: [ 40.685222][ T6530] inum: 536870913:4294967295 [ 40.685230][ T6530] mode=100755 [ 40.685237][ T6530] flags=(15300000) [ 40.685245][ T6530] journal_seq=21 [ 40.685252][ T6530] hash_seed=b68791a594a6d5ae [ 40.685260][ T6530] hash_type=siphash [ 40.685267][ T6530] bi_size=25769812776 [ 40.685275][ T6530] bi_sectors=24 [ 40.685282][ T6530] bi_version=0 [ 40.685289][ T6530] bi_atime=2780562352 [ 40.685297][ T6530] bi_ctime=2780562352 [ 40.685305][ T6530] bi_mtime=2780562352 [ 40.685312][ T6530] bi_otime=2780562352 [ 40.685320][ T6530] bi_uid=0 [ 40.685327][ T6530] bi_gid=0 [ 40.685334][ T6530] bi_nlink=1 [ 40.685341][ T6530] bi_generation=0 [ 40.685349][ T6530] bi_dev=0 [ 40.685356][ T6530] bi_data_checksum=0 [ 40.685363][ T6530] bi_compression=0 [ 40.685371][ T6530] bi_project=0 [ 40.685378][ T6530] bi_background_compression=0 [ 40.685386][ T6530] bi_data_replicas=0 [ 40.685401][ T6530] bi_promote_target=1 [ 40.685409][ T6530] bi_foreground_target=0 [ 40.685416][ T6530] bi_background_target=0 [ 40.685428][ T6530] bi_erasure_code=0 [ 40.685436][ T6530] bi_fields_set=0 [ 40.685443][ T6530] bi_dir=0 [ 40.685450][ T6530] bi_dir_offset=2695648408715017799 [ 40.685458][ T6530] bi_subvol=0 [ 40.685465][ T6530] bi_parent_subvol=0 [ 40.685473][ T6530] bi_nocow=0 [ 40.685480][ T6530] bi_depth=0 [ 40.685487][ T6530] bi_inodes_32bit=0 [ 40.685495][ T6530] bi_casefold=0, fixing [ 40.686000][ T6530] bcachefs (loop0): unreachable inode: [ 40.686010][ T6530] inum: 536870914:4294967295 [ 40.686018][ T6530] mode=100755 [ 40.686025][ T6530] flags=(15300000) [ 40.686032][ T6530] journal_seq=21 [ 40.686040][ T6530] hash_seed=d483206f1ed95abf [ 40.686048][ T6530] hash_type=siphash [ 40.686055][ T6530] bi_size=100 [ 40.686062][ T6530] bi_sectors=8 [ 40.686070][ T6530] bi_version=1126999418470400 [ 40.686078][ T6530] bi_atime=0 [ 40.686085][ T6530] bi_ctime=0 [ 40.686092][ T6530] bi_mtime=0 [ 40.686099][ T6530] bi_otime=2780562352 [ 40.686107][ T6530] bi_uid=2780562352 [ 40.686114][ T6530] bi_gid=0 [ 40.686121][ T6530] bi_nlink=2780562352 [ 40.686129][ T6530] bi_generation=0 [ 40.686136][ T6530] bi_dev=0 [ 40.686143][ T6530] bi_data_checksum=0 [ 40.686159][ T6530] bi_compression=0 [ 40.686168][ T6530] bi_project=0 [ 40.686175][ T6530] bi_background_compression=0 [ 40.686183][ T6530] bi_data_replicas=0 [ 40.686191][ T6530] bi_promote_target=0 [ 40.686198][ T6530] bi_foreground_target=0 [ 40.686206][ T6530] bi_background_target=0 [ 40.686213][ T6530] bi_erasure_code=0 [ 40.686221][ T6530] bi_fields_set=0 [ 40.686228][ T6530] bi_dir=0 [ 40.686235][ T6530] bi_dir_offset=9097378837824744618 [ 40.686243][ T6530] bi_subvol=0 [ 40.686251][ T6530] bi_parent_subvol=0 [ 40.686258][ T6530] bi_nocow=0 [ 40.686266][ T6530] bi_depth=0 [ 40.686273][ T6530] bi_inodes_32bit=0 [ 40.686280][ T6530] bi_casefold=0, fixing [ 40.687321][ T6530] done [ 40.724137][ T6530] bcachefs (loop0): check_subvolume_structure... done [ 40.724599][ T6530] bcachefs (loop0): check_directory_structure... [ 40.724846][ T6530] bcachefs (loop0): inode points to dirent that does not point back: [ 40.724846][ T6530] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 40.724846][ T6530] inum: 4097:4294967295 [ 40.724846][ T6530] mode=40700 [ 40.724846][ T6530] flags=has_case_insensitive(15300400) [ 40.724846][ T6530] journal_seq=21 [ 40.724846][ T6530] hash_seed=a9fcff247692d1ca [ 40.724846][ T6530] hash_type=siphash [ 40.724846][ T6530] bi_size=0 [ 40.724846][ T6530] bi_sectors=0 [ 40.724846][ T6530] bi_version=0 [ 40.724846][ T6530] bi_atime=200535484 [ 40.724846][ T6530] bi_ctime=200535484 [ 40.724846][ T6530] bi_mtime=200535484 [ 40.724846][ T6530] bi_otime=200535484 [ 40.724846][ T6530] bi_uid=0 [ 40.724846][ T6530] bi_gid=0 [ 40.724846][ T6530] bi_nlink=0 [ 40.724846][ T6530] bi_generation=0 [ 40.724846][ T6530] bi_dev=0 [ 40.724846][ T6530] bi_data_checksum=0 [ 40.724846][ T6530] bi_compression=0 [ 40.724846][ T6530] bi_project=0 [ 40.724846][ T6530] bi_background_compression=0 [ 40.724846][ T6530] bi_data_replicas=0 [ 40.724846][ T6530] bi_promote_target=0 [ 40.724846][ T6530] bi_foreground_target=0 [ 40.724846][ T6530] bi_background_target=0 [ 40.724846][ T6530] bi_erasure_code=0 [ 40.724846][ T6530] bi_fields_set=0 [ 40.724846][ T6530] bi_dir=4096 [ 40.724846][ T6530] bi_dir_offset=8130059955150870709 [ 40.724846][ T6530] bi_subvol=0 [ 40.724846][ T6530] bi_parent_subvol=0 [ 40.724846][ T6530] bi_nocow=0 [ 40.724846][ T6530] bi_depth=0 [ 40.724846][ T6530] bi_inodes_32bit=0 [ 40.724846][ T6530] bi_casefold=0 [ 40.725003][ T6530] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 40.725003][ T6530] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 40.725003][ T6530] mode=40700 [ 40.725003][ T6530] flags=has_case_insensitive(15300400) [ 40.725003][ T6530] journal_seq=21 [ 40.725003][ T6530] hash_seed=a9fcff247692d1ca [ 40.725003][ T6530] hash_type=siphash [ 40.725003][ T6530] bi_size=0 [ 40.725003][ T6530] bi_sectors=0 [ 40.725003][ T6530] bi_version=0 [ 40.725003][ T6530] bi_atime=200535484 [ 40.725003][ T6530] bi_ctime=200535484 [ 40.725003][ T6530] bi_mtime=200535484 [ 40.725003][ T6530] bi_otime=200535484 [ 40.725003][ T6530] bi_uid=0 [ 40.725003][ T6530] bi_gid=0 [ 40.725003][ T6530] bi_nlink=0 [ 40.725003][ T6530] bi_generation=0 [ 40.725003][ T6530] bi_dev=0 [ 40.725003][ T6530] bi_data_checksum=0 [ 40.725003][ T6530] bi_compression=0 [ 40.725003][ T6530] bi_project=0 [ 40.725003][ T6530] bi_background_compression=0 [ 40.725003][ T6530] bi_data_replicas=0 [ 40.725003][ T6530] bi_promote_target=0 [ 40.725003][ T6530] bi_foreground_target=0 [ 40.725003][ T6530] bi_background_target=0 [ 40.725003][ T6530] bi_erasure_code=0 [ 40.725003][ T6530] bi_fields_set=0 [ 40.725003][ T6530] bi_dir=4096 [ 40.725003][ T6530] bi_dir_offset=8130059955150870709 [ 40.725003][ T6530] bi_subvol=0 [ 40.725003][ T6530] bi_parent_subvol=0 [ 40.725003][ T6530] bi_nocow=0 [ 40.725003][ T6530] bi_depth=0 [ 40.725003][ T6530] bi_inodes_32bit=0 [ 40.725003][ T6530] bi_casefold=0 [ 40.725051][ T6530] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 40.725071][ T6530] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 40.725118][ T6530] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 40.725142][ T6530] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 40.725161][ T6530] bcachefs (loop0): shutting down [ 40.725175][ T6530] bcachefs (loop0): going read-only [ 40.725198][ T6530] bcachefs (loop0): finished waiting for writes to stop [ 40.753931][ T6530] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 40.753973][ T6530] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 40.754118][ T6530] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 40.755039][ T6530] bcachefs (loop0): done going read-only, filesystem not clean [ 40.761434][ T6530] bcachefs (loop0): shutdown complete [ 41.894876][ T6530] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 42.027242][ T6541] loop0: detected capacity change from 0 to 32768 [ 42.069959][ T6541] 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.069959][ T6541] allowing incompatible features above 0.0: (unknown version) [ 42.069959][ T6541] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 42.075347][ T6541] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 42.075436][ T6541] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 42.075543][ T6541] bcachefs (loop0): Version upgrade required: [ 42.075543][ T6541] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 42.075543][ T6541] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 42.075543][ T6541] 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_unr ** replaying previous printk message ** [ 42.075543][ T6541] bcachefs (loop0): Version upgrade required: [ 42.075543][ T6541] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 42.075543][ T6541] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 42.075543][ T6541] 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.083335][ T6541] bcachefs (loop0): accounting_read... done [ 42.084471][ T6541] bcachefs (loop0): alloc_read... done [ 42.084945][ T6541] bcachefs (loop0): snapshots_read... done [ 42.085337][ T6541] bcachefs (loop0): check_allocations... [ 42.086132][ T6541] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 42.086146][ T6541] 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.087052][ T6541] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 42.087065][ T6541] 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.087651][ T6541] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 42.087663][ T6541] 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.088346][ T6541] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 42.088358][ T6541] 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.089492][ T6541] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 42.089504][ T6541] 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.089967][ T6541] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.090017][ T6541] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.090162][ T6541] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.090212][ T6541] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.090317][ T6541] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.090366][ T6541] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.090453][ T6541] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.090503][ T6541] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.090588][ T6541] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.090640][ T6541] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.090718][ T6541] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.090774][ T6541] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.090853][ T6541] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.090905][ T6541] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 42.090983][ T6541] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 42.091032][ T6541] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 42.091116][ T6541] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.091166][ T6541] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.091245][ T6541] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.091294][ T6541] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.091381][ T6541] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 42.091391][ T6541] Ratelimiting new instances of previous error [ 42.091459][ T6541] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 42.091469][ T6541] Ratelimiting new instances of previous error [ 42.096911][ T6541] done [ 42.097876][ T6541] bcachefs (loop0): going read-write [ 42.104194][ T6551] ODEBUG: object 00000000ef557845 is on stack 000000009899d1b0, but NOT annotated. [ 42.104570][ T6551] ------------[ cut here ]------------ [ 42.104582][ T6551] WARNING: CPU: 1 PID: 6551 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 42.237799][ T6551] Modules linked in: [ 42.238866][ T6551] CPU: 1 UID: 0 PID: 6551 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 42.242298][ T6551] Tainted: [B]=BAD_PAGE, [W]=WARN [ 42.243599][ T6551] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 42.244555][ T6541] bcachefs (loop0): journal_replay... [ 42.246299][ T6551] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 42.249907][ T6551] pc : __debug_object_init+0x364/0x40c [ 42.251364][ T6551] lr : __debug_object_init+0x364/0x40c [ 42.252847][ T6551] sp : ffff8000a1fa7700 [ 42.253948][ T6551] x29: ffff8000a1fa7700 x28: 0000000000000002 x27: dfff800000000000 [ 42.256039][ T6551] x26: ffff800097693000 x25: ffff0000cc0bbd20 x24: 0000000000000000 [ 42.258198][ T6551] x23: ffff0000c67a2498 x22: 0000000000000000 x21: ffff8000975ce5a8 ** replaying previous printk message ** [ 42.259387][ T6541] done [ 42.262055][ T6551] x20: ffff80008af70de0 x19: ffff8000a1fa7bb0 x18: 1fffe000337e1476 [ 42.262319][ T6541] bcachefs (loop0): check_alloc_info... [ 42.264222][ T6551] x17: 7562202c30623164 x16: ffff80008aec8e2c x15: 0000000000000001 ** replaying previous printk message ** [ 42.266408][ T6541] done [ 42.269525][ T6541] bcachefs (loop0): check_lrus... [ 42.269525][ T6551] x14: 1ffff000143f4e58 x13: 0000000000000000 x12: 0000000000000000 ** replaying previous printk message ** [ 42.271323][ T6541] done [ 42.274716][ T6551] x11: ffff7000143f4e59 [ 42.274724][ T6541] bcachefs (loop0): check_btree_backpointers... [ 42.274727][ T6551] x10: 0000000000ff0100 x9 : 98e3d15b4ec54400 ** replaying previous printk message ** [ 42.277954][ T6541] done [ 42.280998][ T6551] x8 : 98e3d15b4ec54400 [ 42.281001][ T6541] bcachefs (loop0): check_backpointers_to_extents... [ 42.282134][ T6551] x7 : 0000000000000001 ** replaying previous printk message ** [ 42.282996][ T6541] done [ 42.286811][ T6551] x6 : 0000000000000001 [ 42.287904][ T6551] x5 : ffff8000a1fa7098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 42.290116][ T6551] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 42.292179][ T6551] Call trace: [ 42.293058][ T6551] __debug_object_init+0x364/0x40c (P) [ 42.294497][ T6551] debug_object_init+0x20/0x2c [ 42.295759][ T6551] __init_work+0x58/0x68 [ 42.296863][ T6551] rhashtable_init_noprof+0x734/0xa10 [ 42.298243][ T6551] bch2_copygc_thread+0xec/0xd40 [ 42.299582][ T6551] kthread+0x5fc/0x75c [ 42.300702][ T6551] ret_from_fork+0x10/0x20 [ 42.301895][ T6551] irq event stamp: 0 [ 42.302945][ T6551] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 42.304890][ T6551] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 42.307435][ T6551] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 42.309869][ T6551] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 42.311722][ T6551] ---[ end trace 0000000000000000 ]--- [ 42.315617][ T6541] bcachefs (loop0): check_extents_to_backpointers... [ 42.316160][ T6541] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 42.316866][ T6541] done [ 42.319479][ T6541] bcachefs (loop0): check_alloc_to_lru_refs... done [ 42.320610][ T6541] bcachefs (loop0): bucket_gens_init... done [ 42.324862][ T6541] bcachefs (loop0): check_snapshot_trees... done [ 42.325251][ T6541] bcachefs (loop0): check_snapshots... [ 42.325467][ T6541] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 42.325479][ T6541] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 42.328740][ T6541] done [ 42.329065][ T6541] bcachefs (loop0): check_subvols... done [ 42.329727][ T6541] bcachefs (loop0): check_subvol_children... done [ 42.330114][ T6541] bcachefs (loop0): delete_dead_snapshots... done [ 42.330493][ T6541] bcachefs (loop0): check_inodes... [ 42.331269][ T6541] bcachefs (loop0): inode points to missing dirent [ 42.331281][ T6541] inum: 4099:4294967295 [ 42.331289][ T6541] mode=100755 [ 42.331296][ T6541] flags=(15300000) [ 42.331304][ T6541] journal_seq=5 [ 42.331311][ T6541] hash_seed=fc917866faeb7b5b [ 42.331319][ T6541] hash_type=siphash [ 42.331326][ T6541] bi_size=1050 [ 42.331333][ T6541] bi_sectors=8 [ 42.331341][ T6541] bi_version=0 [ 42.331348][ T6541] bi_atime=2770562249 [ 42.331356][ T6541] bi_ctime=2770562249 [ 42.331363][ T6541] bi_mtime=2770562249 [ 42.331371][ T6541] bi_otime=2770562249 [ 42.331378][ T6541] bi_uid=0 [ 42.331385][ T6541] bi_gid=0 [ 42.331400][ T6541] bi_nlink=0 [ 42.331408][ T6541] bi_generation=0 [ 42.331416][ T6541] bi_dev=0 [ 42.331423][ T6541] bi_data_checksum=0 [ 42.331436][ T6541] bi_compression=0 [ 42.331443][ T6541] bi_project=0 [ 42.331450][ T6541] bi_background_compression=0 [ 42.331458][ T6541] bi_data_replicas=0 [ 42.331465][ T6541] bi_promote_target=0 [ 42.331473][ T6541] bi_foreground_target=0 [ 42.331480][ T6541] bi_background_target=0 [ 42.331488][ T6541] bi_erasure_code=0 [ 42.331496][ T6541] bi_fields_set=0 [ 42.331503][ T6541] bi_dir=4098 [ 42.331510][ T6541] bi_dir_offset=8977922886548783724 [ 42.331518][ T6541] bi_subvol=0 [ 42.331525][ T6541] bi_parent_subvol=0 [ 42.331533][ T6541] bi_nocow=0 [ 42.331542][ T6541] bi_depth=0 [ 42.331549][ T6541] bi_inodes_32bit=0 [ 42.331557][ T6541] bi_casefold=0, fixing [ 42.331998][ T6541] bcachefs (loop0): inode points to missing dirent [ 42.332008][ T6541] inum: 4100:4294967295 [ 42.332015][ T6541] mode=120777 [ 42.332023][ T6541] flags=(15300000) [ 42.332030][ T6541] journal_seq=4 [ 42.332037][ T6541] hash_seed=f4891abdd5c0cd85 [ 42.332045][ T6541] hash_type=siphash [ 42.332053][ T6541] bi_size=38 [ 42.332060][ T6541] bi_sectors=8 [ 42.332067][ T6541] bi_version=0 [ 42.332075][ T6541] bi_atime=2770562249 [ 42.332082][ T6541] bi_ctime=2780562352 [ 42.332090][ T6541] bi_mtime=2770562249 [ 42.332097][ T6541] bi_otime=2770562249 [ 42.332105][ T6541] bi_uid=0 [ 42.332112][ T6541] bi_gid=0 [ 42.332119][ T6541] bi_nlink=0 [ 42.332126][ T6541] bi_generation=0 [ 42.332134][ T6541] bi_dev=0 [ 42.332141][ T6541] bi_data_checksum=0 [ 42.332148][ T6541] bi_compression=0 [ 42.332156][ T6541] bi_project=0 [ 42.332163][ T6541] bi_background_compression=0 [ 42.332171][ T6541] bi_data_replicas=0 [ 42.332178][ T6541] bi_promote_target=0 [ 42.332186][ T6541] bi_foreground_target=0 [ 42.332194][ T6541] bi_background_target=0 [ 42.332201][ T6541] bi_erasure_code=0 [ 42.332209][ T6541] bi_fields_set=0 [ 42.332216][ T6541] bi_dir=4098 [ 42.332223][ T6541] bi_dir_offset=5675548428000973578 [ 42.332231][ T6541] bi_subvol=0 [ 42.332238][ T6541] bi_parent_subvol=0 [ 42.332246][ T6541] bi_nocow=0 [ 42.332253][ T6541] bi_depth=0 [ 42.332260][ T6541] bi_inodes_32bit=0 [ 42.332268][ T6541] bi_casefold=0, fixing [ 42.332999][ T6541] done [ 42.333327][ T6541] bcachefs (loop0): check_extents... done [ 42.334177][ T6541] bcachefs (loop0): check_indirect_extents... done [ 42.334586][ T6541] bcachefs (loop0): check_dirents... [ 42.334954][ T6541] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.334965][ T6541] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 42.335239][ T6541] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.335250][ T6541] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 42.335429][ T6541] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.335440][ T6541] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 42.335592][ T6541] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.335602][ T6541] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 42.335764][ T6541] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.335774][ T6541] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 42.335923][ T6541] bcachefs (loop0): dirent casefold does not match dir casefold [ 42.335933][ T6541] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 42.336081][ T6541] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 42.336525][ T6541] done [ 42.340046][ T6541] bcachefs (loop0): check_xattrs... done [ 42.341636][ T6541] bcachefs (loop0): check_root... done [ 42.342581][ T6541] bcachefs (loop0): check_unreachable_inodes... [ 42.343030][ T6541] bcachefs (loop0): unreachable inode: [ 42.343040][ T6541] inum: 4099:4294967295 [ 42.343048][ T6541] mode=100755 [ 42.343055][ T6541] flags=(4300000) [ 42.343063][ T6541] journal_seq=21 [ 42.343070][ T6541] hash_seed=fc917866faeb7b5b [ 42.343078][ T6541] hash_type=siphash [ 42.343085][ T6541] bi_size=1050 [ 42.343092][ T6541] bi_sectors=8 [ 42.343100][ T6541] bi_version=0 [ 42.343107][ T6541] bi_atime=2770562249 [ 42.343114][ T6541] bi_ctime=2770562249 [ 42.343122][ T6541] bi_mtime=2770562249 [ 42.343129][ T6541] bi_otime=2770562249 [ 42.343137][ T6541] bi_uid=0 [ 42.343144][ T6541] bi_gid=0 [ 42.343151][ T6541] bi_nlink=0 [ 42.343158][ T6541] bi_generation=0 [ 42.343166][ T6541] bi_dev=0 [ 42.343173][ T6541] bi_data_checksum=0 [ 42.343180][ T6541] bi_compression=0 [ 42.343188][ T6541] bi_project=0 [ 42.343195][ T6541] bi_background_compression=0 [ 42.343203][ T6541] bi_data_replicas=0 [ 42.343210][ T6541] bi_promote_target=0 [ 42.343218][ T6541] bi_foreground_target=0 [ 42.343225][ T6541] bi_background_target=0 [ 42.343233][ T6541] bi_erasure_code=0 [ 42.343240][ T6541] bi_fields_set=0 [ 42.343247][ T6541] bi_dir=0 [ 42.343254][ T6541] bi_dir_offset=0 [ 42.343262][ T6541] bi_subvol=0 [ 42.343269][ T6541] bi_parent_subvol=0 [ 42.343276][ T6541] bi_nocow=0 [ 42.343284][ T6541] bi_depth=0 [ 42.343291][ T6541] bi_inodes_32bit=0 [ 42.343298][ T6541] bi_casefold=0, fixing [ 42.345800][ T6541] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.347614][ T6541] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.348384][ T6541] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 42.352282][ T6541] bcachefs (loop0): unreachable inode: [ 42.352295][ T6541] inum: 4100:4294967295 [ 42.352302][ T6541] mode=120777 [ 42.352310][ T6541] flags=(4300000) [ 42.352317][ T6541] journal_seq=21 [ 42.352324][ T6541] hash_seed=f4891abdd5c0cd85 [ 42.352332][ T6541] hash_type=siphash [ 42.352340][ T6541] bi_size=38 [ 42.352347][ T6541] bi_sectors=8 [ 42.352354][ T6541] bi_version=0 [ 42.352361][ T6541] bi_atime=2770562249 [ 42.352369][ T6541] bi_ctime=2780562352 [ 42.352376][ T6541] bi_mtime=2770562249 [ 42.352384][ T6541] bi_otime=2770562249 [ 42.352391][ T6541] bi_uid=0 [ 42.352411][ T6541] bi_gid=0 [ 42.352418][ T6541] bi_nlink=0 [ 42.352432][ T6541] bi_generation=0 [ 42.352440][ T6541] bi_dev=0 [ 42.352447][ T6541] bi_data_checksum=0 [ 42.352454][ T6541] bi_compression=0 [ 42.352462][ T6541] bi_project=0 [ 42.352469][ T6541] bi_background_compression=0 [ 42.352477][ T6541] bi_data_replicas=0 [ 42.352485][ T6541] bi_promote_target=0 [ 42.352492][ T6541] bi_foreground_target=0 [ 42.352500][ T6541] bi_background_target=0 [ 42.352507][ T6541] bi_erasure_code=0 [ 42.352515][ T6541] bi_fields_set=0 [ 42.352522][ T6541] bi_dir=0 [ 42.352529][ T6541] bi_dir_offset=0 [ 42.352537][ T6541] bi_subvol=0 [ 42.352544][ T6541] bi_parent_subvol=0 [ 42.352552][ T6541] bi_nocow=0 [ 42.352559][ T6541] bi_depth=0 [ 42.352566][ T6541] bi_inodes_32bit=0 [ 42.352574][ T6541] bi_casefold=0, fixing [ 42.353099][ T6541] bcachefs (loop0): unreachable inode: [ 42.353108][ T6541] inum: 536870913:4294967295 [ 42.353116][ T6541] mode=100755 [ 42.353123][ T6541] flags=(15300000) [ 42.353131][ T6541] journal_seq=22 [ 42.353138][ T6541] hash_seed=b68791a594a6d5ae [ 42.353146][ T6541] hash_type=siphash [ 42.353153][ T6541] bi_size=25769812776 [ 42.353161][ T6541] bi_sectors=24 [ 42.353168][ T6541] bi_version=0 [ 42.353175][ T6541] bi_atime=2780562352 [ 42.353183][ T6541] bi_ctime=2780562352 [ 42.353190][ T6541] bi_mtime=2780562352 [ 42.353198][ T6541] bi_otime=2780562352 [ 42.353205][ T6541] bi_uid=0 [ 42.353212][ T6541] bi_gid=0 [ 42.353220][ T6541] bi_nlink=1 [ 42.353227][ T6541] bi_generation=0 [ 42.353234][ T6541] bi_dev=0 [ 42.353241][ T6541] bi_data_checksum=0 [ 42.353249][ T6541] bi_compression=0 [ 42.353256][ T6541] bi_project=0 [ 42.353263][ T6541] bi_background_compression=0 [ 42.353271][ T6541] bi_data_replicas=0 [ 42.353279][ T6541] bi_promote_target=1 [ 42.353287][ T6541] bi_foreground_target=0 [ 42.353294][ T6541] bi_background_target=0 [ 42.353302][ T6541] bi_erasure_code=0 [ 42.353309][ T6541] bi_fields_set=0 [ 42.353316][ T6541] bi_dir=0 [ 42.353324][ T6541] bi_dir_offset=2695648408715017799 [ 42.353331][ T6541] bi_subvol=0 [ 42.353339][ T6541] bi_parent_subvol=0 [ 42.353346][ T6541] bi_nocow=0 [ 42.353353][ T6541] bi_depth=0 [ 42.353360][ T6541] bi_inodes_32bit=0 [ 42.353368][ T6541] bi_casefold=0, fixing [ 42.355708][ T6541] bcachefs (loop0): unreachable inode: [ 42.355719][ T6541] inum: 536870914:4294967295 [ 42.355727][ T6541] mode=100755 [ 42.355734][ T6541] flags=(15300000) [ 42.355742][ T6541] journal_seq=22 [ 42.355749][ T6541] hash_seed=d483206f1ed95abf [ 42.355757][ T6541] hash_type=siphash [ 42.355764][ T6541] bi_size=100 [ 42.355771][ T6541] bi_sectors=8 [ 42.355779][ T6541] bi_version=1126999418470400 [ 42.355786][ T6541] bi_atime=0 [ 42.355794][ T6541] bi_ctime=0 [ 42.355801][ T6541] bi_mtime=0 [ 42.355808][ T6541] bi_otime=2780562352 [ 42.355815][ T6541] bi_uid=2780562352 [ 42.355823][ T6541] bi_gid=0 [ 42.355830][ T6541] bi_nlink=2780562352 [ 42.355838][ T6541] bi_generation=0 [ 42.355845][ T6541] bi_dev=0 [ 42.355852][ T6541] bi_data_checksum=0 [ 42.355859][ T6541] bi_compression=0 [ 42.355867][ T6541] bi_project=0 [ 42.355874][ T6541] bi_background_compression=0 [ 42.355882][ T6541] bi_data_replicas=0 [ 42.355889][ T6541] bi_promote_target=0 [ 42.355897][ T6541] bi_foreground_target=0 [ 42.355904][ T6541] bi_background_target=0 [ 42.355912][ T6541] bi_erasure_code=0 [ 42.355919][ T6541] bi_fields_set=0 [ 42.355926][ T6541] bi_dir=0 [ 42.355934][ T6541] bi_dir_offset=9097378837824744618 [ 42.355941][ T6541] bi_subvol=0 [ 42.355949][ T6541] bi_parent_subvol=0 [ 42.355956][ T6541] bi_nocow=0 [ 42.355963][ T6541] bi_depth=0 [ 42.355971][ T6541] bi_inodes_32bit=0 [ 42.355978][ T6541] bi_casefold=0, fixing [ 42.358463][ T6541] done [ 42.360013][ T6541] bcachefs (loop0): check_subvolume_structure... done [ 42.360449][ T6541] bcachefs (loop0): check_directory_structure... [ 42.360672][ T6541] bcachefs (loop0): inode points to dirent that does not point back: [ 42.360672][ T6541] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 42.360672][ T6541] inum: 4097:4294967295 [ 42.360672][ T6541] mode=40700 [ 42.360672][ T6541] flags=has_case_insensitive(15300400) [ 42.360672][ T6541] journal_seq=22 [ 42.360672][ T6541] hash_seed=a9fcff247692d1ca [ 42.360672][ T6541] hash_type=siphash [ 42.360672][ T6541] bi_size=0 [ 42.360672][ T6541] bi_sectors=0 [ 42.360672][ T6541] bi_version=0 [ 42.360672][ T6541] bi_atime=200535484 [ 42.360672][ T6541] bi_ctime=200535484 [ 42.360672][ T6541] bi_mtime=200535484 [ 42.360672][ T6541] bi_otime=200535484 [ 42.360672][ T6541] bi_uid=0 [ 42.360672][ T6541] bi_gid=0 [ 42.360672][ T6541] bi_nlink=0 [ 42.360672][ T6541] bi_generation=0 [ 42.360672][ T6541] bi_dev=0 [ 42.360672][ T6541] bi_data_checksum=0 [ 42.360672][ T6541] bi_compression=0 [ 42.360672][ T6541] bi_project=0 [ 42.360672][ T6541] bi_background_compression=0 [ 42.360672][ T6541] bi_data_replicas=0 [ 42.360672][ T6541] bi_promote_target=0 [ 42.360672][ T6541] bi_foreground_target=0 [ 42.360672][ T6541] bi_background_target=0 [ 42.360672][ T6541] bi_erasure_code=0 [ 42.360672][ T6541] bi_fields_set=0 [ 42.360672][ T6541] bi_dir=4096 [ 42.360672][ T6541] bi_dir_offset=8130059955150870709 [ 42.360672][ T6541] bi_subvol=0 [ 42.360672][ T6541] bi_parent_subvol=0 [ 42.360672][ T6541] bi_nocow=0 [ 42.360672][ T6541] bi_depth=0 [ 42.360672][ T6541] bi_inodes_32bit=0 [ 42.360672][ T6541] bi_casefold=0 [ 42.360821][ T6541] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 42.360821][ T6541] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 42.360821][ T6541] mode=40700 [ 42.360821][ T6541] flags=has_case_insensitive(15300400) [ 42.360821][ T6541] journal_seq=22 [ 42.360821][ T6541] hash_seed=a9fcff247692d1ca [ 42.360821][ T6541] hash_type=siphash [ 42.360821][ T6541] bi_size=0 [ 42.360821][ T6541] bi_sectors=0 [ 42.360821][ T6541] bi_version=0 [ 42.360821][ T6541] bi_atime=200535484 [ 42.360821][ T6541] bi_ctime=200535484 [ 42.360821][ T6541] bi_mtime=200535484 [ 42.360821][ T6541] bi_otime=200535484 [ 42.360821][ T6541] bi_uid=0 [ 42.360821][ T6541] bi_gid=0 [ 42.360821][ T6541] bi_nlink=0 [ 42.360821][ T6541] bi_generation=0 [ 42.360821][ T6541] bi_dev=0 [ 42.360821][ T6541] bi_data_checksum=0 [ 42.360821][ T6541] bi_compression=0 [ 42.360821][ T6541] bi_project=0 [ 42.360821][ T6541] bi_background_compression=0 [ 42.360821][ T6541] bi_data_replicas=0 [ 42.360821][ T6541] bi_promote_target=0 [ 42.360821][ T6541] bi_foreground_target=0 [ 42.360821][ T6541] bi_background_target=0 [ 42.360821][ T6541] bi_erasure_code=0 [ 42.360821][ T6541] bi_fields_set=0 [ 42.360821][ T6541] bi_dir=4096 [ 42.360821][ T6541] bi_dir_offset=8130059955150870709 [ 42.360821][ T6541] bi_subvol=0 [ 42.360821][ T6541] bi_parent_subvol=0 [ 42.360821][ T6541] bi_nocow=0 [ 42.360821][ T6541] bi_depth=0 [ 42.360821][ T6541] bi_inodes_32bit=0 [ 42.360821][ T6541] bi_casefold=0 [ 42.360869][ T6541] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 42.360889][ T6541] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 42.360946][ T6097] bcachefs (loop0): going read-only [ 42.360973][ T6097] bcachefs (loop0): finished waiting for writes to stop [ 42.361043][ T6541] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 42.361068][ T6541] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 42.361086][ T6541] bcachefs (loop0): shutting down [ 42.384032][ T6097] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 42.384074][ T6097] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 42.384247][ T6097] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 42.385096][ T6097] bcachefs (loop0): done going read-only, filesystem not clean [ 42.391458][ T6541] bcachefs (loop0): shutdown complete [ 43.424998][ T6541] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 43.548728][ T6554] loop0: detected capacity change from 0 to 32768 [ 43.609938][ 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 [ 43.609938][ T6554] allowing incompatible features above 0.0: (unknown version) [ 43.609938][ T6554] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 43.610000][ T6554] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 43.610464][ T6554] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 43.610575][ T6554] bcachefs (loop0): Version upgrade required: [ 43.610575][ T6554] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 43.610575][ T6554] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 43.610575][ 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 [ 43.618671][ T6554] bcachefs (loop0): accounting_read... done [ 43.644319][ T6554] bcachefs (loop0): alloc_read... done [ 43.644792][ T6554] bcachefs (loop0): snapshots_read... done [ 43.645203][ T6554] bcachefs (loop0): check_allocations... [ 43.646050][ T6554] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 43.646063][ 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 [ 43.646987][ T6554] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 43.646999][ 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 [ 43.647618][ T6554] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 43.647630][ 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 [ 43.648850][ T6554] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 43.648862][ 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 [ 43.650038][ T6554] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 43.650050][ 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 [ 43.650527][ T6554] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be ** replaying previous printk message ** [ 43.650527][ T6554] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.650580][ T6554] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.650716][ T6554] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.650766][ T6554] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.650848][ T6554] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.650903][ T6554] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.651001][ T6554] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.651051][ T6554] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.651167][ T6554] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.651221][ T6554] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.651310][ T6554] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.651362][ T6554] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.651469][ T6554] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.651519][ T6554] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 43.651607][ T6554] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 43.651656][ T6554] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 43.651819][ T6554] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 43.651873][ T6554] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 43.651966][ T6554] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 43.652016][ T6554] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 43.652111][ T6554] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 43.652122][ T6554] Ratelimiting new instances of previous error [ 43.652183][ T6554] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 43.652194][ T6554] Ratelimiting new instances of previous error [ 43.661052][ T6554] done [ 43.662127][ T6554] bcachefs (loop0): going read-write [ 43.688368][ T6563] ODEBUG: object 00000000b687c7cc is on stack 00000000e23b2e69, but NOT annotated. [ 43.688757][ T6563] ------------[ cut here ]------------ [ 43.688769][ T6563] WARNING: CPU: 0 PID: 6563 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 43.763021][ T6563] Modules linked in: [ 43.764071][ T6563] CPU: 0 UID: 0 PID: 6563 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 43.765656][ T6554] bcachefs (loop0): journal_replay... [ 43.767516][ T6563] Tainted: [B]=BAD_PAGE, [W]=WARN [ 43.770245][ T6563] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 43.772928][ T6563] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 43.775075][ T6563] pc : __debug_object_init+0x364/0x40c [ 43.776579][ T6563] lr : __debug_object_init+0x364/0x40c [ 43.778053][ T6563] sp : ffff8000a4387700 [ 43.779171][ T6563] x29: ffff8000a4387700 x28: 0000000000000003 x27: dfff800000000000 [ 43.780313][ T6554] done [ 43.781983][ T6563] x26: ffff800097693000 [ 43.781990][ T6554] bcachefs (loop0): check_alloc_info... [ 43.781993][ T6563] x25: ffff0000cca55ba0 x24: 0000000000000000 [ 43.786241][ T6563] x23: ffff0000de23e578 x22: 0000000000000000 x21: ffff8000975c7690 ** replaying previous printk message ** [ 43.786500][ T6554] done [ 43.790142][ T6554] bcachefs (loop0): check_lrus... [ 43.790146][ T6563] x20: ffff80008af70de0 x19: ffff8000a4387bb0 x18: 1fffe000337dc876 ** replaying previous printk message ** [ 43.791883][ T6554] done [ 43.795327][ T6563] x17: 7562202c39366532 x16: ffff80008aec8e2c [ 43.795338][ T6554] bcachefs (loop0): check_btree_backpointers... [ 43.796947][ T6563] x15: 0000000000000001 ** replaying previous printk message ** [ 43.797481][ T6554] done [ 43.801322][ T6554] bcachefs (loop0): check_backpointers_to_extents... [ 43.801334][ T6563] [ 43.803767][ T6563] x14: 1ffff00014870e58 x13: 0000000000000000 x12: 0000000000000000 ** replaying previous printk message ** [ 43.804647][ T6554] done [ 43.807588][ T6563] x11: ffff700014870e59 x10: 0000000000ff0100 x9 : 2ac4aaf866a19f00 [ 43.807908][ T6554] bcachefs (loop0): check_extents_to_backpointers... [ 43.809738][ T6563] x8 : 2ac4aaf866a19f00 ** replaying previous printk message ** [ 43.810259][ T6554] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 43.815601][ T6563] x7 : 0000000000000001 x6 : 0000000000000001 ** replaying previous printk message ** [ 43.816262][ T6554] done [ 43.818905][ T6563] x5 : ffff8000a4387098 x4 : ffff80008f727060 x3 : ffff8000807c0744 [ 43.819203][ T6554] bcachefs (loop0): check_alloc_to_lru_refs... [ 43.821079][ T6563] x2 : 0000000000000001 ** replaying previous printk message ** [ 43.821881][ T6554] done [ 43.825382][ T6563] x1 : 0000000100000001 x0 : 0000000000000050 [ 43.825737][ T6554] bcachefs (loop0): bucket_gens_init... [ 43.827026][ T6563] Call trace: [ 43.829310][ T6563] __debug_object_init+0x364/0x40c (P) ** replaying previous printk message ** [ 43.830211][ T6554] done [ 43.832402][ T6563] debug_object_init+0x20/0x2c [ 43.832701][ T6554] bcachefs (loop0): check_snapshot_trees... [ 43.833679][ T6563] __init_work+0x58/0x68 ** replaying previous printk message ** [ 43.834039][ T6554] done [ 43.837901][ T6554] bcachefs (loop0): check_snapshots... [ 43.837914][ T6563] rhashtable_init_noprof+0x734/0xa10 ** replaying previous printk message ** [ 43.838141][ T6554] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 43.843630][ T6563] bch2_copygc_thread+0xec/0xd40 ** replaying previous printk message ** [ 43.843662][ T6554] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 43.849492][ T6563] kthread+0x5fc/0x75c [ 43.850567][ T6563] ret_from_fork+0x10/0x20 [ 43.851742][ T6563] irq event stamp: 0 [ 43.852749][ T6563] hardirqs last enabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 43.853493][ T6554] done [ 43.856318][ T6563] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec [ 43.856648][ T6554] bcachefs (loop0): check_subvols... [ 43.858685][ T6563] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec ** replaying previous printk message ** [ 43.859252][ T6554] done [ 43.864204][ T6563] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 43.864235][ T6554] bcachefs (loop0): check_subvol_children... [ 43.866058][ T6563] ---[ end trace 0000000000000000 ]--- ** replaying previous printk message ** [ 43.866506][ T6554] done [ 43.870647][ T6554] bcachefs (loop0): delete_dead_snapshots... done [ 43.873165][ T6554] bcachefs (loop0): check_inodes... [ 43.874094][ T6554] bcachefs (loop0): inode points to missing dirent [ 43.877379][ T6554] inum: 4099:4294967295 [ 43.878750][ T6554] mode=100755 [ 43.879814][ T6554] flags=(15300000) [ 43.881003][ T6554] journal_seq=5 [ 43.881143][ T6554] hash_seed=fc917866faeb7b5b [ 43.881152][ T6554] hash_type=siphash [ 43.881160][ T6554] bi_size=1050 [ 43.881167][ T6554] bi_sectors=8 [ 43.881174][ T6554] bi_version=0 [ 43.881181][ T6554] bi_atime=2770562249 [ 43.881189][ T6554] bi_ctime=2770562249 [ 43.881196][ T6554] bi_mtime=2770562249 [ 43.881204][ T6554] bi_otime=2770562249 [ 43.881211][ T6554] bi_uid=0 [ 43.881218][ T6554] bi_gid=0 [ 43.881226][ T6554] bi_nlink=0 [ 43.881233][ T6554] bi_generation=0 [ 43.881240][ T6554] bi_dev=0 [ 43.881247][ T6554] bi_data_checksum=0 [ 43.881255][ T6554] bi_compression=0 [ 43.881262][ T6554] bi_project=0 [ 43.881269][ T6554] bi_background_compression=0 [ 43.881277][ T6554] bi_data_replicas=0 [ 43.881285][ T6554] bi_promote_target=0 [ 43.881292][ T6554] bi_foreground_target=0 [ 43.881300][ T6554] bi_background_target=0 [ 43.881307][ T6554] bi_erasure_code=0 [ 43.881315][ T6554] bi_fields_set=0 [ 43.881322][ T6554] bi_dir=4098 [ 43.881329][ T6554] bi_dir_offset=8977922886548783724 [ 43.881337][ T6554] bi_subvol=0 [ 43.881344][ T6554] bi_parent_subvol=0 [ 43.881352][ T6554] bi_nocow=0 [ 43.881359][ T6554] bi_depth=0 [ 43.881366][ T6554] bi_inodes_32bit=0 [ 43.881374][ T6554] bi_casefold=0, fixing [ 43.881874][ T6554] bcachefs (loop0): inode points to missing dirent [ 43.881885][ T6554] inum: 4100:4294967295 [ 43.881892][ T6554] mode=120777 [ 43.881900][ T6554] flags=(15300000) [ 43.881907][ T6554] journal_seq=4 [ 43.881914][ T6554] hash_seed=f4891abdd5c0cd85 [ 43.881922][ T6554] hash_type=siphash [ 43.881930][ T6554] bi_size=38 [ 43.881937][ T6554] bi_sectors=8 [ 43.881944][ T6554] bi_version=0 [ 43.881951][ T6554] bi_atime=2770562249 [ 43.881959][ T6554] bi_ctime=2780562352 [ 43.881966][ T6554] bi_mtime=2770562249 [ 43.881974][ T6554] bi_otime=2770562249 [ 43.881981][ T6554] bi_uid=0 [ 43.881988][ T6554] bi_gid=0 [ 43.881996][ T6554] bi_nlink=0 [ 43.882003][ T6554] bi_generation=0 [ 43.882010][ T6554] bi_dev=0 [ 43.882017][ T6554] bi_data_checksum=0 [ 43.882025][ T6554] bi_compression=0 [ 43.882032][ T6554] bi_project=0 [ 43.882039][ T6554] bi_background_compression=0 [ 43.882047][ T6554] bi_data_replicas=0 [ 43.882054][ T6554] bi_promote_target=0 [ 43.882062][ T6554] bi_foreground_target=0 [ 43.882069][ T6554] bi_background_target=0 [ 43.882077][ T6554] bi_erasure_code=0 [ 43.882085][ T6554] bi_fields_set=0 [ 43.882092][ T6554] bi_dir=4098 [ 43.882099][ T6554] bi_dir_offset=5675548428000973578 [ 43.882107][ T6554] bi_subvol=0 [ 43.882114][ T6554] bi_parent_subvol=0 [ 43.882122][ T6554] bi_nocow=0 [ 43.882129][ T6554] bi_depth=0 [ 43.882136][ T6554] bi_inodes_32bit=0 [ 43.882143][ T6554] bi_casefold=0, fixing [ 43.887991][ T6554] done [ 43.888320][ T6554] bcachefs (loop0): check_extents... done [ 43.889115][ T6554] bcachefs (loop0): check_indirect_extents... done [ 43.889519][ T6554] bcachefs (loop0): check_dirents... [ 43.889885][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 43.889896][ T6554] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 43.890174][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 43.890185][ T6554] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 43.890358][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 43.890369][ T6554] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 43.890535][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 43.890545][ T6554] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 43.890708][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 43.890718][ T6554] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 43.890868][ T6554] bcachefs (loop0): dirent casefold does not match dir casefold [ 43.890878][ T6554] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 43.891094][ T6554] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 43.891491][ T6554] done [ 43.891845][ T6554] bcachefs (loop0): check_xattrs... done [ 43.892590][ T6554] bcachefs (loop0): check_root... done [ 43.893071][ T6554] bcachefs (loop0): check_unreachable_inodes... [ 43.893756][ T6554] bcachefs (loop0): unreachable inode: [ 43.893767][ T6554] inum: 4099:4294967295 [ 43.893775][ T6554] mode=100755 [ 43.893782][ T6554] flags=(4300000) [ 43.893790][ T6554] journal_seq=21 [ 43.893797][ T6554] hash_seed=fc917866faeb7b5b [ 43.893805][ T6554] hash_type=siphash [ 43.893812][ T6554] bi_size=1050 [ 43.893819][ T6554] bi_sectors=8 [ 43.893827][ T6554] bi_version=0 [ 43.893834][ T6554] bi_atime=2770562249 [ 43.893841][ T6554] bi_ctime=2770562249 [ 43.893849][ T6554] bi_mtime=2770562249 [ 43.893856][ T6554] bi_otime=2770562249 [ 43.893864][ T6554] bi_uid=0 [ 43.893871][ T6554] bi_gid=0 [ 43.893878][ T6554] bi_nlink=0 [ 43.893885][ T6554] bi_generation=0 [ 43.893892][ T6554] bi_dev=0 [ 43.893899][ T6554] bi_data_checksum=0 [ 43.893907][ T6554] bi_compression=0 [ 43.893914][ T6554] bi_project=0 [ 43.893921][ T6554] bi_background_compression=0 [ 43.893929][ T6554] bi_data_replicas=0 [ 43.893936][ T6554] bi_promote_target=0 [ 43.893944][ T6554] bi_foreground_target=0 [ 43.893952][ T6554] bi_background_target=0 [ 43.893959][ T6554] bi_erasure_code=0 [ 43.893967][ T6554] bi_fields_set=0 [ 43.893974][ T6554] bi_dir=0 [ 43.893981][ T6554] bi_dir_offset=0 [ 43.893989][ T6554] bi_subvol=0 [ 43.894433][ T6554] bi_parent_subvol=0 [ 43.894443][ T6554] bi_nocow=0 [ 43.894450][ T6554] bi_depth=0 [ 43.894458][ T6554] bi_inodes_32bit=0 [ 43.894465][ T6554] bi_casefold=0, fixing [ 43.895622][ T6554] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 43.900100][ T6554] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 43.900918][ T6554] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 43.905316][ T6554] bcachefs (loop0): unreachable inode: [ 43.905329][ T6554] inum: 4100:4294967295 [ 43.905337][ T6554] mode=120777 [ 43.905344][ T6554] flags=(4300000) [ 43.905352][ T6554] journal_seq=21 [ 43.905360][ T6554] hash_seed=f4891abdd5c0cd85 [ 43.905367][ T6554] hash_type=siphash [ 43.905375][ T6554] bi_size=38 [ 43.905382][ T6554] bi_sectors=8 [ 43.905389][ T6554] bi_version=0 [ 43.905406][ T6554] bi_atime=2770562249 [ 43.905414][ T6554] bi_ctime=2780562352 [ 43.905422][ T6554] bi_mtime=2770562249 [ 43.905435][ T6554] bi_otime=2770562249 [ 43.905442][ T6554] bi_uid=0 [ 43.905450][ T6554] bi_gid=0 [ 43.905457][ T6554] bi_nlink=0 [ 43.905471][ T6554] bi_generation=0 [ 43.905478][ T6554] bi_dev=0 [ 43.905486][ T6554] bi_data_checksum=0 [ 43.905493][ T6554] bi_compression=0 [ 43.905501][ T6554] bi_project=0 [ 43.905508][ T6554] bi_background_compression=0 [ 43.905516][ T6554] bi_data_replicas=0 [ 43.905523][ T6554] bi_promote_target=0 [ 43.905531][ T6554] bi_foreground_target=0 [ 43.905538][ T6554] bi_background_target=0 [ 43.905546][ T6554] bi_erasure_code=0 [ 43.905554][ T6554] bi_fields_set=0 [ 43.905561][ T6554] bi_dir=0 [ 43.905568][ T6554] bi_dir_offset=0 [ 43.905576][ T6554] bi_subvol=0 [ 43.905583][ T6554] bi_parent_subvol=0 [ 43.905590][ T6554] bi_nocow=0 [ 43.905598][ T6554] bi_depth=0 [ 43.905605][ T6554] bi_inodes_32bit=0 [ 43.905612][ T6554] bi_casefold=0, fixing [ 43.906160][ T6554] bcachefs (loop0): unreachable inode: [ 43.906170][ T6554] inum: 536870913:4294967295 [ 43.906177][ T6554] mode=100755 [ 43.906185][ T6554] flags=(15300000) [ 43.906192][ T6554] journal_seq=22 [ 43.906199][ T6554] hash_seed=b68791a594a6d5ae [ 43.906207][ T6554] hash_type=siphash [ 43.906215][ T6554] bi_size=25769812776 [ 43.906222][ T6554] bi_sectors=24 [ 43.906230][ T6554] bi_version=0 [ 43.906237][ T6554] bi_atime=2780562352 [ 43.906244][ T6554] bi_ctime=2780562352 [ 43.906252][ T6554] bi_mtime=2780562352 [ 43.906260][ T6554] bi_otime=2780562352 [ 43.906267][ T6554] bi_uid=0 [ 43.906274][ T6554] bi_gid=0 [ 43.906281][ T6554] bi_nlink=1 [ 43.906289][ T6554] bi_generation=0 [ 43.906296][ T6554] bi_dev=0 [ 43.906303][ T6554] bi_data_checksum=0 [ 43.906311][ T6554] bi_compression=0 [ 43.906318][ T6554] bi_project=0 [ 43.906326][ T6554] bi_background_compression=0 [ 43.906333][ T6554] bi_data_replicas=0 [ 43.906341][ T6554] bi_promote_target=1 [ 43.906349][ T6554] bi_foreground_target=0 [ 43.906356][ T6554] bi_background_target=0 [ 43.906364][ T6554] bi_erasure_code=0 [ 43.906371][ T6554] bi_fields_set=0 [ 43.906379][ T6554] bi_dir=0 [ 43.906386][ T6554] bi_dir_offset=2695648408715017799 [ 43.906401][ T6554] bi_subvol=0 [ 43.906409][ T6554] bi_parent_subvol=0 [ 43.906417][ T6554] bi_nocow=0 [ 43.906432][ T6554] bi_depth=0 [ 43.906440][ T6554] bi_inodes_32bit=0 [ 43.906447][ T6554] bi_casefold=0, fixing [ 43.906942][ T6554] bcachefs (loop0): unreachable inode: [ 43.906952][ T6554] inum: 536870914:4294967295 [ 43.906959][ T6554] mode=100755 [ 43.906967][ T6554] flags=(15300000) [ 43.906974][ T6554] journal_seq=22 [ 43.906982][ T6554] hash_seed=d483206f1ed95abf [ 43.906989][ T6554] hash_type=siphash [ 43.906997][ T6554] bi_size=100 [ 43.907004][ T6554] bi_sectors=8 [ 43.907011][ T6554] bi_version=1126999418470400 [ 43.907019][ T6554] bi_atime=0 [ 43.907026][ T6554] bi_ctime=0 [ 43.907034][ T6554] bi_mtime=0 [ 43.907041][ T6554] bi_otime=2780562352 [ 43.907048][ T6554] bi_uid=2780562352 [ 43.907056][ T6554] bi_gid=0 [ 43.907063][ T6554] bi_nlink=2780562352 [ 43.907071][ T6554] bi_generation=0 [ 43.907078][ T6554] bi_dev=0 [ 43.907085][ T6554] bi_data_checksum=0 [ 43.907093][ T6554] bi_compression=0 [ 43.907100][ T6554] bi_project=0 [ 43.907108][ T6554] bi_background_compression=0 [ 43.907115][ T6554] bi_data_replicas=0 [ 43.907123][ T6554] bi_promote_target=0 [ 43.907130][ T6554] bi_foreground_target=0 [ 43.907138][ T6554] bi_background_target=0 [ 43.907146][ T6554] bi_erasure_code=0 [ 43.907153][ T6554] bi_fields_set=0 [ 43.907161][ T6554] bi_dir=0 [ 43.907168][ T6554] bi_dir_offset=9097378837824744618 [ 43.907176][ T6554] bi_subvol=0 [ 43.907183][ T6554] bi_parent_subvol=0 [ 43.907190][ T6554] bi_nocow=0 [ 43.907198][ T6554] bi_depth=0 [ 43.907205][ T6554] bi_inodes_32bit=0 [ 43.907212][ T6554] bi_casefold=0, fixing [ 43.907954][ T6554] done [ 43.908310][ T6554] bcachefs (loop0): check_subvolume_structure... done [ 43.908730][ T6554] bcachefs (loop0): check_directory_structure... [ 43.908954][ T6554] bcachefs (loop0): inode points to dirent that does not point back: [ 43.908954][ T6554] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 43.908954][ T6554] inum: 4097:4294967295 [ 43.908954][ T6554] mode=40700 [ 43.908954][ T6554] flags=has_case_insensitive(15300400) [ 43.908954][ T6554] journal_seq=22 [ 43.908954][ T6554] hash_seed=a9fcff247692d1ca [ 43.908954][ T6554] hash_type=siphash [ 43.908954][ T6554] bi_size=0 [ 43.908954][ T6554] bi_sectors=0 [ 43.908954][ T6554] bi_version=0 [ 43.908954][ T6554] bi_atime=200535484 [ 43.908954][ T6554] bi_ctime=200535484 [ 43.908954][ T6554] bi_mtime=200535484 [ 43.908954][ T6554] bi_otime=200535484 [ 43.908954][ T6554] bi_uid=0 [ 43.908954][ T6554] bi_gid=0 [ 43.908954][ T6554] bi_nlink=0 [ 43.908954][ T6554] bi_generation=0 [ 43.908954][ T6554] bi_dev=0 [ 43.908954][ T6554] bi_data_checksum=0 [ 43.908954][ T6554] bi_compression=0 [ 43.908954][ T6554] bi_project=0 [ 43.908954][ T6554] bi_background_compression=0 [ 43.908954][ T6554] bi_data_replicas=0 [ 43.908954][ T6554] bi_promote_target=0 [ 43.908954][ T6554] bi_foreground_target=0 [ 43.908954][ T6554] bi_background_target=0 [ 43.908954][ T6554] bi_erasure_code=0 [ 43.908954][ T6554] bi_fields_set=0 [ 43.908954][ T6554] bi_dir=4096 [ 43.908954][ T6554] bi_dir_offset=8130059955150870709 [ 43.908954][ T6554] bi_subvol=0 [ 43.908954][ T6554] bi_parent_subvol=0 [ 43.908954][ T6554] bi_nocow=0 [ 43.908954][ T6554] bi_depth=0 [ 43.908954][ T6554] bi_inodes_32bit=0 [ 43.908954][ T6554] bi_casefold=0 [ 43.909104][ T6554] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 43.909104][ T6554] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 43.909104][ T6554] mode=40700 [ 43.909104][ T6554] flags=has_case_insensitive(15300400) [ 43.909104][ T6554] journal_seq=22 [ 43.909104][ T6554] hash_seed=a9fcff247692d1ca [ 43.909104][ T6554] hash_type=siphash [ 43.909104][ T6554] bi_size=0 [ 43.909104][ T6554] bi_sectors=0 [ 43.909104][ T6554] bi_version=0 [ 43.909104][ T6554] bi_atime=200535484 [ 43.909104][ T6554] bi_ctime=200535484 [ 43.909104][ T6554] bi_mtime=200535484 [ 43.909104][ T6554] bi_otime=200535484 [ 43.909104][ T6554] bi_uid=0 [ 43.909104][ T6554] bi_gid=0 [ 43.909104][ T6554] bi_nlink=0 [ 43.909104][ T6554] bi_generation=0 [ 43.909104][ T6554] bi_dev=0 [ 43.909104][ T6554] bi_data_checksum=0 [ 43.909104][ T6554] bi_compression=0 [ 43.909104][ T6554] bi_project=0 [ 43.909104][ T6554] bi_background_compression=0 [ 43.909104][ T6554] bi_data_replicas=0 [ 43.909104][ T6554] bi_promote_target=0 [ 43.909104][ T6554] bi_foreground_target=0 [ 43.909104][ T6554] bi_background_target=0 [ 43.909104][ T6554] bi_erasure_code=0 [ 43.909104][ T6554] bi_fields_set=0 [ 43.909104][ T6554] bi_dir=4096 [ 43.909104][ T6554] bi_dir_offset=8130059955150870709 [ 43.909104][ T6554] bi_subvol=0 [ 43.909104][ T6554] bi_parent_subvol=0 [ 43.909104][ T6554] bi_nocow=0 [ 43.909104][ T6554] bi_depth=0 [ 43.909104][ T6554] bi_inodes_32bit=0 [ 43.909104][ T6554] bi_casefold=0 [ 43.909152][ T6554] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 43.909172][ T6554] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 43.909229][ T6097] bcachefs (loop0): going read-only [ 43.909253][ T6097] bcachefs (loop0): finished waiting for writes to stop [ 43.909325][ T6554] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 43.909350][ T6554] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 43.909368][ T6554] bcachefs (loop0): shutting down [ 43.943825][ T6097] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 43.943869][ T6097] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 43.944047][ T6097] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 43.944840][ T6097] bcachefs (loop0): done going read-only, filesystem not clean [ 43.951312][ T6554] bcachefs (loop0): shutdown complete [ 44.874858][ T6554] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 45.017171][ T6565] loop0: detected capacity change from 0 to 32768 [ 45.079845][ 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 [ 45.079845][ T6565] allowing incompatible features above 0.0: (unknown version) [ 45.079845][ T6565] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 45.079919][ T6565] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 45.079993][ T6565] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 45.080095][ T6565] bcachefs (loop0): Version upgrade required: [ 45.080095][ T6565] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 45.080095][ T6565] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 45.080095][ 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_c ** replaying previous printk message ** [ 45.080095][ T6565] bcachefs (loop0): Version upgrade required: [ 45.080095][ T6565] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 45.080095][ T6565] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 45.080095][ 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 [ 45.088500][ T6565] bcachefs (loop0): accounting_read... done [ 45.088926][ T6565] bcachefs (loop0): alloc_read... done [ 45.089357][ T6565] bcachefs (loop0): snapshots_read... done [ 45.089763][ T6565] bcachefs (loop0): check_allocations... [ 45.090561][ T6565] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 45.090575][ 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 [ 45.091448][ T6565] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 45.091460][ 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 [ 45.092056][ T6565] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 45.092068][ 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 [ 45.092751][ T6565] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 45.092763][ 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 [ 45.094701][ T6565] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 45.094716][ 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 [ 45.095184][ T6565] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.095234][ T6565] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.095375][ T6565] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.095435][ T6565] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.095531][ T6565] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.095580][ T6565] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.095658][ T6565] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.095707][ T6565] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.095786][ T6565] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.095835][ T6565] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.095919][ T6565] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.095968][ T6565] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.096046][ T6565] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.096098][ T6565] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 45.096178][ T6565] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 45.096227][ T6565] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 45.096305][ T6565] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.096355][ T6565] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.096453][ T6565] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.096504][ T6565] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.096592][ T6565] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 45.096603][ T6565] Ratelimiting new instances of previous error [ 45.096664][ T6565] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 45.096675][ T6565] Ratelimiting new instances of previous error [ 45.100281][ T6565] done [ 45.101240][ T6565] bcachefs (loop0): going read-write [ 45.109438][ T6574] ODEBUG: object 000000009f107fae is on stack 000000005ddc3f16, but NOT annotated. [ 45.109814][ T6574] ------------[ cut here ]------------ [ 45.109825][ T6574] WARNING: CPU: 0 PID: 6574 at lib/debugobjects.c:655 __debug_object_init+0x364/0x40c [ 45.245363][ T6574] Modules linked in: [ 45.246432][ T6574] CPU: 0 UID: 0 PID: 6574 Comm: bch-copygc/loop Tainted: G B W 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT [ 45.248385][ T6565] bcachefs (loop0): journal_replay... [ 45.250035][ T6574] Tainted: [B]=BAD_PAGE, [W]=WARN [ 45.252871][ T6574] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 45.255562][ T6574] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 45.257677][ T6574] pc : __debug_object_init+0x364/0x40c [ 45.259166][ T6574] lr : __debug_object_init+0x364/0x40c [ 45.260667][ T6574] sp : ffff8000a4307700 [ 45.261817][ T6574] x29: ffff8000a4307700 x28: 0000000000000004 x27: dfff800000000000 [ 45.264042][ T6574] x26: ffff800097693000 x25: ffff0000cda55ba0 x24: 0000000000000000 ** replaying previous printk message ** [ 45.264666][ T6565] done [ 45.267939][ T6574] x23: ffff0000d07868c0 x22: 0000000000000000 x21: ffff8000975e69c8 [ 45.268208][ T6565] bcachefs (loop0): check_alloc_info... [ 45.270082][ T6574] x20: ffff80008af70de0 x19: ffff8000a4307bb0 x18: 1fffe000337dc876 ** replaying previous printk message ** [ 45.272709][ T6565] done [ 45.275608][ T6574] x17: 7562202c36316633 x16: ffff80008aec8e2c x15: 0000000000000001 [ 45.275807][ T6565] bcachefs (loop0): check_lrus... [ 45.277786][ T6574] x14: 1ffff00014860e58 ** replaying previous printk message ** [ 45.278225][ T6565] done [ 45.281991][ T6574] x13: 0000000000000000 x12: 0000000000000000 [ 45.282065][ T6565] bcachefs (loop0): check_btree_backpointers... [ 45.283762][ T6574] x11: ffff700014860e59 ** replaying previous printk message ** [ 45.284314][ T6565] done [ 45.288280][ T6565] bcachefs (loop0): check_backpointers_to_extents... [ 45.288286][ T6574] x10: 0000000000ff0100 x9 : 88958d1965f39100 ** replaying previous printk message ** [ 45.291066][ T6565] done [ 45.293526][ T6574] x8 : 88958d1965f39100 x7 : 0000000000000001 x6 : 0000000000000001 ** replaying previous printk message ** [ 45.294230][ T6565] bcachefs (loop0): check_extents_to_backpointers... [ 45.294792][ T6565] bcachefs (loop0): scanning for missing backpointers in 5/128 buckets [ 45.300708][ T6574] x5 : ffff8000a4307098 x4 : ffff80008f727060 x3 : ffff8000807c0744 ** replaying previous printk message ** [ 45.301163][ T6565] done [ 45.304563][ T6574] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000050 [ 45.304854][ T6565] bcachefs (loop0): check_alloc_to_lru_refs... [ 45.306686][ T6574] Call trace: ** replaying previous printk message ** [ 45.307649][ T6565] done [ 45.310838][ T6574] __debug_object_init+0x364/0x40c (P) [ 45.311331][ T6565] bcachefs (loop0): bucket_gens_init... [ 45.312295][ T6574] debug_object_init+0x20/0x2c [ 45.315055][ T6574] __init_work+0x58/0x68 ** replaying previous printk message ** [ 45.315762][ T6565] done [ 45.317915][ T6574] rhashtable_init_noprof+0x734/0xa10 [ 45.318091][ T6565] bcachefs (loop0): check_snapshot_trees... [ 45.319386][ T6574] bch2_copygc_thread+0xec/0xd40 [ 45.320056][ T6565] done [ 45.322995][ T6565] bcachefs (loop0): check_snapshots... [ 45.323007][ T6574] kthread+0x5fc/0x75c ** replaying previous printk message ** [ 45.323382][ T6565] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 45.328537][ T6574] ret_from_fork+0x10/0x20 ** replaying previous printk message ** [ 45.328728][ T6565] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 45.334178][ T6574] irq event stamp: 0 [ 45.335221][ T6574] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 45.337125][ T6574] hardirqs last disabled at (0): [] copy_process+0x1104/0x31ec ** replaying previous printk message ** [ 45.338510][ T6565] done [ 45.341276][ T6574] softirqs last enabled at (0): [] copy_process+0x1134/0x31ec [ 45.341588][ T6565] bcachefs (loop0): check_subvols... [ 45.343709][ T6574] softirqs last disabled at (0): [<0000000000000000>] 0x0 ** replaying previous printk message ** [ 45.344342][ T6565] done [ 45.348588][ T6574] ---[ end trace 0000000000000000 ]--- [ 45.348601][ T6565] bcachefs (loop0): check_subvol_children... done [ 45.350728][ T6565] bcachefs (loop0): delete_dead_snapshots... done [ 45.352977][ T6565] bcachefs (loop0): check_inodes... [ 45.353826][ T6565] bcachefs (loop0): inode points to missing dirent [ 45.353847][ T6565] inum: 4099:4294967295 [ 45.353861][ T6565] mode=100755 [ 45.353872][ T6565] flags=(15300000) [ 45.353884][ T6565] journal_seq=5 [ 45.353896][ T6565] hash_seed=fc917866faeb7b5b [ 45.353908][ T6565] hash_type=siphash [ 45.353919][ T6565] bi_size=1050 [ 45.353931][ T6565] bi_sectors=8 [ 45.353942][ T6565] bi_version=0 [ 45.353953][ T6565] bi_atime=2770562249 [ 45.353965][ T6565] bi_ctime=2770562249 [ 45.353976][ T6565] bi_mtime=2770562249 [ 45.353988][ T6565] bi_otime=2770562249 [ 45.353999][ T6565] bi_uid=0 [ 45.354010][ T6565] bi_gid=0 [ 45.354021][ T6565] bi_nlink=0 [ 45.354033][ T6565] bi_generation=0 [ 45.354044][ T6565] bi_dev=0 [ 45.354055][ T6565] bi_data_checksum=0 [ 45.354066][ T6565] bi_compression=0 [ 45.354078][ T6565] bi_project=0 [ 45.354089][ T6565] bi_background_compression=0 [ 45.354101][ T6565] bi_data_replicas=0 [ 45.354113][ T6565] bi_promote_target=0 [ 45.354124][ T6565] bi_foreground_target=0 [ 45.354136][ T6565] bi_background_target=0 [ 45.354147][ T6565] bi_erasure_code=0 [ 45.354158][ T6565] bi_fields_set=0 [ 45.354170][ T6565] bi_dir=4098 [ 45.354181][ T6565] bi_dir_offset=8977922886548783724 [ 45.354193][ T6565] bi_subvol=0 [ 45.354204][ T6565] bi_parent_subvol=0 [ 45.354215][ T6565] bi_nocow=0 [ 45.354227][ T6565] bi_depth=0 [ 45.354238][ T6565] bi_inodes_32bit=0 [ 45.354249][ T6565] bi_casefold=0, fixing [ 45.354712][ T6565] bcachefs (loop0): inode points to missing dirent [ 45.354728][ T6565] inum: 4100:4294967295 [ 45.354740][ T6565] mode=120777 [ 45.354752][ T6565] flags=(15300000) [ 45.354763][ T6565] journal_seq=4 [ 45.354775][ T6565] hash_seed=f4891abdd5c0cd85 [ 45.354786][ T6565] hash_type=siphash [ 45.354798][ T6565] bi_size=38 [ 45.354809][ T6565] bi_sectors=8 [ 45.354820][ T6565] bi_version=0 [ 45.354831][ T6565] bi_atime=2770562249 [ 45.354843][ T6565] bi_ctime=2780562352 [ 45.354854][ T6565] bi_mtime=2770562249 [ 45.354866][ T6565] bi_otime=2770562249 [ 45.354878][ T6565] bi_uid=0 [ 45.354889][ T6565] bi_gid=0 [ 45.354900][ T6565] bi_nlink=0 [ 45.354911][ T6565] bi_generation=0 [ 45.354922][ T6565] bi_dev=0 [ 45.354934][ T6565] bi_data_checksum=0 [ 45.354945][ T6565] bi_compression=0 [ 45.354956][ T6565] bi_project=0 [ 45.354968][ T6565] bi_background_compression=0 [ 45.354979][ T6565] bi_data_replicas=0 [ 45.354991][ T6565] bi_promote_target=0 [ 45.355002][ T6565] bi_foreground_target=0 [ 45.355014][ T6565] bi_background_target=0 [ 45.355025][ T6565] bi_erasure_code=0 [ 45.355037][ T6565] bi_fields_set=0 [ 45.355048][ T6565] bi_dir=4098 [ 45.355060][ T6565] bi_dir_offset=5675548428000973578 [ 45.355072][ T6565] bi_subvol=0 [ 45.355083][ T6565] bi_parent_subvol=0 [ 45.355094][ T6565] bi_nocow=0 [ 45.355105][ T6565] bi_depth=0 [ 45.355117][ T6565] bi_inodes_32bit=0 [ 45.355128][ T6565] bi_casefold=0, fixing [ 45.361991][ T6565] done [ 45.362386][ T6565] bcachefs (loop0): check_extents... done [ 45.363228][ T6565] bcachefs (loop0): check_indirect_extents... done [ 45.363719][ T6565] bcachefs (loop0): check_dirents... [ 45.364102][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.364113][ T6565] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 45.364378][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.364389][ T6565] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 45.364571][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.364582][ T6565] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 45.364739][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.364750][ T6565] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 45.364913][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.364924][ T6565] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 45.365082][ T6565] bcachefs (loop0): dirent casefold does not match dir casefold [ 45.365092][ T6565] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 45.365238][ T6565] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 45.366417][ T6565] done [ 45.366766][ T6565] bcachefs (loop0): check_xattrs... done [ 45.367480][ T6565] bcachefs (loop0): check_root... done [ 45.367999][ T6565] bcachefs (loop0): check_unreachable_inodes... [ 45.368475][ T6565] bcachefs (loop0): unreachable inode: [ 45.368486][ T6565] inum: 4099:4294967295 [ 45.368493][ T6565] mode=100755 [ 45.368501][ T6565] flags=(4300000) [ 45.368508][ T6565] journal_seq=21 [ 45.368516][ T6565] hash_seed=fc917866faeb7b5b [ 45.368523][ T6565] hash_type=siphash [ 45.368531][ T6565] bi_size=1050 [ 45.368538][ T6565] bi_sectors=8 [ 45.368545][ T6565] bi_version=0 [ 45.368553][ T6565] bi_atime=2770562249 [ 45.368560][ T6565] bi_ctime=2770562249 [ 45.368568][ T6565] bi_mtime=2770562249 [ 45.368575][ T6565] bi_otime=2770562249 [ 45.368583][ T6565] bi_uid=0 [ 45.368590][ T6565] bi_gid=0 [ 45.368597][ T6565] bi_nlink=0 [ 45.368605][ T6565] bi_generation=0 [ 45.368612][ T6565] bi_dev=0 [ 45.368619][ T6565] bi_data_checksum=0 [ 45.368627][ T6565] bi_compression=0 [ 45.368634][ T6565] bi_project=0 [ 45.368641][ T6565] bi_background_compression=0 [ 45.368660][ T6565] bi_data_replicas=0 [ 45.368668][ T6565] bi_promote_target=0 [ 45.368676][ T6565] bi_foreground_target=0 [ 45.368683][ T6565] bi_background_target=0 [ 45.368691][ T6565] bi_erasure_code=0 [ 45.368698][ T6565] bi_fields_set=0 [ 45.368706][ T6565] bi_dir=0 [ 45.368713][ T6565] bi_dir_offset=0 [ 45.368720][ T6565] bi_subvol=0 [ 45.368728][ T6565] bi_parent_subvol=0 [ 45.368735][ T6565] bi_nocow=0 [ 45.368742][ T6565] bi_depth=0 [ 45.368750][ T6565] bi_inodes_32bit=0 [ 45.368757][ T6565] bi_casefold=0, fixing [ 45.369888][ T6565] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.371321][ T6565] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.372144][ T6565] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 45.378008][ T6565] bcachefs (loop0): unreachable inode: [ 45.378021][ T6565] inum: 4100:4294967295 [ 45.378029][ T6565] mode=120777 [ 45.378036][ T6565] flags=(4300000) [ 45.378044][ T6565] journal_seq=21 [ 45.378051][ T6565] hash_seed=f4891abdd5c0cd85 [ 45.378059][ T6565] hash_type=siphash [ 45.378066][ T6565] bi_size=38 [ 45.378074][ T6565] bi_sectors=8 [ 45.378081][ T6565] bi_version=0 [ 45.378088][ T6565] bi_atime=2770562249 [ 45.378096][ T6565] bi_ctime=2780562352 [ 45.378103][ T6565] bi_mtime=2770562249 [ 45.378111][ T6565] bi_otime=2770562249 [ 45.378119][ T6565] bi_uid=0 [ 45.378126][ T6565] bi_gid=0 [ 45.378133][ T6565] bi_nlink=0 [ 45.378140][ T6565] bi_generation=0 [ 45.378148][ T6565] bi_dev=0 [ 45.378155][ T6565] bi_data_checksum=0 [ 45.378162][ T6565] bi_compression=0 [ 45.378170][ T6565] bi_project=0 [ 45.378177][ T6565] bi_background_compression=0 [ 45.378185][ T6565] bi_data_replicas=0 [ 45.378192][ T6565] bi_promote_target=0 [ 45.378200][ T6565] bi_foreground_target=0 [ 45.378207][ T6565] bi_background_target=0 [ 45.378215][ T6565] bi_erasure_code=0 [ 45.378223][ T6565] bi_fields_set=0 [ 45.378230][ T6565] bi_dir=0 [ 45.378237][ T6565] bi_dir_offset=0 [ 45.378245][ T6565] bi_subvol=0 [ 45.378252][ T6565] bi_parent_subvol=0 [ 45.378260][ T6565] bi_nocow=0 [ 45.378267][ T6565] bi_depth=0 [ 45.378274][ T6565] bi_inodes_32bit=0 [ 45.378282][ T6565] bi_casefold=0, fixing [ 45.378850][ T6565] bcachefs (loop0): unreachable inode: [ 45.378860][ T6565] inum: 536870913:4294967295 [ 45.378868][ T6565] mode=100755 [ 45.378875][ T6565] flags=(15300000) [ 45.378883][ T6565] journal_seq=22 [ 45.378890][ T6565] hash_seed=b68791a594a6d5ae [ 45.378898][ T6565] hash_type=siphash [ 45.378906][ T6565] bi_size=25769812776 [ 45.378913][ T6565] bi_sectors=24 [ 45.378921][ T6565] bi_version=0 [ 45.378928][ T6565] bi_atime=2780562352 [ 45.378935][ T6565] bi_ctime=2780562352 [ 45.378943][ T6565] bi_mtime=2780562352 [ 45.378950][ T6565] bi_otime=2780562352 [ 45.378958][ T6565] bi_uid=0 [ 45.378965][ T6565] bi_gid=0 [ 45.378972][ T6565] bi_nlink=1 [ 45.378980][ T6565] bi_generation=0 [ 45.378987][ T6565] bi_dev=0 [ 45.378994][ T6565] bi_data_checksum=0 [ 45.379002][ T6565] bi_compression=0 [ 45.379009][ T6565] bi_project=0 [ 45.379017][ T6565] bi_background_compression=0 [ 45.379025][ T6565] bi_data_replicas=0 [ 45.379032][ T6565] bi_promote_target=1 [ 45.379040][ T6565] bi_foreground_target=0 [ 45.379047][ T6565] bi_background_target=0 [ 45.379055][ T6565] bi_erasure_code=0 [ 45.379062][ T6565] bi_fields_set=0 [ 45.379070][ T6565] bi_dir=0 [ 45.379077][ T6565] bi_dir_offset=2695648408715017799 [ 45.379085][ T6565] bi_subvol=0 [ 45.379092][ T6565] bi_parent_subvol=0 [ 45.379100][ T6565] bi_nocow=0 [ 45.379107][ T6565] bi_depth=0 [ 45.379115][ T6565] bi_inodes_32bit=0 [ 45.379122][ T6565] bi_casefold=0, fixing [ 45.379626][ T6565] bcachefs (loop0): unreachable inode: [ 45.379635][ T6565] inum: 536870914:4294967295 [ 45.379649][ T6565] mode=100755 [ 45.379656][ T6565] flags=(15300000) [ 45.379664][ T6565] journal_seq=22 [ 45.379671][ T6565] hash_seed=d483206f1ed95abf [ 45.379679][ T6565] hash_type=siphash [ 45.379686][ T6565] bi_size=100 [ 45.379694][ T6565] bi_sectors=8 [ 45.379701][ T6565] bi_version=1126999418470400 [ 45.379709][ T6565] bi_atime=0 [ 45.379716][ T6565] bi_ctime=0 [ 45.379724][ T6565] bi_mtime=0 [ 45.379731][ T6565] bi_otime=2780562352 [ 45.379738][ T6565] bi_uid=2780562352 [ 45.379746][ T6565] bi_gid=0 [ 45.379753][ T6565] bi_nlink=2780562352 [ 45.379761][ T6565] bi_generation=0 [ 45.379768][ T6565] bi_dev=0 [ 45.379775][ T6565] bi_data_checksum=0 [ 45.379783][ T6565] bi_compression=0 [ 45.379790][ T6565] bi_project=0 [ 45.379798][ T6565] bi_background_compression=0 [ 45.379805][ T6565] bi_data_replicas=0 [ 45.379813][ T6565] bi_promote_target=0 [ 45.379820][ T6565] bi_foreground_target=0 [ 45.379828][ T6565] bi_background_target=0 [ 45.379836][ T6565] bi_erasure_code=0 [ 45.379844][ T6565] bi_fields_set=0 [ 45.379851][ T6565] bi_dir=0 [ 45.379859][ T6565] bi_dir_offset=9097378837824744618 [ 45.379866][ T6565] bi_subvol=0 [ 45.379874][ T6565] bi_parent_subvol=0 [ 45.379881][ T6565] bi_nocow=0 [ 45.379889][ T6565] bi_depth=0 [ 45.379896][ T6565] bi_inodes_32bit=0 [ 45.379904][ T6565] bi_casefold=0, fixing [ 45.380650][ T6565] done [ 45.381104][ T6565] bcachefs (loop0): check_subvolume_structure... done [ 45.381559][ T6565] bcachefs (loop0): check_directory_structure... [ 45.381808][ T6565] bcachefs (loop0): inode points to dirent that does not point back: [ 45.381808][ T6565] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 45.381808][ T6565] inum: 4097:4294967295 [ 45.381808][ T6565] mode=40700 [ 45.381808][ T6565] flags=has_case_insensitive(15300400) [ 45.381808][ T6565] journal_seq=22 [ 45.381808][ T6565] hash_seed=a9fcff247692d1ca [ 45.381808][ T6565] hash_type=siphash [ 45.381808][ T6565] bi_size=0 [ 45.381808][ T6565] bi_sectors=0 [ 45.381808][ T6565] bi_version=0 [ 45.381808][ T6565] bi_atime=200535484 [ 45.381808][ T6565] bi_ctime=200535484 [ 45.381808][ T6565] bi_mtime=200535484 [ 45.381808][ T6565] bi_otime=200535484 [ 45.381808][ T6565] bi_uid=0 [ 45.381808][ T6565] bi_gid=0 [ 45.381808][ T6565] bi_nlink=0 [ 45.381808][ T6565] bi_generation=0 [ 45.381808][ T6565] bi_dev=0 [ 45.381808][ T6565] bi_data_checksum=0 [ 45.381808][ T6565] bi_compression=0 [ 45.381808][ T6565] bi_project=0 [ 45.381808][ T6565] bi_background_compression=0 [ 45.381808][ T6565] bi_data_replicas=0 [ 45.381808][ T6565] bi_promote_target=0 [ 45.381808][ T6565] bi_foreground_target=0 [ 45.381808][ T6565] bi_background_target=0 [ 45.381808][ T6565] bi_erasure_code=0 [ 45.381808][ T6565] bi_fields_set=0 [ 45.381808][ T6565] bi_dir=4096 [ 45.381808][ T6565] bi_dir_offset=8130059955150870709 [ 45.381808][ T6565] bi_subvol=0 [ 45.381808][ T6565] bi_parent_subvol=0 [ 45.381808][ T6565] bi_nocow=0 [ 45.381808][ T6565] bi_depth=0 [ 45.381808][ T6565] bi_inodes_32bit=0 [ 45.381808][ T6565] bi_casefold=0 [ 45.381969][ T6565] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 45.381969][ T6565] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 45.381969][ T6565] mode=40700 [ 45.381969][ T6565] flags=has_case_insensitive(15300400) [ 45.381969][ T6565] journal_seq=22 [ 45.381969][ T6565] hash_seed=a9fcff247692d1ca [ 45.381969][ T6565] hash_type=siphash [ 45.381969][ T6565] bi_size=0 [ 45.381969][ T6565] bi_sectors=0 [ 45.381969][ T6565] bi_version=0 [ 45.381969][ T6565] bi_atime=200535484 [ 45.381969][ T6565] bi_ctime=200535484 [ 45.381969][ T6565] bi_mtime=200535484 [ 45.381969][ T6565] bi_otime=200535484 [ 45.381969][ T6565] bi_uid=0 [ 45.381969][ T6565] bi_gid=0 [ 45.381969][ T6565] bi_nlink=0 [ 45.381969][ T6565] bi_generation=0 [ 45.381969][ T6565] bi_dev=0 [ 45.381969][ T6565] bi_data_checksum=0 [ 45.381969][ T6565] bi_compression=0 [ 45.381969][ T6565] bi_project=0 [ 45.381969][ T6565] bi_background_compression=0 [ 45.381969][ T6565] bi_data_replicas=0 [ 45.381969][ T6565] bi_promote_target=0 [ 45.381969][ T6565] bi_foreground_target=0 [ 45.381969][ T6565] bi_background_target=0 [ 45.381969][ T6565] bi_erasure_code=0 [ 45.381969][ T6565] bi_fields_set=0 [ 45.381969][ T6565] bi_dir=4096 [ 45.381969][ T6565] bi_dir_offset=8130059955150870709 [ 45.381969][ T6565] bi_subvol=0 [ 45.381969][ T6565] bi_parent_subvol=0 [ 45.381969][ T6565] bi_nocow=0 [ 45.381969][ T6565] bi_depth=0 [ 45.381969][ T6565] bi_inodes_32bit=0 [ 45.381969][ T6565] bi_casefold=0 [ 45.382016][ T6565] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 45.382036][ T6565] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 45.382097][ T6097] bcachefs (loop0): going read-only [ 45.382122][ T6097] bcachefs (loop0): finished waiting for writes to stop [ 45.382198][ T6565] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 45.382223][ T6565] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 45.382241][ T6565] bcachefs (loop0): shutting down [ 45.423862][ T6097] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 45.423906][ T6097] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 45.424029][ T6097] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 45.425008][ T6097] bcachefs (loop0): done going read-only, filesystem not clean [ 45.431410][ T6565] bcachefs (loop0): shutdown complete [ 46.514782][ T6565] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 46.646765][ T6579] loop0: detected capacity change from 0 to 32768 [ 46.696693][ T6579] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,checksum_err_retry_nr=4,compression=lz4,degraded=no,nojournal_transaction_names [ 46.696693][ T6579] allowing incompatible features above 0.0: (unknown version) [ 46.696693][ T6579] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 46.696757][ T6579] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 46.696845][ T6579] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 46.696951][ T6579] bcachefs (loop0): Version upgrade required: [ 46.696951][ T6579] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 46.696951][ T6579] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 46.696951][ T6579] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 46.706646][ T6579] bcachefs (loop0): accounting_read... done [ 46.707101][ T6579] bcachefs (loop0): alloc_read... done [ 46.707556][ T6579] bcachefs (loop0): snapshots_read... done [ 46.708067][ T6579] bcachefs (loop0): check_allocations... [ 46.709237][ T6579] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 46.709251][ T6579] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 46.710149][ T6579] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 46.710162][ T6579] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 46.710750][ T6579] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 46.710762][ T6579] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 46.711445][ T6579] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 46.711457][ T6579] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 46.712552][ T6579] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 46.712564][ T6579] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 46.713022][ T6579] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.713086][ T6579] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.713226][ T6579] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.713276][ T6579] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.713357][ T6579] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.713416][ T6579] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.713510][ T6579] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.715690][ T6579] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.715786][ T6579] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.715836][ T6579] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.715921][ T6579] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.715970][ T6579] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.716048][ T6579] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.716096][ T6579] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 46.716174][ T6579] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 46.716223][ T6579] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 46.716307][ T6579] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 46.716357][ T6579] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 46.716453][ T6579] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 46.716503][ T6579] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 46.716600][ T6579] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 46.716610][ T6579] Ratelimiting new instances of previous error [ 46.716671][ T6579] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 46.716682][ T6579] Ratelimiting new instances of previous error [ 46.720274][ T6579] done [ 46.721229][ T6579] bcachefs (loop0): going read-write [ 46.748887][ T6579] bcachefs (loop0): journal_replay... done [ 46.763027][ T6579] bcachefs (loop0): check_alloc_info... done [ 46.765520][ T6579] bcachefs (loop0): check_lrus... done [ 46.765957][ T6579] bcachefs (loop0): check_btree_backpointers... done [ 46.766505][ T6579] bcachefs (loop0): check_backpointers_to_extents... done [ 46.767827][ T6579] bcachefs (loop0): check_extents_to_backpointers... [ 46.768354][ T6579] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 46.769019][ T6579] done [ 46.769348][ T6579] bcachefs (loop0): check_alloc_to_lru_refs... done [ 46.770504][ T6579] bcachefs (loop0): bucket_gens_init... done [ 46.774555][ T6579] bcachefs (loop0): check_snapshot_trees... done [ 46.774962][ T6579] bcachefs (loop0): check_snapshots... [ 46.775161][ T6579] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 46.775172][ T6579] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 46.778602][ T6579] done [ 46.778945][ T6579] bcachefs (loop0): check_subvols... done [ 46.779640][ T6579] bcachefs (loop0): check_subvol_children... done [ 46.780028][ T6579] bcachefs (loop0): delete_dead_snapshots... done [ 46.780407][ T6579] bcachefs (loop0): check_inodes... [ 46.781198][ T6579] bcachefs (loop0): inode points to missing dirent [ 46.781210][ T6579] inum: 4099:4294967295 [ 46.781218][ T6579] mode=100755 [ 46.781226][ T6579] flags=(15300000) [ 46.781233][ T6579] journal_seq=5 [ 46.781240][ T6579] hash_seed=fc917866faeb7b5b [ 46.781248][ T6579] hash_type=siphash [ 46.781256][ T6579] bi_size=1050 [ 46.781263][ T6579] bi_sectors=8 [ 46.781270][ T6579] bi_version=0 [ 46.781278][ T6579] bi_atime=2770562249 [ 46.781285][ T6579] bi_ctime=2770562249 [ 46.781293][ T6579] bi_mtime=2770562249 [ 46.781300][ T6579] bi_otime=2770562249 [ 46.781308][ T6579] bi_uid=0 [ 46.781315][ T6579] bi_gid=0 [ 46.781322][ T6579] bi_nlink=0 [ 46.781329][ T6579] bi_generation=0 [ 46.781337][ T6579] bi_dev=0 [ 46.781344][ T6579] bi_data_checksum=0 [ 46.781351][ T6579] bi_compression=0 [ 46.781359][ T6579] bi_project=0 [ 46.781366][ T6579] bi_background_compression=0 [ 46.781374][ T6579] bi_data_replicas=0 [ 46.781381][ T6579] bi_promote_target=0 [ 46.781389][ T6579] bi_foreground_target=0 [ 46.781404][ T6579] bi_background_target=0 [ 46.781412][ T6579] bi_erasure_code=0 [ 46.781420][ T6579] bi_fields_set=0 [ 46.781427][ T6579] bi_dir=4098 [ 46.781434][ T6579] bi_dir_offset=8977922886548783724 [ 46.781442][ T6579] bi_subvol=0 [ 46.781450][ T6579] bi_parent_subvol=0 [ 46.781462][ T6579] bi_nocow=0 [ 46.781470][ T6579] bi_depth=0 [ 46.781477][ T6579] bi_inodes_32bit=0 [ 46.781484][ T6579] bi_casefold=0, fixing [ 46.781934][ T6579] bcachefs (loop0): inode points to missing dirent [ 46.781944][ T6579] inum: 4100:4294967295 [ 46.781952][ T6579] mode=120777 [ 46.781959][ T6579] flags=(15300000) [ 46.781966][ T6579] journal_seq=4 [ 46.781974][ T6579] hash_seed=f4891abdd5c0cd85 [ 46.781982][ T6579] hash_type=siphash [ 46.781989][ T6579] bi_size=38 [ 46.781997][ T6579] bi_sectors=8 [ 46.782004][ T6579] bi_version=0 [ 46.782011][ T6579] bi_atime=2770562249 [ 46.782019][ T6579] bi_ctime=2780562352 [ 46.782026][ T6579] bi_mtime=2770562249 [ 46.782034][ T6579] bi_otime=2770562249 [ 46.782041][ T6579] bi_uid=0 [ 46.782048][ T6579] bi_gid=0 [ 46.782056][ T6579] bi_nlink=0 [ 46.782063][ T6579] bi_generation=0 [ 46.782070][ T6579] bi_dev=0 [ 46.782077][ T6579] bi_data_checksum=0 [ 46.782085][ T6579] bi_compression=0 [ 46.782092][ T6579] bi_project=0 [ 46.782100][ T6579] bi_background_compression=0 [ 46.782107][ T6579] bi_data_replicas=0 [ 46.782115][ T6579] bi_promote_target=0 [ 46.782123][ T6579] bi_foreground_target=0 [ 46.782130][ T6579] bi_background_target=0 [ 46.782138][ T6579] bi_erasure_code=0 [ 46.782145][ T6579] bi_fields_set=0 [ 46.782153][ T6579] bi_dir=4098 [ 46.782160][ T6579] bi_dir_offset=5675548428000973578 [ 46.782168][ T6579] bi_subvol=0 [ 46.782175][ T6579] bi_parent_subvol=0 [ 46.782183][ T6579] bi_nocow=0 [ 46.782190][ T6579] bi_depth=0 [ 46.782198][ T6579] bi_inodes_32bit=0 [ 46.782205][ T6579] bi_casefold=0, fixing [ 46.782915][ T6579] done [ 46.783239][ T6579] bcachefs (loop0): check_extents... done [ 46.787454][ T6579] bcachefs (loop0): check_indirect_extents... done [ 46.787876][ T6579] bcachefs (loop0): check_dirents... [ 46.788275][ T6579] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.788286][ T6579] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 46.788573][ T6579] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.788584][ T6579] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 46.788749][ T6579] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.788760][ T6579] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 46.788907][ T6579] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.788918][ T6579] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 46.789079][ T6579] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.789089][ T6579] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 46.789239][ T6579] bcachefs (loop0): dirent casefold does not match dir casefold [ 46.789249][ T6579] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 46.789426][ T6579] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 46.789858][ T6579] done [ 46.790192][ T6579] bcachefs (loop0): check_xattrs... done [ 46.790934][ T6579] bcachefs (loop0): check_root... done [ 46.791423][ T6579] bcachefs (loop0): check_unreachable_inodes... [ 46.791876][ T6579] bcachefs (loop0): unreachable inode: [ 46.791887][ T6579] inum: 4099:4294967295 [ 46.791894][ T6579] mode=100755 [ 46.791902][ T6579] flags=(4300000) [ 46.791909][ T6579] journal_seq=20 [ 46.791917][ T6579] hash_seed=fc917866faeb7b5b [ 46.791924][ T6579] hash_type=siphash [ 46.791932][ T6579] bi_size=1050 [ 46.791939][ T6579] bi_sectors=8 [ 46.791946][ T6579] bi_version=0 [ 46.791954][ T6579] bi_atime=2770562249 [ 46.791961][ T6579] bi_ctime=2770562249 [ 46.791969][ T6579] bi_mtime=2770562249 [ 46.791976][ T6579] bi_otime=2770562249 [ 46.791984][ T6579] bi_uid=0 [ 46.791991][ T6579] bi_gid=0 [ 46.791998][ T6579] bi_nlink=0 [ 46.792005][ T6579] bi_generation=0 [ 46.792013][ T6579] bi_dev=0 [ 46.792020][ T6579] bi_data_checksum=0 [ 46.792028][ T6579] bi_compression=0 [ 46.792035][ T6579] bi_project=0 [ 46.792043][ T6579] bi_background_compression=0 [ 46.792050][ T6579] bi_data_replicas=0 [ 46.792058][ T6579] bi_promote_target=0 [ 46.792065][ T6579] bi_foreground_target=0 [ 46.792073][ T6579] bi_background_target=0 [ 46.792081][ T6579] bi_erasure_code=0 [ 46.792088][ T6579] bi_fields_set=0 [ 46.792095][ T6579] bi_dir=0 [ 46.792103][ T6579] bi_dir_offset=0 [ 46.792110][ T6579] bi_subvol=0 [ 46.792117][ T6579] bi_parent_subvol=0 [ 46.792125][ T6579] bi_nocow=0 [ 46.792132][ T6579] bi_depth=0 [ 46.792139][ T6579] bi_inodes_32bit=0 [ 46.792147][ T6579] bi_casefold=0, fixing [ 46.793276][ T6579] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.797216][ T6579] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.798006][ T6579] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 46.802510][ T6579] bcachefs (loop0): unreachable inode: [ 46.802522][ T6579] inum: 4100:4294967295 [ 46.802530][ T6579] mode=120777 [ 46.802537][ T6579] flags=(4300000) [ 46.802545][ T6579] journal_seq=20 [ 46.802552][ T6579] hash_seed=f4891abdd5c0cd85 [ 46.802560][ T6579] hash_type=siphash [ 46.802567][ T6579] bi_size=38 [ 46.802575][ T6579] bi_sectors=8 [ 46.802582][ T6579] bi_version=0 [ 46.802589][ T6579] bi_atime=2770562249 [ 46.802597][ T6579] bi_ctime=2780562352 [ 46.802604][ T6579] bi_mtime=2770562249 [ 46.802612][ T6579] bi_otime=2770562249 [ 46.802619][ T6579] bi_uid=0 [ 46.802627][ T6579] bi_gid=0 [ 46.802634][ T6579] bi_nlink=0 [ 46.802641][ T6579] bi_generation=0 [ 46.802648][ T6579] bi_dev=0 [ 46.802656][ T6579] bi_data_checksum=0 [ 46.802663][ T6579] bi_compression=0 [ 46.802671][ T6579] bi_project=0 [ 46.802678][ T6579] bi_background_compression=0 [ 46.802686][ T6579] bi_data_replicas=0 [ 46.802693][ T6579] bi_promote_target=0 [ 46.802701][ T6579] bi_foreground_target=0 [ 46.802708][ T6579] bi_background_target=0 [ 46.802716][ T6579] bi_erasure_code=0 [ 46.802723][ T6579] bi_fields_set=0 [ 46.802731][ T6579] bi_dir=0 [ 46.802738][ T6579] bi_dir_offset=0 [ 46.802745][ T6579] bi_subvol=0 [ 46.802753][ T6579] bi_parent_subvol=0 [ 46.802760][ T6579] bi_nocow=0 [ 46.802767][ T6579] bi_depth=0 [ 46.802775][ T6579] bi_inodes_32bit=0 [ 46.802782][ T6579] bi_casefold=0, fixing [ 46.803317][ T6579] bcachefs (loop0): unreachable inode: [ 46.803327][ T6579] inum: 536870913:4294967295 [ 46.803334][ T6579] mode=100755 [ 46.803342][ T6579] flags=(15300000) [ 46.803349][ T6579] journal_seq=21 [ 46.803357][ T6579] hash_seed=b68791a594a6d5ae [ 46.803364][ T6579] hash_type=siphash [ 46.803372][ T6579] bi_size=25769812776 [ 46.803379][ T6579] bi_sectors=24 [ 46.803387][ T6579] bi_version=0 [ 46.803401][ T6579] bi_atime=2780562352 [ 46.803409][ T6579] bi_ctime=2780562352 [ 46.803417][ T6579] bi_mtime=2780562352 [ 46.803424][ T6579] bi_otime=2780562352 [ 46.803432][ T6579] bi_uid=0 [ 46.803439][ T6579] bi_gid=0 [ 46.803446][ T6579] bi_nlink=1 [ 46.803453][ T6579] bi_generation=0 [ 46.803470][ T6579] bi_dev=0 [ 46.803477][ T6579] bi_data_checksum=0 [ 46.803484][ T6579] bi_compression=0 [ 46.803492][ T6579] bi_project=0 [ 46.803499][ T6579] bi_background_compression=0 [ 46.803507][ T6579] bi_data_replicas=0 [ 46.803514][ T6579] bi_promote_target=1 [ 46.803522][ T6579] bi_foreground_target=0 [ 46.806080][ T6579] bi_background_target=0 [ 46.806090][ T6579] bi_erasure_code=0 [ 46.806098][ T6579] bi_fields_set=0 [ 46.806105][ T6579] bi_dir=0 [ 46.806112][ T6579] bi_dir_offset=2695648408715017799 [ 46.806120][ T6579] bi_subvol=0 [ 46.806127][ T6579] bi_parent_subvol=0 [ 46.806135][ T6579] bi_nocow=0 [ 46.806142][ T6579] bi_depth=0 [ 46.806150][ T6579] bi_inodes_32bit=0 [ 46.806157][ T6579] bi_casefold=0, fixing [ 46.806689][ T6579] bcachefs (loop0): unreachable inode: [ 46.806699][ T6579] inum: 536870914:4294967295 [ 46.806707][ T6579] mode=100755 [ 46.806714][ T6579] flags=(15300000) [ 46.806721][ T6579] journal_seq=21 [ 46.806729][ T6579] hash_seed=d483206f1ed95abf [ 46.806736][ T6579] hash_type=siphash [ 46.806744][ T6579] bi_size=100 [ 46.806751][ T6579] bi_sectors=8 [ 46.806758][ T6579] bi_version=1126999418470400 [ 46.806766][ T6579] bi_atime=0 [ 46.806773][ T6579] bi_ctime=0 [ 46.806781][ T6579] bi_mtime=0 [ 46.806788][ T6579] bi_otime=2780562352 [ 46.806795][ T6579] bi_uid=2780562352 [ 46.806803][ T6579] bi_gid=0 [ 46.806810][ T6579] bi_nlink=2780562352 [ 46.806817][ T6579] bi_generation=0 [ 46.806825][ T6579] bi_dev=0 [ 46.806832][ T6579] bi_data_checksum=0 [ 46.806839][ T6579] bi_compression=0 [ 46.806847][ T6579] bi_project=0 [ 46.806854][ T6579] bi_background_compression=0 [ 46.806862][ T6579] bi_data_replicas=0 [ 46.806869][ T6579] bi_promote_target=0 [ 46.806877][ T6579] bi_foreground_target=0 [ 46.806884][ T6579] bi_background_target=0 [ 46.806892][ T6579] bi_erasure_code=0 [ 46.806899][ T6579] bi_fields_set=0 [ 46.806907][ T6579] bi_dir=0 [ 46.806914][ T6579] bi_dir_offset=9097378837824744618 [ 46.806922][ T6579] bi_subvol=0 [ 46.806929][ T6579] bi_parent_subvol=0 [ 46.806936][ T6579] bi_nocow=0 [ 46.806944][ T6579] bi_depth=0 [ 46.806951][ T6579] bi_inodes_32bit=0 [ 46.806958][ T6579] bi_casefold=0, fixing [ 46.807732][ T6579] done [ 46.808110][ T6579] bcachefs (loop0): check_subvolume_structure... done [ 46.808532][ T6579] bcachefs (loop0): check_directory_structure... [ 46.808769][ T6579] bcachefs (loop0): inode points to dirent that does not point back: [ 46.808769][ T6579] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 46.808769][ T6579] inum: 4097:4294967295 [ 46.808769][ T6579] mode=40700 [ 46.808769][ T6579] flags=has_case_insensitive(15300400) [ 46.808769][ T6579] journal_seq=21 [ 46.808769][ T6579] hash_seed=a9fcff247692d1ca [ 46.808769][ T6579] hash_type=siphash [ 46.808769][ T6579] bi_size=0 [ 46.808769][ T6579] bi_sectors=0 [ 46.808769][ T6579] bi_version=0 [ 46.808769][ T6579] bi_atime=200535484 [ 46.808769][ T6579] bi_ctime=200535484 [ 46.808769][ T6579] bi_mtime=200535484 [ 46.808769][ T6579] bi_otime=200535484 [ 46.808769][ T6579] bi_uid=0 [ 46.808769][ T6579] bi_gid=0 [ 46.808769][ T6579] bi_nlink=0 [ 46.808769][ T6579] bi_generation=0 [ 46.808769][ T6579] bi_dev=0 [ 46.808769][ T6579] bi_data_checksum=0 [ 46.808769][ T6579] bi_compression=0 [ 46.808769][ T6579] bi_project=0 [ 46.808769][ T6579] bi_background_compression=0 [ 46.808769][ T6579] bi_data_replicas=0 [ 46.808769][ T6579] bi_promote_target=0 [ 46.808769][ T6579] bi_foreground_target=0 [ 46.808769][ T6579] bi_background_target=0 [ 46.808769][ T6579] bi_erasure_code=0 [ 46.808769][ T6579] bi_fields_set=0 [ 46.808769][ T6579] bi_dir=4096 [ 46.808769][ T6579] bi_dir_offset=8130059955150870709 [ 46.808769][ T6579] bi_subvol=0 [ 46.808769][ T6579] bi_parent_subvol=0 [ 46.808769][ T6579] bi_nocow=0 [ 46.808769][ T6579] bi_depth=0 [ 46.808769][ T6579] bi_inodes_32bit=0 [ 46.808769][ T6579] bi_casefold=0 [ 46.808919][ T6579] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 46.808919][ T6579] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 46.808919][ T6579] mode=40700 [ 46.808919][ T6579] flags=has_case_insensitive(15300400) [ 46.808919][ T6579] journal_seq=21 [ 46.808919][ T6579] hash_seed=a9fcff247692d1ca [ 46.808919][ T6579] hash_type=siphash [ 46.808919][ T6579] bi_size=0 [ 46.808919][ T6579] bi_sectors=0 [ 46.808919][ T6579] bi_version=0 [ 46.808919][ T6579] bi_atime=200535484 [ 46.808919][ T6579] bi_ctime=200535484 [ 46.808919][ T6579] bi_mtime=200535484 [ 46.808919][ T6579] bi_otime=200535484 [ 46.808919][ T6579] bi_uid=0 [ 46.808919][ T6579] bi_gid=0 [ 46.808919][ T6579] bi_nlink=0 [ 46.808919][ T6579] bi_generation=0 [ 46.808919][ T6579] bi_dev=0 [ 46.808919][ T6579] bi_data_checksum=0 [ 46.808919][ T6579] bi_compression=0 [ 46.808919][ T6579] bi_project=0 [ 46.808919][ T6579] bi_background_compression=0 [ 46.808919][ T6579] bi_data_replicas=0 [ 46.808919][ T6579] bi_promote_target=0 [ 46.808919][ T6579] bi_foreground_target=0 [ 46.808919][ T6579] bi_background_target=0 [ 46.808919][ T6579] bi_erasure_code=0 [ 46.808919][ T6579] bi_fields_set=0 [ 46.808919][ T6579] bi_dir=4096 [ 46.808919][ T6579] bi_dir_offset=8130059955150870709 [ 46.808919][ T6579] bi_subvol=0 [ 46.808919][ T6579] bi_parent_subvol=0 [ 46.808919][ T6579] bi_nocow=0 [ 46.808919][ T6579] bi_depth=0 [ 46.808919][ T6579] bi_inodes_32bit=0 [ 46.808919][ T6579] bi_casefold=0 [ 46.808968][ T6579] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 46.808987][ T6579] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 46.809044][ T6097] bcachefs (loop0): going read-only [ 46.809068][ T6097] bcachefs (loop0): finished waiting for writes to stop [ 46.809142][ T6579] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 22 [ 46.809167][ T6579] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 46.809185][ T6579] bcachefs (loop0): shutting down [ 46.853966][ T6097] bcachefs (loop0): flushing journal and stopping allocators, journal seq 22 [ 46.854011][ T6097] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 22 [ 46.854143][ T6097] bcachefs (loop0): unclean shutdown complete, journal seq 22 [ 46.855001][ T6097] bcachefs (loop0): done going read-only, filesystem not clean [ 46.862019][ T6579] bcachefs (loop0): shutdown complete [ 47.824727][ T6579] bcachefs: bch2_fs_get_tree() error: ENOENT_dirent_doesnt_match_inode executing program [ 47.955473][ T6592] loop0: detected capacity change from 0 to 32768 [ 48.009942][ T6592] 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 [ 48.009942][ T6592] allowing incompatible features above 0.0: (unknown version) [ 48.009942][ T6592] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 48.010005][ T6592] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 48.010479][ T6592] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 48.010585][ T6592] bcachefs (loop0): Version upgrade required: [ 48.010585][ T6592] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 48.010585][ T6592] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 48.010585][ T6592] 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 [ 48.032480][ T6592] bcachefs (loop0): accounting_read... done [ 48.064504][ T6592] bcachefs (loop0): alloc_read... done [ 48.066596][ T6592] bcachefs (loop0): snapshots_read... done [ 48.068504][ T6592] bcachefs (loop0): check_allocations... [ 48.069321][ T6592] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 48.069335][ T6592] 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 [ 48.070181][ T6592] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 48.070194][ T6592] 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 [ 48.070789][ T6592] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 48.070800][ T6592] 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 [ 48.071475][ T6592] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 48.071487][ T6592] 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 [ 48.072614][ T6592] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 48.072626][ T6592] 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 [ 48.073081][ T6592] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 48.073134][ T6592] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 48.073268][ T6592] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 48.073318][ T6592] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 48.073419][ T6592] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 48.073480][ T6592] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 48.073826][ T6592] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 48.073879][ T6592] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 48.073960][ T6592] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 48.074530][ T6592] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 48.074633][ T6592] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 48.074685][ T6592] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 48.074763][ T6592] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 48.074819][ T6592] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 48.074898][ T6592] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 48.074946][ T6592] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 48.075024][ T6592] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 48.075073][ T6592] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 48.075152][ T6592] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 48.075201][ T6592] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 48.075303][ T6592] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 48.075314][ T6592] Ratelimiting new instances of previous error [ 48.075375][ T6592] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 48.075386][ T6592] Ratelimiting new instances of previous error [ 48.080199][ T6592] done [ 48.081197][ T6592] bcachefs (loop0): going read-write [ 48.099204][ T6592] bcachefs (loop0): journal_replay... done [ 48.114171][ T6592] bcachefs (loop0): check_alloc_info... done [ 48.116517][ T6592] bcachefs (loop0): check_lrus... done [ 48.116976][ T6592] bcachefs (loop0): check_btree_backpointers... done [ 48.117528][ T6592] bcachefs (loop0): check_backpointers_to_extents... done [ 48.118778][ T6592] bcachefs (loop0): check_extents_to_backpointers... [ 48.119291][ T6592] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 48.119953][ T6592] done [ 48.120255][ T6592] bcachefs (loop0): check_alloc_to_lru_refs... done [ 48.121373][ T6592] bcachefs (loop0): bucket_gens_init... done [ 48.125521][ T6592] bcachefs (loop0): check_snapshot_trees... done [ 48.125964][ T6592] bcachefs (loop0): check_snapshots... [ 48.126157][ T6592] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 48.126168][ T6592] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 48.129518][ T6592] done [ 48.129836][ T6592] bcachefs (loop0): check_subvols... done [ 48.130496][ T6592] bcachefs (loop0): check_subvol_children... done [ 48.130921][ T6592] bcachefs (loop0): delete_dead_snapshots... done [ 48.131285][ T6592] bcachefs (loop0): check_inodes... [ 48.132081][ T6592] bcachefs (loop0): inode points to missing dirent [ 48.132094][ T6592] inum: 4099:4294967295 [ 48.132102][ T6592] mode=100755 [ 48.132109][ T6592] flags=(15300000) [ 48.132117][ T6592] journal_seq=5 [ 48.132124][ T6592] hash_seed=fc917866faeb7b5b [ 48.132132][ T6592] hash_type=siphash [ 48.132139][ T6592] bi_size=1050 [ 48.132146][ T6592] bi_sectors=8 [ 48.132154][ T6592] bi_version=0 [ 48.132161][ T6592] bi_atime=2770562249 [ 48.132169][ T6592] bi_ctime=2770562249 [ 48.132176][ T6592] bi_mtime=2770562249 [ 48.132184][ T6592] bi_otime=2770562249 [ 48.132191][ T6592] bi_uid=0 [ 48.132199][ T6592] bi_gid=0 [ 48.132206][ T6592] bi_nlink=0 [ 48.132213][ T6592] bi_generation=0 [ 48.132220][ T6592] bi_dev=0 [ 48.132228][ T6592] bi_data_checksum=0 [ 48.132235][ T6592] bi_compression=0 [ 48.132243][ T6592] bi_project=0 [ 48.132250][ T6592] bi_background_compression=0 [ 48.132258][ T6592] bi_data_replicas=0 [ 48.132265][ T6592] bi_promote_target=0 [ 48.132273][ T6592] bi_foreground_target=0 [ 48.132280][ T6592] bi_background_target=0 [ 48.132288][ T6592] bi_erasure_code=0 [ 48.132295][ T6592] bi_fields_set=0 [ 48.132303][ T6592] bi_dir=4098 [ 48.132310][ T6592] bi_dir_offset=8977922886548783724 [ 48.132318][ T6592] bi_subvol=0 [ 48.132325][ T6592] bi_parent_subvol=0 [ 48.132333][ T6592] bi_nocow=0 [ 48.132340][ T6592] bi_depth=0 [ 48.132347][ T6592] bi_inodes_32bit=0 [ 48.132355][ T6592] bi_casefold=0, fixing [ 48.132807][ T6592] bcachefs (loop0): inode points to missing dirent [ 48.132817][ T6592] inum: 4100:4294967295 [ 48.132824][ T6592] mode=120777 [ 48.132832][ T6592] flags=(15300000) [ 48.132839][ T6592] journal_seq=4 [ 48.132847][ T6592] hash_seed=f4891abdd5c0cd85 [ 48.132854][ T6592] hash_type=siphash [ 48.132862][ T6592] bi_size=38 [ 48.132869][ T6592] bi_sectors=8 [ 48.132876][ T6592] bi_version=0 [ 48.132884][ T6592] bi_atime=2770562249 [ 48.132891][ T6592] bi_ctime=2780562352 [ 48.132899][ T6592] bi_mtime=2770562249 [ 48.132906][ T6592] bi_otime=2770562249 [ 48.132914][ T6592] bi_uid=0 [ 48.132921][ T6592] bi_gid=0 [ 48.132928][ T6592] bi_nlink=0 [ 48.132935][ T6592] bi_generation=0 [ 48.132942][ T6592] bi_dev=0 [ 48.132950][ T6592] bi_data_checksum=0 [ 48.132957][ T6592] bi_compression=0 [ 48.132965][ T6592] bi_project=0 [ 48.132972][ T6592] bi_background_compression=0 [ 48.132980][ T6592] bi_data_replicas=0 [ 48.132987][ T6592] bi_promote_target=0 [ 48.132995][ T6592] bi_foreground_target=0 [ 48.133002][ T6592] bi_background_target=0 [ 48.133010][ T6592] bi_erasure_code=0 [ 48.133017][ T6592] bi_fields_set=0 [ 48.133025][ T6592] bi_dir=4098 [ 48.133032][ T6592] bi_dir_offset=5675548428000973578 [ 48.133040][ T6592] bi_subvol=0 [ 48.133047][ T6592] bi_parent_subvol=0 [ 48.133055][ T6592] bi_nocow=0 [ 48.133062][ T6592] bi_depth=0 [ 48.133069][ T6592] bi_inodes_32bit=0 [ 48.133077][ T6592] bi_casefold=0, fixing [ 48.140260][ T6592] done [ 48.140634][ T6592] bcachefs (loop0): check_extents... done [ 48.141496][ T6592] bcachefs (loop0): check_indirect_extents... done [ 48.141948][ T6592] bcachefs (loop0): check_dirents... [ 48.142303][ T6592] bcachefs (loop0): dirent casefold does not match dir casefold [ 48.142314][ T6592] u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 48.142602][ T6592] bcachefs (loop0): dirent casefold does not match dir casefold [ 48.142613][ T6592] u64s 7 type dirent 4096:1896155912177158345:U32_MAX len 0 ver 0: file3 -> 536870913 type reg, fixing [ 48.142777][ T6592] bcachefs (loop0): dirent casefold does not match dir casefold [ 48.142787][ T6592] u64s 7 type dirent 4096:2695648408715017799:U32_MAX len 0 ver 0: file2 -> 536870913 type reg, fixing [ 48.142954][ T6592] bcachefs (loop0): dirent casefold does not match dir casefold [ 48.142964][ T6592] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg, fixing [ 48.143126][ T6592] bcachefs (loop0): dirent casefold does not match dir casefold [ 48.143137][ T6592] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 48.143286][ T6592] bcachefs (loop0): dirent casefold does not match dir casefold [ 48.143296][ T6592] u64s 8 type dirent 4096:9097378837824744618:U32_MAX len 0 ver 0: file.cold -> 536870914 type reg, fixing [ 48.143458][ T6592] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 2, should be 0, fixing [ 48.144993][ T6592] done [ 48.145332][ T6592] bcachefs (loop0): check_xattrs... done [ 48.146073][ T6592] bcachefs (loop0): check_root... done [ 48.146573][ T6592] bcachefs (loop0): check_unreachable_inodes... [ 48.147039][ T6592] bcachefs (loop0): unreachable inode: [ 48.147050][ T6592] inum: 4099:4294967295 [ 48.147057][ T6592] mode=100755 [ 48.147065][ T6592] flags=(4300000) [ 48.147072][ T6592] journal_seq=21 [ 48.147080][ T6592] hash_seed=fc917866faeb7b5b [ 48.147087][ T6592] hash_type=siphash [ 48.147095][ T6592] bi_size=1050 [ 48.147102][ T6592] bi_sectors=8 [ 48.147109][ T6592] bi_version=0 [ 48.147117][ T6592] bi_atime=2770562249 [ 48.147124][ T6592] bi_ctime=2770562249 [ 48.147132][ T6592] bi_mtime=2770562249 [ 48.147139][ T6592] bi_otime=2770562249 [ 48.147147][ T6592] bi_uid=0 [ 48.147154][ T6592] bi_gid=0 [ 48.147161][ T6592] bi_nlink=0 [ 48.147168][ T6592] bi_generation=0 [ 48.147176][ T6592] bi_dev=0 [ 48.147183][ T6592] bi_data_checksum=0 [ 48.147191][ T6592] bi_compression=0 [ 48.147198][ T6592] bi_project=0 [ 48.147206][ T6592] bi_background_compression=0 [ 48.147213][ T6592] bi_data_replicas=0 [ 48.147221][ T6592] bi_promote_target=0 [ 48.147228][ T6592] bi_foreground_target=0 [ 48.147236][ T6592] bi_background_target=0 [ 48.147244][ T6592] bi_erasure_code=0 [ 48.147251][ T6592] bi_fields_set=0 [ 48.147259][ T6592] bi_dir=0 [ 48.147266][ T6592] bi_dir_offset=0 [ 48.147273][ T6592] bi_subvol=0 [ 48.147281][ T6592] bi_parent_subvol=0 [ 48.147288][ T6592] bi_nocow=0 [ 48.147295][ T6592] bi_depth=0 [ 48.147303][ T6592] bi_inodes_32bit=0 [ 48.147310][ T6592] bi_casefold=0, fixing [ 48.148457][ T6592] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 48.149931][ T6592] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 48.150760][ T6592] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 48.155613][ T6592] bcachefs (loop0): unreachable inode: [ 48.155626][ T6592] inum: 4100:4294967295 [ 48.155633][ T6592] mode=120777 [ 48.155641][ T6592] flags=(4300000) [ 48.155648][ T6592] journal_seq=21 [ 48.155656][ T6592] hash_seed=f4891abdd5c0cd85 [ 48.155663][ T6592] hash_type=siphash [ 48.155671][ T6592] bi_size=38 [ 48.155678][ T6592] bi_sectors=8 [ 48.155685][ T6592] bi_version=0 [ 48.155692][ T6592] bi_atime=2770562249 [ 48.155700][ T6592] bi_ctime=2780562352 [ 48.155707][ T6592] bi_mtime=2770562249 [ 48.155715][ T6592] bi_otime=2770562249 [ 48.155722][ T6592] bi_uid=0 [ 48.155729][ T6592] bi_gid=0 [ 48.155737][ T6592] bi_nlink=0 [ 48.155744][ T6592] bi_generation=0 [ 48.155751][ T6592] bi_dev=0 [ 48.155758][ T6592] bi_data_checksum=0 [ 48.155766][ T6592] bi_compression=0 [ 48.155773][ T6592] bi_project=0 [ 48.155781][ T6592] bi_background_compression=0 [ 48.155788][ T6592] bi_data_replicas=0 [ 48.155796][ T6592] bi_promote_target=0 [ 48.155803][ T6592] bi_foreground_target=0 [ 48.155811][ T6592] bi_background_target=0 [ 48.155818][ T6592] bi_erasure_code=0 [ 48.155826][ T6592] bi_fields_set=0 [ 48.155833][ T6592] bi_dir=0 [ 48.155840][ T6592] bi_dir_offset=0 [ 48.155847][ T6592] bi_subvol=0 [ 48.155855][ T6592] bi_parent_subvol=0 [ 48.155862][ T6592] bi_nocow=0 [ 48.155869][ T6592] bi_depth=0 [ 48.155876][ T6592] bi_inodes_32bit=0 [ 48.155884][ T6592] bi_casefold=0, fixing [ 48.156457][ T6592] bcachefs (loop0): unreachable inode: [ 48.156467][ T6592] inum: 536870913:4294967295 [ 48.156475][ T6592] mode=100755 [ 48.156482][ T6592] flags=(15300000) [ 48.156490][ T6592] journal_seq=22 [ 48.156497][ T6592] hash_seed=b68791a594a6d5ae [ 48.156505][ T6592] hash_type=siphash [ 48.156512][ T6592] bi_size=25769812776 [ 48.156520][ T6592] bi_sectors=24 [ 48.156527][ T6592] bi_version=0 [ 48.156534][ T6592] bi_atime=2780562352 [ 48.156542][ T6592] bi_ctime=2780562352 [ 48.156553][ T6592] bi_mtime=2780562352 [ 48.156561][ T6592] bi_otime=2780562352 [ 48.156568][ T6592] bi_uid=0 [ 48.156575][ T6592] bi_gid=0 [ 48.156585][ T6592] bi_nlink=1 [ 48.156592][ T6592] bi_generation=0 [ 48.156600][ T6592] bi_dev=0 [ 48.156607][ T6592] bi_data_checksum=0 [ 48.156616][ T6592] bi_compression=0 [ 48.156624][ T6592] bi_project=0 [ 48.156631][ T6592] bi_background_compression=0 [ 48.156639][ T6592] bi_data_replicas=0 [ 48.156648][ T6592] bi_promote_target=1 [ 48.156656][ T6592] bi_foreground_target=0 [ 48.156663][ T6592] bi_background_target=0 [ 48.156672][ T6592] bi_erasure_code=0 [ 48.156683][ T6592] bi_fields_set=0 [ 48.156691][ T6592] bi_dir=0 [ 48.156698][ T6592] bi_dir_offset=2695648408715017799 [ 48.156706][ T6592] bi_subvol=0 [ 48.156713][ T6592] bi_parent_subvol=0 [ 48.156721][ T6592] bi_nocow=0 [ 48.156728][ T6592] bi_depth=0 [ 48.156735][ T6592] bi_inodes_32bit=0 [ 48.156743][ T6592] bi_casefold=0, fixing [ 48.157233][ T6592] bcachefs (loop0): unreachable inode: [ 48.157243][ T6592] inum: 536870914:4294967295 [ 48.157250][ T6592] mode=100755 [ 48.157258][ T6592] flags=(15300000) [ 48.157266][ T6592] journal_seq=22 [ 48.157273][ T6592] hash_seed=d483206f1ed95abf [ 48.157281][ T6592] hash_type=siphash [ 48.157288][ T6592] bi_size=100 [ 48.157295][ T6592] bi_sectors=8 [ 48.157302][ T6592] bi_version=1126999418470400 [ 48.157310][ T6592] bi_atime=0 [ 48.157317][ T6592] bi_ctime=0 [ 48.157325][ T6592] bi_mtime=0 [ 48.157332][ T6592] bi_otime=2780562352 [ 48.157340][ T6592] bi_uid=2780562352 [ 48.157347][ T6592] bi_gid=0 [ 48.157354][ T6592] bi_nlink=2780562352 [ 48.157361][ T6592] bi_generation=0 [ 48.157369][ T6592] bi_dev=0 [ 48.157376][ T6592] bi_data_checksum=0 [ 48.157383][ T6592] bi_compression=0 [ 48.157391][ T6592] bi_project=0 [ 48.157412][ T6592] bi_background_compression=0 [ 48.157420][ T6592] bi_data_replicas=0 [ 48.157428][ T6592] bi_promote_target=0 [ 48.157435][ T6592] bi_foreground_target=0 [ 48.157443][ T6592] bi_background_target=0 [ 48.157450][ T6592] bi_erasure_code=0 [ 48.157458][ T6592] bi_fields_set=0 [ 48.157465][ T6592] bi_dir=0 [ 48.157472][ T6592] bi_dir_offset=9097378837824744618 [ 48.157480][ T6592] bi_subvol=0 [ 48.157487][ T6592] bi_parent_subvol=0 [ 48.157494][ T6592] bi_nocow=0 [ 48.157502][ T6592] bi_depth=0 [ 48.157509][ T6592] bi_inodes_32bit=0 [ 48.157516][ T6592] bi_casefold=0, fixing [ 48.161820][ T6592] done [ 48.162197][ T6592] bcachefs (loop0): check_subvolume_structure... done [ 48.163004][ T6592] bcachefs (loop0): check_directory_structure... [ 48.163231][ T6592] bcachefs (loop0): inode points to dirent that does not point back: [ 48.163231][ T6592] u64s 10 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found (casefold lost+found) -> 4101 type dir [ 48.163231][ T6592] inum: 4097:4294967295 [ 48.163231][ T6592] mode=40700 [ 48.163231][ T6592] flags=has_case_insensitive(15300400) [ 48.163231][ T6592] journal_seq=22 [ 48.163231][ T6592] hash_seed=a9fcff247692d1ca [ 48.163231][ T6592] hash_type=siphash [ 48.163231][ T6592] bi_size=0 [ 48.163231][ T6592] bi_sectors=0 [ 48.163231][ T6592] bi_version=0 [ 48.163231][ T6592] bi_atime=200535484 [ 48.163231][ T6592] bi_ctime=200535484 [ 48.163231][ T6592] bi_mtime=200535484 [ 48.163231][ T6592] bi_otime=200535484 [ 48.163231][ T6592] bi_uid=0 [ 48.163231][ T6592] bi_gid=0 [ 48.163231][ T6592] bi_nlink=0 [ 48.163231][ T6592] bi_generation=0 [ 48.163231][ T6592] bi_dev=0 [ 48.163231][ T6592] bi_data_checksum=0 [ 48.163231][ T6592] bi_compression=0 [ 48.163231][ T6592] bi_project=0 [ 48.163231][ T6592] bi_background_compression=0 [ 48.163231][ T6592] bi_data_replicas=0 [ 48.163231][ T6592] bi_promote_target=0 [ 48.163231][ T6592] bi_foreground_target=0 [ 48.163231][ T6592] bi_background_target=0 [ 48.163231][ T6592] bi_erasure_code=0 [ 48.163231][ T6592] bi_fields_set=0 [ 48.163231][ T6592] bi_dir=4096 [ 48.163231][ T6592] bi_dir_offset=8130059955150870709 [ 48.163231][ T6592] bi_subvol=0 [ 48.163231][ T6592] bi_parent_subvol=0 [ 48.163231][ T6592] bi_nocow=0 [ 48.163231][ T6592] bi_depth=0 [ 48.163231][ T6592] bi_inodes_32bit=0 [ 48.163231][ T6592] bi_casefold=0 [ 48.163379][ T6592] bcachefs (loop0): unreachable inode in check_directory_structure: ENOENT_dirent_doesnt_match_inode [ 48.163379][ T6592] u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: [ 48.163379][ T6592] mode=40700 [ 48.163379][ T6592] flags=has_case_insensitive(15300400) [ 48.163379][ T6592] journal_seq=22 [ 48.163379][ T6592] hash_seed=a9fcff247692d1ca [ 48.163379][ T6592] hash_type=siphash [ 48.163379][ T6592] bi_size=0 [ 48.163379][ T6592] bi_sectors=0 [ 48.163379][ T6592] bi_version=0 [ 48.163379][ T6592] bi_atime=200535484 [ 48.163379][ T6592] bi_ctime=200535484 [ 48.163379][ T6592] bi_mtime=200535484 [ 48.163379][ T6592] bi_otime=200535484 [ 48.163379][ T6592] bi_uid=0 [ 48.163379][ T6592] bi_gid=0 [ 48.163379][ T6592] bi_nlink=0 [ 48.163379][ T6592] bi_generation=0 [ 48.163379][ T6592] bi_dev=0 [ 48.163379][ T6592] bi_data_checksum=0 [ 48.163379][ T6592] bi_compression=0 [ 48.163379][ T6592] bi_project=0 [ 48.163379][ T6592] bi_background_compression=0 [ 48.163379][ T6592] bi_data_replicas=0 [ 48.163379][ T6592] bi_promote_target=0 [ 48.163379][ T6592] bi_foreground_target=0 [ 48.163379][ T6592] bi_background_target=0 [ 48.163379][ T6592] bi_erasure_code=0 [ 48.163379][ T6592] bi_fields_set=0 [ 48.163379][ T6592] bi_dir=4096 [ 48.163379][ T6592] bi_dir_offset=8130059955150870709 [ 48.163379][ T6592] bi_subvol=0 [ 48.163379][ T6592] bi_parent_subvol=0 [ 48.163379][ T6592] bi_nocow=0 [ 48.163379][ T6592] bi_depth=0 [ 48.163379][ T6592] bi_inodes_32bit=0 [ 48.163379][ T6592] bi_casefold=0 [ 48.163454][ T6592] bcachefs (loop0): check_path_loop(): error ENOENT_dirent_doesnt_match_inode [ 48.163474][ T6592] bcachefs (loop0): bch2_check_directory_structure(): error ENOENT_dirent_doesnt_match_inode [ 48.163604][ T2282] bcachefs (loop0): going read-only [ 48.163629][ T2282] bcachefs (loop0): finished waiting for writes to stop [ 48.165958][ T6592] bcachefs (loop0): error in recovery: ENOENT_dirent_doesnt_match_inodeemergency read only at seq 23 [ 48.165988][ T6592] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_dirent_doesnt_match_inode [ 48.166007][ T6592] bcachefs (loop0): shutting down [ 48.214003][ T2282] bcachefs (loop0): flushing journal and stopping allocators, journal seq 23 [ 48.214050][ T2282] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 23 [ 48.214083][ T2282] bcachefs (loop0): unclean shutdown complete, journal seq 23 [ 48.215025][ T2282] bcachefs (loop0): done going read-only, filesystem not clean [ 48.221653][ T6592] bcachefs (loop0): shutdown complete