T9851] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 320.716298][ T9851] 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 [ 320.721397][ T9851] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 320.721413][ T9851] 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 [ 320.726478][ T9822] bcachefs (loop2): done starting filesystem [ 320.730441][ T9840] done [ 320.730784][ T9851] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 320.730798][ T9851] 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 [ 320.732235][ T9851] bcachefs (loop4): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 320.732251][ T9851] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 320.733069][ T9851] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 320.733084][ T9851] 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 [ 320.733681][ T9851] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 320.733759][ T9851] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 320.734004][ T9851] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 320.734071][ T9851] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 320.734284][ T9851] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 320.734344][ T9851] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 320.734451][ T9851] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 320.734513][ T9851] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 320.734621][ T9851] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 320.734686][ T9851] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 320.734795][ T9851] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 320.734854][ T9851] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 320.734952][ T9851] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 320.735011][ T9851] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 320.735138][ T9851] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 320.735202][ T9851] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 320.735317][ T9851] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 320.735376][ T9851] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 320.735484][ T9851] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 320.735543][ T9851] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 320.735660][ T9851] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 320.735672][ T9851] Ratelimiting new instances of previous error [ 320.735756][ T9851] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 320.735769][ T9851] Ratelimiting new instances of previous error [ 320.760705][ T6668] bcachefs (loop2): shutting down [ 320.760735][ T6668] bcachefs (loop2): going read-only [ 320.760764][ T6668] bcachefs (loop2): finished waiting for writes to stop [ 320.774009][ T9840] bcachefs (loop6): check_subvols... [ 320.791352][ T6668] bcachefs (loop2): flushing journal and stopping allocators, journal seq 30 [ 320.796035][ T9840] done [ 320.796438][ T6668] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 31 [ 320.797698][ T9840] bcachefs (loop6): check_subvol_children... [ 320.798208][ T6668] bcachefs (loop2): clean shutdown complete, journal seq 32 [ 320.798948][ T6668] bcachefs (loop2): marking filesystem clean [ 320.799402][ T9851] done [ 320.800634][ T9840] done [ 320.800660][ T9840] bcachefs (loop6): delete_dead_snapshots... done [ 320.802414][ T9840] bcachefs (loop6): check_inodes... done [ 320.817250][ T9840] bcachefs (loop6): check_extents... done [ 320.818224][ T9840] bcachefs (loop6): check_indirect_extents... done [ 320.827560][ T9840] bcachefs (loop6): check_dirents... [ 320.828508][ T9851] bcachefs (loop4): going read-write [ 320.846950][ T9840] done [ 320.846981][ T9840] bcachefs (loop6): check_xattrs... done [ 320.847966][ T9840] bcachefs (loop6): check_root... done [ 320.884781][ T9840] bcachefs (loop6): check_unreachable_inodes... [ 320.891890][ T9851] bcachefs (loop4): journal_replay... [ 320.892406][ T9840] done [ 320.892438][ T9840] bcachefs (loop6): check_subvolume_structure... done [ 320.901027][ T9840] bcachefs (loop6): check_directory_structure... done [ 320.916691][ T9840] bcachefs (loop6): check_nlinks... done [ 320.918624][ T9840] bcachefs (loop6): check_rebalance_work... done [ 320.919571][ T9840] bcachefs (loop6): resume_logged_ops... done [ 320.923157][ T9840] bcachefs (loop6): delete_dead_inodes... done [ 320.924043][ T9840] bcachefs (loop6): set_fs_needs_rebalance... done [ 321.037521][ T9851] done [ 321.038345][ T9840] bcachefs (loop6): Fixed errors, running fsck a second time to verify fs is clean [ 321.038378][ T9840] bcachefs (loop6): check_alloc_info... done [ 321.048066][ T9840] bcachefs (loop6): check_lrus... [ 321.048360][ T9851] bcachefs (loop4): check_alloc_info... [ 321.055545][ T9840] done [ 321.055617][ T9840] bcachefs (loop6): check_btree_backpointers... [ 321.065065][ T9851] done [ 321.065110][ T9851] bcachefs (loop4): check_lrus... [ 321.075689][ T9840] done [ 321.075748][ T9840] bcachefs (loop6): check_backpointers_to_extents... [ 321.076580][ T9851] done [ 321.076611][ T9851] bcachefs (loop4): check_btree_backpointers... done [ 321.078036][ T9851] bcachefs (loop4): check_backpointers_to_extents... [ 321.078979][ T9840] done [ 321.079011][ T9840] bcachefs (loop6): check_extents_to_backpointers... [ 321.079522][ T9840] bcachefs (loop6): scanning for missing backpointers in 1/128 buckets [ 321.080686][ T9851] done [ 321.080783][ T9840] done [ 321.084012][ T9840] bcachefs (loop6): check_alloc_to_lru_refs... [ 321.084755][ T9851] bcachefs (loop4): check_extents_to_backpointers... [ 321.085453][ T9851] bcachefs (loop4): scanning for missing backpointers in 5/128 buckets [ 321.093414][ T9851] done [ 321.093966][ T9840] done [ 321.094246][ T9851] bcachefs (loop4): check_alloc_to_lru_refs... [ 321.095303][ T9840] bcachefs (loop6): bucket_gens_init... done [ 321.098139][ T9851] done [ 321.104768][ T9840] bcachefs (loop6): check_snapshot_trees... [ 321.105217][ T9851] bcachefs (loop4): bucket_gens_init... [ 321.111032][ T6668] bcachefs (loop2): shutdown complete [ 321.112238][ T9840] done [ 321.112266][ T9840] bcachefs (loop6): check_snapshots... done [ 321.112947][ T9840] bcachefs (loop6): check_subvols... done [ 321.113545][ T9840] bcachefs (loop6): check_subvol_children... done [ 321.114082][ T9840] bcachefs (loop6): delete_dead_snapshots... done [ 321.121859][ T9840] bcachefs (loop6): check_inodes... [ 321.128841][ T9851] done [ 321.129474][ T9840] done [ 321.129498][ T9840] bcachefs (loop6): check_extents... [ 321.130426][ T9851] bcachefs (loop4): check_snapshot_trees... done [ 321.131184][ T9851] bcachefs (loop4): check_snapshots... [ 321.131438][ T9851] bcachefs (loop4): snapshot points to missing/incorrect tree: [ 321.131452][ T9851] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 321.138648][ T9840] done [ 321.138679][ T9840] bcachefs (loop6): check_indirect_extents... done [ 321.139331][ T9840] bcachefs (loop6): check_dirents... done [ 321.142382][ T9840] bcachefs (loop6): check_xattrs... done [ 321.142986][ T9840] bcachefs (loop6): check_root... done [ 321.143568][ T9840] bcachefs (loop6): check_unreachable_inodes... done [ 321.146641][ T9840] bcachefs (loop6): check_subvolume_structure... [ 321.151476][ T9851] done [ 321.168511][ T9851] bcachefs (loop4): check_subvols... [ 321.170343][ T9840] done [ 321.170406][ T9840] bcachefs (loop6): check_directory_structure... done [ 321.171199][ T9840] bcachefs (loop6): check_nlinks... done [ 321.171960][ T9840] bcachefs (loop6): check_rebalance_work... done [ 321.211520][ T9840] bcachefs (loop6): resume_logged_ops... [ 321.212099][ T9851] done [ 321.212652][ T9840] done [ 321.212676][ T9840] bcachefs (loop6): delete_dead_inodes... done [ 321.213292][ T9840] bcachefs (loop6): set_fs_needs_rebalance... done [ 321.242232][ T9840] bcachefs (loop6): done starting filesystem [ 321.272135][ T9872] loop5: detected capacity change from 0 to 32768 [ 321.278344][ T9851] bcachefs (loop4): check_subvol_children... done [ 321.279046][ T9851] bcachefs (loop4): delete_dead_snapshots... done [ 321.279828][ T9851] bcachefs (loop4): check_inodes... done [ 321.285851][ T9851] bcachefs (loop4): check_extents... done [ 321.286766][ T9851] bcachefs (loop4): check_indirect_extents... done [ 321.287575][ T9851] bcachefs (loop4): check_dirents... done [ 321.288812][ T9851] bcachefs (loop4): check_xattrs... done [ 321.289603][ T9851] bcachefs (loop4): check_root... done [ 321.290290][ T9851] bcachefs (loop4): check_unreachable_inodes... done [ 321.290940][ T9851] bcachefs (loop4): check_subvolume_structure... done [ 321.291497][ T9851] bcachefs (loop4): check_directory_structure... done [ 321.292711][ T9851] bcachefs (loop4): check_nlinks... done [ 321.293582][ T9851] bcachefs (loop4): check_rebalance_work... done [ 321.295774][ T9851] bcachefs (loop4): resume_logged_ops... done [ 321.296951][ T9851] bcachefs (loop4): delete_dead_inodes... done [ 321.299692][ T9851] bcachefs (loop4): set_fs_needs_rebalance... done [ 321.334067][ T9851] bcachefs (loop4): Fixed errors, running fsck a second time to verify fs is clean [ 321.334137][ T9851] bcachefs (loop4): check_alloc_info... done [ 321.355422][ T9851] bcachefs (loop4): check_lrus... done [ 321.362648][ T9851] bcachefs (loop4): check_btree_backpointers... done [ 321.363720][ T9851] bcachefs (loop4): check_backpointers_to_extents... done [ 321.364843][ T9851] bcachefs (loop4): check_extents_to_backpointers... [ 321.365343][ T9851] bcachefs (loop4): scanning for missing backpointers in 1/128 buckets [ 321.372803][ T9851] done [ 321.373546][ T9851] bcachefs (loop4): check_alloc_to_lru_refs... done [ 321.375342][ T9851] bcachefs (loop4): bucket_gens_init... done [ 321.376783][ T9851] bcachefs (loop4): check_snapshot_trees... done [ 321.377497][ T9851] bcachefs (loop4): check_snapshots... done [ 321.378068][ T9851] bcachefs (loop4): check_subvols... done [ 321.378624][ T9851] bcachefs (loop4): check_subvol_children... done [ 321.379157][ T9851] bcachefs (loop4): delete_dead_snapshots... done [ 321.379681][ T9851] bcachefs (loop4): check_inodes... done [ 321.380425][ T9851] bcachefs (loop4): check_extents... done [ 321.381086][ T9851] bcachefs (loop4): check_indirect_extents... done [ 321.381631][ T9851] bcachefs (loop4): check_dirents... done [ 321.382518][ T9851] bcachefs (loop4): check_xattrs... done [ 321.383084][ T9851] bcachefs (loop4): check_root... done [ 321.409398][ T9851] bcachefs (loop4): check_unreachable_inodes... [ 321.409849][ T9286] bcachefs (loop6): shutting down [ 321.409880][ T9286] bcachefs (loop6): going read-only [ 321.409910][ T9286] bcachefs (loop6): finished waiting for writes to stop [ 321.411938][ T9851] done [ 321.411967][ T9851] bcachefs (loop4): check_subvolume_structure... done [ 321.414136][ T9851] bcachefs (loop4): check_directory_structure... done [ 321.416586][ T9851] bcachefs (loop4): check_nlinks... done [ 321.417870][ T9851] bcachefs (loop4): check_rebalance_work... done [ 321.422131][ T9851] bcachefs (loop4): resume_logged_ops... [ 321.457101][ T9286] bcachefs (loop6): flushing journal and stopping allocators, journal seq 30 [ 321.457467][ T9286] bcachefs (loop6): flushing journal and stopping allocators complete, journal seq 30 [ 321.463234][ T9851] done [ 321.463268][ T9851] bcachefs (loop4): delete_dead_inodes... [ 321.464408][ T9286] bcachefs (loop6): clean shutdown complete, journal seq 31 [ 321.465169][ T9286] bcachefs (loop6): marking filesystem clean [ 321.465791][ T9851] done [ 321.465814][ T9851] bcachefs (loop4): set_fs_needs_rebalance... done [ 321.478240][ T9851] bcachefs (loop4): done starting filesystem [ 321.501500][ T9872] bcachefs (loop5): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 321.501553][ T9872] allowing incompatible features above 0.0: (unknown version) [ 321.501580][ T9872] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 321.501629][ T9872] bcachefs (loop5): Using encoding defined by superblock: utf8-12.1.0 [ 321.501718][ T9872] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 321.501841][ T9872] bcachefs (loop5): Version upgrade required: [ 321.501841][ T9872] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 321.501841][ T9872] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 321.501841][ T9872] 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 [ 321.512402][ T6667] bcachefs (loop4): shutting down [ 321.512431][ T6667] bcachefs (loop4): going read-only [ 321.512461][ T6667] bcachefs (loop4): finished waiting for writes to stop [ 321.541480][ T9873] loop0: detected capacity change from 0 to 32768 [ 321.553726][ T9872] bcachefs (loop5): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 321.553773][ T9872] gen 0 oldest_gen 0 data_type btree [ 321.553797][ T9872] journal_seq_nonempty 6 [ 321.553807][ T9872] journal_seq_empty 0 [ 321.553816][ T9872] need_discard 1 [ 321.553825][ T9872] need_inc_gen 1 [ 321.553834][ T9872] dirty_sectors 0 [ 321.553844][ T9872] stripe_sectors 1769482 [ 321.553853][ T9872] cached_sectors 0 [ 321.553862][ T9872] stripe 0 [ 321.553871][ T9872] stripe_redundancy 0 [ 321.553881][ T9872] io_time[READ] 1 [ 321.553890][ T9872] io_time[WRITE] 768 [ 321.553899][ T9872] fragmentation 0 [ 321.553908][ T9872] bp_start 7 [ 321.553917][ T9872] [ 321.553926][ T9872] invalid data type (got 3 should be 9), deleting [ 321.566598][ T9872] bcachefs (loop5): accounting_read... [ 321.573978][ T9286] bcachefs (loop6): shutdown complete [ 321.576997][ T6667] bcachefs (loop4): flushing journal and stopping allocators, journal seq 28 [ 321.583703][ T6667] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 28 [ 321.589109][ T6667] bcachefs (loop4): clean shutdown complete, journal seq 29 [ 321.589907][ T6667] bcachefs (loop4): marking filesystem clean [ 321.624938][ T9872] done [ 321.624995][ T9872] bcachefs (loop5): alloc_read... done [ 321.634410][ T9872] bcachefs (loop5): snapshots_read... done [ 321.644644][ T9872] bcachefs (loop5): check_allocations... [ 321.646408][ T9872] bcachefs (loop5): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 321.646449][ T9872] 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 [ 321.652467][ T9872] bcachefs (loop5): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 321.652483][ T9872] 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 [ 321.654183][ T9872] bcachefs (loop5): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 321.654198][ T9872] 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 [ 321.674784][ T9872] bcachefs (loop5): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 321.674820][ T9872] 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 [ 321.685477][ T9872] bcachefs (loop5): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 321.685511][ T9872] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 321.696973][ T9872] bcachefs (loop5): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 321.697006][ T9872] 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 [ 321.697626][ T9872] bcachefs (loop5): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.697715][ T9872] bcachefs (loop5): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.697967][ T9872] bcachefs (loop5): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.698035][ T9872] bcachefs (loop5): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.698267][ T9872] bcachefs (loop5): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.698334][ T9872] bcachefs (loop5): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.698453][ T9872] bcachefs (loop5): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.698529][ T9872] bcachefs (loop5): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.698661][ T9872] bcachefs (loop5): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.698732][ T9872] bcachefs (loop5): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.698842][ T9872] bcachefs (loop5): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.698914][ T9872] bcachefs (loop5): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.699036][ T9872] bcachefs (loop5): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.699106][ T9872] bcachefs (loop5): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.699227][ T9872] bcachefs (loop5): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.699297][ T9872] bcachefs (loop5): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 321.699412][ T9872] bcachefs (loop5): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 321.699481][ T9872] bcachefs (loop5): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 321.699601][ T9872] bcachefs (loop5): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 321.699678][ T9872] bcachefs (loop5): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 321.699807][ T9872] bcachefs (loop5): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 321.699826][ T9872] Ratelimiting new instances of previous error [ 321.699909][ T9872] bcachefs (loop5): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 321.699927][ T9872] Ratelimiting new instances of previous error [ 321.702222][ T9873] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 321.702256][ T9873] allowing incompatible features above 0.0: (unknown version) [ 321.702281][ T9873] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 321.702337][ T9873] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 321.702432][ T9873] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 321.702554][ T9873] bcachefs (loop0): Version upgrade required: [ 321.702554][ T9873] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 321.702554][ T9873] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 321.702554][ T9873] 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 [ 321.713727][ T9873] bcachefs (loop0): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 321.713747][ T9873] gen 0 oldest_gen 0 data_type btree [ 321.713757][ T9873] journal_seq_nonempty 6 [ 321.713766][ T9873] journal_seq_empty 0 [ 321.713776][ T9873] need_discard 1 [ 321.713785][ T9873] need_inc_gen 1 [ 321.713794][ T9873] dirty_sectors 0 [ 321.713803][ T9873] stripe_sectors 1769482 [ 321.713812][ T9873] cached_sectors 0 [ 321.713821][ T9873] stripe 0 [ 321.713830][ T9873] stripe_redundancy 0 [ 321.713840][ T9873] io_time[READ] 1 [ 321.713849][ T9873] io_time[WRITE] 768 [ 321.713858][ T9873] fragmentation 0 [ 321.713867][ T9873] bp_start 7 [ 321.713876][ T9873] [ 321.713885][ T9873] invalid data type (got 3 should be 9), deleting [ 321.723949][ T9873] bcachefs (loop0): accounting_read... [ 321.738997][ T9877] loop2: detected capacity change from 0 to 32768 [ 321.747250][ T9873] done [ 321.747293][ T9873] bcachefs (loop0): alloc_read... done [ 321.748033][ T9873] bcachefs (loop0): snapshots_read... done [ 321.748621][ T9873] bcachefs (loop0): check_allocations... [ 321.750173][ T9873] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 321.750190][ T9873] 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 [ 321.751443][ T9873] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 321.751458][ T9873] 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 [ 321.752373][ T9873] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 321.752388][ T9873] 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 [ 321.753307][ T9873] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 321.753321][ T9873] 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 [ 321.754484][ T9873] bcachefs (loop0): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 321.754499][ T9873] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 321.758636][ T9873] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 321.758652][ T9873] 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 [ 321.759225][ T9873] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.759305][ T9873] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.759567][ T9873] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.759634][ T9873] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.759832][ T9873] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.759892][ T9873] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.759994][ T9873] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.760052][ T9873] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.760162][ T9873] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.760223][ T9873] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.760334][ T9873] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.760393][ T9873] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.760501][ T9873] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.760559][ T9873] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.760658][ T9873] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.760716][ T9873] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 321.760824][ T9873] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 321.760883][ T9873] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 321.760994][ T9873] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 321.761053][ T9873] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 321.761171][ T9873] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 321.761184][ T9873] Ratelimiting new instances of previous error [ 321.761286][ T9873] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 321.761299][ T9873] Ratelimiting new instances of previous error [ 321.789541][ T9873] done [ 321.792266][ T9873] bcachefs (loop0): going read-write [ 321.803393][ T9873] bcachefs (loop0): journal_replay... [ 321.822785][ T6667] bcachefs (loop4): shutdown complete [ 321.839437][ T9872] done [ 321.866087][ T9872] bcachefs (loop5): going read-write [ 321.879004][ T9873] done [ 321.880093][ T9873] bcachefs (loop0): check_alloc_info... done [ 321.882870][ T9873] bcachefs (loop0): check_lrus... done [ 321.883598][ T9873] bcachefs (loop0): check_btree_backpointers... done [ 321.884403][ T9873] bcachefs (loop0): check_backpointers_to_extents... done [ 321.886053][ T9873] bcachefs (loop0): check_extents_to_backpointers... [ 321.886747][ T9873] bcachefs (loop0): scanning for missing backpointers in 5/128 buckets [ 321.887710][ T9873] done [ 321.888231][ T9873] bcachefs (loop0): check_alloc_to_lru_refs... done [ 321.889792][ T9873] bcachefs (loop0): bucket_gens_init... done [ 321.894674][ T9873] bcachefs (loop0): check_snapshot_trees... done [ 321.895268][ T9873] bcachefs (loop0): check_snapshots... [ 321.895510][ T9873] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 321.895524][ T9873] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 321.900362][ T9873] done [ 321.900821][ T9873] bcachefs (loop0): check_subvols... done [ 321.901732][ T9873] bcachefs (loop0): check_subvol_children... done [ 321.902328][ T9873] bcachefs (loop0): delete_dead_snapshots... done [ 321.902841][ T9873] bcachefs (loop0): check_inodes... done [ 321.903872][ T9873] bcachefs (loop0): check_extents... done [ 321.904765][ T9873] bcachefs (loop0): check_indirect_extents... done [ 321.905341][ T9873] bcachefs (loop0): check_dirents... done [ 321.906522][ T9873] bcachefs (loop0): check_xattrs... done [ 321.907240][ T9873] bcachefs (loop0): check_root... done [ 321.907983][ T9873] bcachefs (loop0): check_unreachable_inodes... done [ 321.908659][ T9873] bcachefs (loop0): check_subvolume_structure... done [ 321.909416][ T9873] bcachefs (loop0): check_directory_structure... done [ 321.910546][ T9873] bcachefs (loop0): check_nlinks... done [ 321.911325][ T9873] bcachefs (loop0): check_rebalance_work... done [ 321.911943][ T9873] bcachefs (loop0): resume_logged_ops... done [ 321.912458][ T9873] bcachefs (loop0): delete_dead_inodes... done [ 321.913145][ T9873] bcachefs (loop0): set_fs_needs_rebalance... done [ 321.959253][ T9873] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 321.959287][ T9873] bcachefs (loop0): check_alloc_info... [ 321.999001][ T9872] bcachefs (loop5): journal_replay... [ 322.001201][ T9873] done [ 322.001234][ T9873] bcachefs (loop0): check_lrus... done [ 322.006409][ T9873] bcachefs (loop0): check_btree_backpointers... done [ 322.009311][ T9873] bcachefs (loop0): check_backpointers_to_extents... done [ 322.017945][ T9873] bcachefs (loop0): check_extents_to_backpointers... [ 322.018460][ T9873] bcachefs (loop0): scanning for missing backpointers in 1/128 buckets [ 322.050045][ T9873] done [ 322.053625][ T9873] bcachefs (loop0): check_alloc_to_lru_refs... done [ 322.059365][ T9873] bcachefs (loop0): bucket_gens_init... done [ 322.060895][ T9873] bcachefs (loop0): check_snapshot_trees... done [ 322.061614][ T9873] bcachefs (loop0): check_snapshots... done [ 322.062217][ T9873] bcachefs (loop0): check_subvols... done [ 322.064896][ T9873] bcachefs (loop0): check_subvol_children... done [ 322.069073][ T9873] bcachefs (loop0): delete_dead_snapshots... done [ 322.091084][ T9873] bcachefs (loop0): check_inodes... done [ 322.097818][ T9873] bcachefs (loop0): check_extents... done [ 322.101057][ T9873] bcachefs (loop0): check_indirect_extents... done [ 322.101648][ T9873] bcachefs (loop0): check_dirents... done [ 322.104357][ T9873] bcachefs (loop0): check_xattrs... done [ 322.104964][ T9873] bcachefs (loop0): check_root... done [ 322.109160][ T9873] bcachefs (loop0): check_unreachable_inodes... done [ 322.115767][ T9873] bcachefs (loop0): check_subvolume_structure... done [ 322.118328][ T9873] bcachefs (loop0): check_directory_structure... done [ 322.120134][ T9873] bcachefs (loop0): check_nlinks... done [ 322.125914][ T9873] bcachefs (loop0): check_rebalance_work... done [ 322.126722][ T9873] bcachefs (loop0): resume_logged_ops... done [ 322.127625][ T9873] bcachefs (loop0): delete_dead_inodes... done [ 322.136242][ T9873] bcachefs (loop0): set_fs_needs_rebalance... [ 322.141827][ T9877] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 322.141880][ T9877] allowing incompatible features above 0.0: (unknown version) [ 322.141897][ T9877] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 322.141955][ T9877] bcachefs (loop2): Using encoding defined by superblock: utf8-12.1.0 [ 322.142039][ T9877] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 322.142175][ T9877] bcachefs (loop2): Version upgrade required: [ 322.142175][ T9877] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 322.142175][ T9877] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 322.142175][ T9877] 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 [ 322.148957][ T9873] done [ 322.183009][ T9872] done [ 322.189499][ T9872] bcachefs (loop5): check_alloc_info... [ 322.192323][ T9873] bcachefs (loop0): done starting filesystem [ 322.213128][ T9872] done [ 322.213188][ T9872] bcachefs (loop5): check_lrus... done [ 322.221133][ T9872] bcachefs (loop5): check_btree_backpointers... [ 322.227062][ T6658] bcachefs (loop0): shutting down [ 322.227186][ T6658] bcachefs (loop0): going read-only [ 322.227216][ T6658] bcachefs (loop0): finished waiting for writes to stop [ 322.229043][ T9877] bcachefs (loop2): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 322.229060][ T9877] gen 0 oldest_gen 0 data_type btree [ 322.229070][ T9877] journal_seq_nonempty 6 [ 322.229079][ T9877] journal_seq_empty 0 [ 322.229088][ T9877] need_discard 1 [ 322.229097][ T9877] need_inc_gen 1 [ 322.229106][ T9877] dirty_sectors 0 [ 322.229115][ T9877] stripe_sectors 1769482 [ 322.229137][ T9877] cached_sectors 0 [ 322.229147][ T9877] stripe 0 [ 322.229156][ T9877] stripe_redundancy 0 [ 322.229165][ T9877] io_time[READ] 1 [ 322.229174][ T9877] io_time[WRITE] 768 [ 322.229183][ T9877] fragmentation 0 [ 322.229192][ T9877] bp_start 7 [ 322.229201][ T9877] [ 322.229210][ T9877] invalid data type (got 3 should be 9), deleting [ 322.230657][ T9872] done [ 322.230686][ T9872] bcachefs (loop5): check_backpointers_to_extents... done [ 322.236748][ T9872] bcachefs (loop5): check_extents_to_backpointers... [ 322.237413][ T9872] bcachefs (loop5): scanning for missing backpointers in 5/128 buckets [ 322.239968][ T9877] bcachefs (loop2): accounting_read... [ 322.240038][ T9872] done [ 322.240552][ T9872] bcachefs (loop5): check_alloc_to_lru_refs... done [ 322.256779][ T9872] bcachefs (loop5): bucket_gens_init... done [ 322.272768][ T9872] bcachefs (loop5): check_snapshot_trees... done [ 322.273387][ T9872] bcachefs (loop5): check_snapshots... [ 322.273615][ T9872] bcachefs (loop5): snapshot points to missing/incorrect tree: [ 322.273628][ T9872] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 322.278159][ T9877] done [ 322.278186][ T9877] bcachefs (loop2): alloc_read... done [ 322.280055][ T9877] bcachefs (loop2): snapshots_read... done [ 322.280811][ T9877] bcachefs (loop2): check_allocations... [ 322.282258][ T9877] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 322.282275][ T9877] 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 [ 322.290324][ T9877] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 322.290346][ T9877] 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 [ 322.298174][ T6658] bcachefs (loop0): flushing journal and stopping allocators, journal seq 26 [ 322.299420][ T6658] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 26 [ 322.300486][ T6658] bcachefs (loop0): clean shutdown complete, journal seq 27 [ 322.301233][ T6658] bcachefs (loop0): marking filesystem clean [ 322.312106][ T9877] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 322.312156][ T9877] 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 [ 322.346158][ T9877] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 322.346198][ T9877] 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 [ 322.351524][ T9877] bcachefs (loop2): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 322.351555][ T9877] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 322.352483][ T9872] done [ 322.352957][ T9877] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 322.352992][ T9877] 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 [ 322.353590][ T9877] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 322.353673][ T9877] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 322.353938][ T9877] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 322.354015][ T9877] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 322.354229][ T9877] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 322.354296][ T9877] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 322.354429][ T9877] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 322.354500][ T9877] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 322.354623][ T9877] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 322.354693][ T9877] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 322.354814][ T9877] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 322.354884][ T9877] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 322.355005][ T9877] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 322.355071][ T9877] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 322.355202][ T9877] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 322.355269][ T9877] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 322.355395][ T9877] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 322.355466][ T9877] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 322.355586][ T9877] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 322.355653][ T9877] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 322.355776][ T9877] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 322.355795][ T9877] Ratelimiting new instances of previous error [ 322.355878][ T9877] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 322.355897][ T9877] Ratelimiting new instances of previous error [ 322.389483][ T9877] done [ 322.392438][ T9877] bcachefs (loop2): going read-write [ 322.415767][ T9877] bcachefs (loop2): journal_replay... [ 322.472013][ T6658] bcachefs (loop0): shutdown complete [ 322.487769][ T9872] bcachefs (loop5): check_subvols... done [ 322.509372][ T9872] bcachefs (loop5): check_subvol_children... done [ 322.510024][ T9872] bcachefs (loop5): delete_dead_snapshots... done [ 322.517279][ T9872] bcachefs (loop5): check_inodes... done [ 322.525438][ T9872] bcachefs (loop5): check_extents... [ 322.526630][ T9877] done [ 322.527385][ T9872] done [ 322.527410][ T9872] bcachefs (loop5): check_indirect_extents... [ 322.530865][ T9877] bcachefs (loop2): check_alloc_info... [ 322.533604][ T9872] done [ 322.533661][ T9872] bcachefs (loop5): check_dirents... done [ 322.546609][ T9872] bcachefs (loop5): check_xattrs... done [ 322.547376][ T9872] bcachefs (loop5): check_root... done [ 322.556818][ T9872] bcachefs (loop5): check_unreachable_inodes... [ 322.557554][ T9899] bcachefs (loop5): Detected missing backpointers in bucket 34, now have 1/128 with missing [ 322.557569][ T9899] running recovery pass check_extents_to_backpointers (17), currently at check_unreachable_inodes (34) [ 322.563536][ T9877] done [ 322.563564][ T9877] bcachefs (loop2): check_lrus... [ 322.563895][ T9872] done [ 322.564469][ T9872] bcachefs (loop5): check_extents_to_backpointers... [ 322.565017][ T9872] bcachefs (loop5): scanning for missing backpointers in 2/128 buckets [ 322.567184][ T9877] done [ 322.567210][ T9877] bcachefs (loop2): check_btree_backpointers... done [ 322.576109][ T9877] bcachefs (loop2): check_backpointers_to_extents... [ 322.577344][ T9872] done [ 322.578876][ T9877] done [ 322.579640][ T9872] bcachefs (loop5): check_subvolume_structure... [ 322.581353][ T9877] bcachefs (loop2): check_extents_to_backpointers... [ 322.581988][ T9877] bcachefs (loop2): scanning for missing backpointers in 5/128 buckets [ 322.586968][ T9872] done [ 322.587781][ T9872] bcachefs (loop5): check_directory_structure... [ 322.597373][ T9877] done [ 322.597955][ T9872] done [ 322.598277][ T9877] bcachefs (loop2): check_alloc_to_lru_refs... [ 322.599602][ T9872] bcachefs (loop5): check_nlinks... done [ 322.628279][ T9872] bcachefs (loop5): check_rebalance_work... [ 322.636489][ T9877] done [ 322.637248][ T9877] bcachefs (loop2): bucket_gens_init... [ 322.657215][ T9872] done [ 322.657280][ T9872] bcachefs (loop5): resume_logged_ops... done [ 322.661168][ T9872] bcachefs (loop5): delete_dead_inodes... done [ 322.662819][ T9872] bcachefs (loop5): set_fs_needs_rebalance... [ 322.664820][ T9877] done [ 322.668602][ T9877] bcachefs (loop2): check_snapshot_trees... [ 322.669710][ T9872] done [ 322.670879][ T9877] done [ 322.685782][ T9906] loop4: detected capacity change from 0 to 32768 [ 322.735388][ T9877] bcachefs (loop2): check_snapshots... [ 322.735669][ T9877] bcachefs (loop2): snapshot points to missing/incorrect tree: [ 322.735706][ T9877] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 322.742533][ T9872] bcachefs (loop5): Fixed errors, running fsck a second time to verify fs is clean [ 322.742570][ T9872] bcachefs (loop5): check_alloc_info... done [ 322.745264][ T9872] bcachefs (loop5): check_lrus... done [ 322.745920][ T9872] bcachefs (loop5): check_btree_backpointers... [ 322.750553][ T9877] done [ 322.751430][ T9877] bcachefs (loop2): check_subvols... done [ 322.760412][ T9877] bcachefs (loop2): check_subvol_children... done [ 322.761390][ T9877] bcachefs (loop2): delete_dead_snapshots... done [ 322.762227][ T9877] bcachefs (loop2): check_inodes... done [ 322.763490][ T9877] bcachefs (loop2): check_extents... [ 322.764312][ T9872] done [ 322.764357][ T9872] bcachefs (loop5): check_backpointers_to_extents... [ 322.767664][ T9877] done [ 322.767699][ T9877] bcachefs (loop2): check_indirect_extents... done [ 322.771532][ T9877] bcachefs (loop2): check_dirents... [ 322.772618][ T9872] done [ 322.772650][ T9872] bcachefs (loop5): check_extents_to_backpointers... [ 322.777395][ T9877] done [ 322.777427][ T9877] bcachefs (loop2): check_xattrs... [ 322.777948][ T9872] done [ 322.777978][ T9872] bcachefs (loop5): check_alloc_to_lru_refs... [ 322.778978][ T9877] done [ 322.779008][ T9877] bcachefs (loop2): check_root... [ 322.779972][ T9872] done [ 322.780415][ T9877] done [ 322.780438][ T9877] bcachefs (loop2): check_unreachable_inodes... [ 322.781201][ T9872] bcachefs (loop5): bucket_gens_init... [ 322.781941][ T9877] done [ 322.781971][ T9877] bcachefs (loop2): check_subvolume_structure... done [ 322.784012][ T9877] bcachefs (loop2): check_directory_structure... [ 322.784314][ T9872] done [ 322.785436][ T9872] bcachefs (loop5): check_snapshot_trees... [ 322.785971][ T9877] done [ 322.786871][ T9877] bcachefs (loop2): check_nlinks... done [ 322.792516][ T9877] bcachefs (loop2): check_rebalance_work... done [ 322.793334][ T9877] bcachefs (loop2): resume_logged_ops... done [ 322.793920][ T9877] bcachefs (loop2): delete_dead_inodes... done [ 322.795045][ T9877] bcachefs (loop2): set_fs_needs_rebalance... [ 322.801325][ T9872] done [ 322.801359][ T9872] bcachefs (loop5): check_snapshots... done [ 322.802869][ T9872] bcachefs (loop5): check_subvols... [ 322.804410][ T9877] done [ 322.813853][ T9872] done [ 322.813886][ T9872] bcachefs (loop5): check_subvol_children... done [ 322.815314][ T9872] bcachefs (loop5): delete_dead_snapshots... done [ 322.815852][ T9872] bcachefs (loop5): check_inodes... done [ 322.821780][ T9872] bcachefs (loop5): check_extents... done [ 322.822948][ T9872] bcachefs (loop5): check_indirect_extents... done [ 322.824445][ T9872] bcachefs (loop5): check_dirents... done [ 322.829976][ T9872] bcachefs (loop5): check_xattrs... done [ 322.831076][ T9872] bcachefs (loop5): check_root... done [ 322.831772][ T9872] bcachefs (loop5): check_unreachable_inodes... done [ 322.832700][ T9872] bcachefs (loop5): check_subvolume_structure... done [ 322.833305][ T9872] bcachefs (loop5): check_directory_structure... done [ 322.833840][ T9872] bcachefs (loop5): check_nlinks... done [ 322.834737][ T9872] bcachefs (loop5): check_rebalance_work... done [ 322.835329][ T9872] bcachefs (loop5): resume_logged_ops... done [ 322.839004][ T9872] bcachefs (loop5): delete_dead_inodes... done [ 322.839622][ T9872] bcachefs (loop5): set_fs_needs_rebalance... done [ 322.844619][ T9872] bcachefs (loop5): done starting filesystem [ 322.854226][ T9877] bcachefs (loop2): Fixed errors, running fsck a second time to verify fs is clean [ 322.854286][ T9877] bcachefs (loop2): check_alloc_info... done [ 322.894856][ T9877] bcachefs (loop2): check_lrus... done [ 322.895532][ T9877] bcachefs (loop2): check_btree_backpointers... done [ 322.896640][ T9877] bcachefs (loop2): check_backpointers_to_extents... done [ 322.898138][ T9877] bcachefs (loop2): check_extents_to_backpointers... [ 322.898619][ T9877] bcachefs (loop2): scanning for missing backpointers in 1/128 buckets [ 322.915278][ T9905] loop6: detected capacity change from 0 to 32768 [ 322.918855][ T9877] done [ 322.919430][ T9877] bcachefs (loop2): check_alloc_to_lru_refs... done [ 322.921226][ T9877] bcachefs (loop2): bucket_gens_init... done [ 322.922627][ T9877] bcachefs (loop2): check_snapshot_trees... done [ 322.924463][ T9877] bcachefs (loop2): check_snapshots... done [ 322.925304][ T9877] bcachefs (loop2): check_subvols... done [ 322.925883][ T9877] bcachefs (loop2): check_subvol_children... [ 322.941020][ T7094] bcachefs (loop5): shutting down [ 322.941284][ T7094] bcachefs (loop5): going read-only [ 322.941316][ T7094] bcachefs (loop5): finished waiting for writes to stop [ 322.942455][ T9877] done [ 322.942484][ T9877] bcachefs (loop2): delete_dead_snapshots... done [ 322.943019][ T9877] bcachefs (loop2): check_inodes... done [ 322.943802][ T9877] bcachefs (loop2): check_extents... done [ 322.944530][ T9877] bcachefs (loop2): check_indirect_extents... done [ 322.945070][ T9877] bcachefs (loop2): check_dirents... done [ 322.945959][ T9877] bcachefs (loop2): check_xattrs... [ 322.955836][ T9906] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 322.955856][ T9906] allowing incompatible features above 0.0: (unknown version) [ 322.955867][ T9906] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 322.955922][ T9906] bcachefs (loop4): Using encoding defined by superblock: utf8-12.1.0 [ 322.956102][ T9906] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 322.956530][ T9906] bcachefs (loop4): Version upgrade required: [ 322.956530][ T9906] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 322.956530][ T9906] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 322.956530][ T9906] 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 [ 322.999055][ T9877] done [ 322.999112][ T9877] bcachefs (loop2): check_root... done [ 323.003636][ T9877] bcachefs (loop2): check_unreachable_inodes... done [ 323.004297][ T9877] bcachefs (loop2): check_subvolume_structure... done [ 323.004845][ T9877] bcachefs (loop2): check_directory_structure... done [ 323.005439][ T9877] bcachefs (loop2): check_nlinks... done [ 323.006294][ T9877] bcachefs (loop2): check_rebalance_work... done [ 323.006880][ T9877] bcachefs (loop2): resume_logged_ops... [ 323.007340][ T7094] bcachefs (loop5): flushing journal and stopping allocators, journal seq 31 [ 323.007952][ T7094] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 31 [ 323.017989][ T9877] done [ 323.018018][ T9877] bcachefs (loop2): delete_dead_inodes... [ 323.020333][ T7094] bcachefs (loop5): clean shutdown complete, journal seq 32 [ 323.021085][ T7094] bcachefs (loop5): marking filesystem clean [ 323.025601][ T9877] done [ 323.025627][ T9877] bcachefs (loop2): set_fs_needs_rebalance... [ 323.026685][ T9906] bcachefs (loop4): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 323.026703][ T9906] gen 0 oldest_gen 0 data_type btree [ 323.026713][ T9906] journal_seq_nonempty 6 [ 323.026722][ T9906] journal_seq_empty 0 [ 323.026731][ T9906] need_discard 1 [ 323.026740][ T9906] need_inc_gen 1 [ 323.026749][ T9906] dirty_sectors 0 [ 323.026758][ T9906] stripe_sectors 1769482 [ 323.026768][ T9906] cached_sectors 0 [ 323.026777][ T9906] stripe 0 [ 323.026786][ T9906] stripe_redundancy 0 [ 323.026795][ T9906] io_time[READ] 1 [ 323.026804][ T9906] io_time[WRITE] 768 [ 323.026813][ T9906] fragmentation 0 [ 323.026822][ T9906] bp_start 7 [ 323.026831][ T9906] [ 323.026840][ T9906] invalid data type (got 3 should be 9), deleting [ 323.045298][ T9877] done [ 323.062586][ T9906] bcachefs (loop4): accounting_read... [ 323.064507][ T9877] bcachefs (loop2): done starting filesystem [ 323.104969][ T6668] bcachefs (loop2): shutting down [ 323.105030][ T6668] bcachefs (loop2): going read-only [ 323.105061][ T6668] bcachefs (loop2): finished waiting for writes to stop [ 323.114315][ T9906] done [ 323.114366][ T9906] bcachefs (loop4): alloc_read... done [ 323.117653][ T9906] bcachefs (loop4): snapshots_read... done [ 323.120863][ T9906] bcachefs (loop4): check_allocations... [ 323.125315][ T9906] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 323.128848][ T9906] 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 [ 323.134048][ T6668] bcachefs (loop2): flushing journal and stopping allocators, journal seq 29 [ 323.137917][ T6668] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 30 [ 323.138923][ T9906] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 323.138940][ T9906] 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 [ 323.143572][ T6668] bcachefs (loop2): clean shutdown complete, journal seq 31 [ 323.144330][ T6668] bcachefs (loop2): marking filesystem clean [ 323.145317][ T9906] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 323.145333][ T9906] 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 [ 323.161050][ T9906] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 323.161097][ T9906] 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 [ 323.162180][ T9906] bcachefs (loop4): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 323.162196][ T9906] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 323.169862][ T9906] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 323.169879][ T9906] 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 [ 323.170506][ T9906] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.170579][ T9906] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.170848][ T9906] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.170908][ T9906] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.171102][ T9906] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.171177][ T9906] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.171283][ T9906] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.171345][ T9906] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.171451][ T9906] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.171510][ T9906] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.171612][ T9906] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.171671][ T9906] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.171776][ T9906] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.171838][ T9906] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.171952][ T9906] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.172014][ T9906] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 323.172138][ T9906] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 323.172212][ T9906] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 323.172319][ T9906] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 323.172389][ T9906] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 323.172511][ T9906] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 323.172523][ T9906] Ratelimiting new instances of previous error [ 323.172601][ T9906] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 323.172613][ T9906] Ratelimiting new instances of previous error [ 323.219744][ T9906] done [ 323.242357][ T9906] bcachefs (loop4): going read-write [ 323.249375][ T9905] bcachefs (loop6): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 323.249397][ T9905] allowing incompatible features above 0.0: (unknown version) [ 323.249408][ T9905] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 323.249461][ T9905] bcachefs (loop6): Using encoding defined by superblock: utf8-12.1.0 [ 323.249549][ T9905] bcachefs (loop6): recovering from clean shutdown, journal seq 10 [ 323.249679][ T9905] bcachefs (loop6): Version upgrade required: [ 323.249679][ T9905] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 323.249679][ T9905] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 323.249679][ T9905] 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 [ 323.254302][ T6668] bcachefs (loop2): shutdown complete [ 323.264096][ T7094] bcachefs (loop5): shutdown complete [ 323.326403][ T9906] bcachefs (loop4): journal_replay... [ 323.327892][ T9905] bcachefs (loop6): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 323.327944][ T9905] gen 0 oldest_gen 0 data_type btree [ 323.327955][ T9905] journal_seq_nonempty 6 [ 323.327964][ T9905] journal_seq_empty 0 [ 323.327973][ T9905] need_discard 1 [ 323.327982][ T9905] need_inc_gen 1 [ 323.327992][ T9905] dirty_sectors 0 [ 323.328001][ T9905] stripe_sectors 1769482 [ 323.328010][ T9905] cached_sectors 0 [ 323.328020][ T9905] stripe 0 [ 323.328029][ T9905] stripe_redundancy 0 [ 323.328038][ T9905] io_time[READ] 1 [ 323.328047][ T9905] io_time[WRITE] 768 [ 323.328056][ T9905] fragmentation 0 [ 323.328065][ T9905] bp_start 7 [ 323.328074][ T9905] [ 323.328083][ T9905] invalid data type (got 3 should be 9), deleting [ 323.382231][ T9905] bcachefs (loop6): accounting_read... done [ 323.420559][ T9905] bcachefs (loop6): alloc_read... done [ 323.452418][ T9905] bcachefs (loop6): snapshots_read... done [ 323.453025][ T9905] bcachefs (loop6): check_allocations... [ 323.454288][ T9905] bcachefs (loop6): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 323.454304][ T9905] 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 [ 323.455520][ T9905] bcachefs (loop6): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 323.455535][ T9905] 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 [ 323.468781][ T9905] bcachefs (loop6): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 323.468799][ T9905] 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 [ 323.469832][ T9905] bcachefs (loop6): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 323.469848][ T9905] 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 [ 323.472925][ T9905] bcachefs (loop6): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 323.472941][ T9905] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 323.474806][ T9905] bcachefs (loop6): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 323.474822][ T9905] 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 [ 323.475418][ T9905] bcachefs (loop6): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.475496][ T9905] bcachefs (loop6): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.475764][ T9905] bcachefs (loop6): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.475831][ T9905] bcachefs (loop6): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.481044][ T9905] bcachefs (loop6): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.481112][ T9905] bcachefs (loop6): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.481255][ T9905] bcachefs (loop6): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.481318][ T9905] bcachefs (loop6): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.481425][ T9905] bcachefs (loop6): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.481488][ T9905] bcachefs (loop6): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.481605][ T9905] bcachefs (loop6): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.481664][ T9905] bcachefs (loop6): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.481775][ T9905] bcachefs (loop6): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.481833][ T9905] bcachefs (loop6): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 323.481941][ T9905] bcachefs (loop6): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 323.482004][ T9905] bcachefs (loop6): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 323.482115][ T9905] bcachefs (loop6): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 323.482197][ T9905] bcachefs (loop6): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 323.482308][ T9905] bcachefs (loop6): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 323.482368][ T9905] bcachefs (loop6): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 323.489742][ T9906] done [ 323.492204][ T9906] bcachefs (loop4): check_alloc_info... [ 323.504954][ T9905] bcachefs (loop6): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 323.504972][ T9905] Ratelimiting new instances of previous error [ 323.505059][ T9905] bcachefs (loop6): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 323.505072][ T9905] Ratelimiting new instances of previous error [ 323.536348][ T9906] done [ 323.536379][ T9906] bcachefs (loop4): check_lrus... done [ 323.559146][ T9906] bcachefs (loop4): check_btree_backpointers... [ 323.559943][ T9905] done [ 323.560669][ T9906] done [ 323.560693][ T9906] bcachefs (loop4): check_backpointers_to_extents... [ 323.562306][ T9905] bcachefs (loop6): going read-write [ 323.567160][ T9906] done [ 323.568354][ T9906] bcachefs (loop4): check_extents_to_backpointers... [ 323.569040][ T9906] bcachefs (loop4): scanning for missing backpointers in 5/128 buckets [ 323.570388][ T9906] done [ 323.570853][ T9906] bcachefs (loop4): check_alloc_to_lru_refs... done [ 323.572701][ T9906] bcachefs (loop4): bucket_gens_init... [ 323.595193][ T9905] bcachefs (loop6): journal_replay... [ 323.595769][ T9906] done [ 323.596964][ T9906] bcachefs (loop4): check_snapshot_trees... done [ 323.650095][ T9915] loop0: detected capacity change from 0 to 32768 [ 323.668967][ T9906] bcachefs (loop4): check_snapshots... [ 323.669272][ T9906] bcachefs (loop4): snapshot points to missing/incorrect tree: [ 323.669313][ T9906] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 323.692455][ T9906] done [ 323.693250][ T9906] bcachefs (loop4): check_subvols... done [ 323.747605][ T9906] bcachefs (loop4): check_subvol_children... done [ 323.748312][ T9906] bcachefs (loop4): delete_dead_snapshots... done [ 323.755341][ T9906] bcachefs (loop4): check_inodes... done [ 323.757128][ T9906] bcachefs (loop4): check_extents... [ 323.757817][ T9905] done [ 323.758705][ T9905] bcachefs (loop6): check_alloc_info... [ 323.766787][ T9906] done [ 323.766848][ T9906] bcachefs (loop4): check_indirect_extents... done [ 323.785581][ T9906] bcachefs (loop4): check_dirents... done [ 323.795374][ T9906] bcachefs (loop4): check_xattrs... done [ 323.798204][ T9906] bcachefs (loop4): check_root... done [ 323.800689][ T9906] bcachefs (loop4): check_unreachable_inodes... [ 323.803349][ T9905] done [ 323.803399][ T9905] bcachefs (loop6): check_lrus... done [ 323.815726][ T9905] bcachefs (loop6): check_btree_backpointers... [ 323.818977][ T9906] done [ 323.819622][ T9906] bcachefs (loop4): check_subvolume_structure... done [ 323.820276][ T9906] bcachefs (loop4): check_directory_structure... done [ 323.820826][ T9906] bcachefs (loop4): check_nlinks... done [ 323.821721][ T9906] bcachefs (loop4): check_rebalance_work... [ 323.832709][ T9905] done [ 323.832914][ T9906] done [ 323.832958][ T9906] bcachefs (loop4): resume_logged_ops... done [ 323.833569][ T9906] bcachefs (loop4): delete_dead_inodes... done [ 323.834296][ T9906] bcachefs (loop4): set_fs_needs_rebalance... [ 323.839495][ T9905] bcachefs (loop6): check_backpointers_to_extents... [ 323.843861][ T9906] done [ 323.846706][ T9905] done [ 323.847946][ T9905] bcachefs (loop6): check_extents_to_backpointers... [ 323.848645][ T9905] bcachefs (loop6): scanning for missing backpointers in 5/128 buckets [ 323.849593][ T9905] done [ 323.850077][ T9905] bcachefs (loop6): check_alloc_to_lru_refs... done [ 323.853907][ T9905] bcachefs (loop6): bucket_gens_init... [ 323.862859][ T9915] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 323.862910][ T9915] allowing incompatible features above 0.0: (unknown version) [ 323.862927][ T9915] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 323.862984][ T9915] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 323.863068][ T9915] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 323.863286][ T9915] bcachefs (loop0): Version upgrade required: [ 323.863286][ T9915] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 323.863286][ T9915] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 323.863286][ T9915] 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 [ 323.876525][ T9905] done [ 323.877572][ T9905] bcachefs (loop6): check_snapshot_trees... done [ 323.878186][ T9905] bcachefs (loop6): check_snapshots... [ 323.878426][ T9905] bcachefs (loop6): snapshot points to missing/incorrect tree: [ 323.878439][ T9905] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 323.922197][ T9906] bcachefs (loop4): Fixed errors, running fsck a second time to verify fs is clean [ 323.922261][ T9906] bcachefs (loop4): check_alloc_info... [ 323.925337][ T9915] bcachefs (loop0): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 323.925390][ T9915] gen 0 oldest_gen 0 data_type btree [ 323.925401][ T9915] journal_seq_nonempty 6 [ 323.925411][ T9915] journal_seq_empty 0 [ 323.925420][ T9915] need_discard 1 [ 323.925429][ T9915] need_inc_gen 1 [ 323.925438][ T9915] dirty_sectors 0 [ 323.925447][ T9915] stripe_sectors 1769482 [ 323.925457][ T9915] cached_sectors 0 [ 323.925466][ T9915] stripe 0 [ 323.925475][ T9915] stripe_redundancy 0 [ 323.925485][ T9915] io_time[READ] 1 [ 323.925494][ T9915] io_time[WRITE] 768 [ 323.925503][ T9915] fragmentation 0 [ 323.925512][ T9915] bp_start 7 [ 323.925522][ T9915] [ 323.925530][ T9915] invalid data type (got 3 should be 9), deleting [ 323.948785][ T9905] done [ 323.953178][ T9906] done [ 323.953262][ T9906] bcachefs (loop4): check_lrus... [ 323.953593][ T9905] bcachefs (loop6): check_subvols... [ 323.955103][ T9906] done [ 323.955148][ T9906] bcachefs (loop4): check_btree_backpointers... [ 323.955735][ T9905] done [ 323.957089][ T9905] bcachefs (loop6): check_subvol_children... [ 323.958823][ T9906] done [ 323.958857][ T9906] bcachefs (loop4): check_backpointers_to_extents... [ 323.963516][ T9915] bcachefs (loop0): accounting_read... [ 323.963629][ T9905] done [ 323.963657][ T9905] bcachefs (loop6): delete_dead_snapshots... [ 323.968942][ T9906] done [ 323.968998][ T9906] bcachefs (loop4): check_extents_to_backpointers... [ 323.969508][ T9906] bcachefs (loop4): scanning for missing backpointers in 1/128 buckets [ 323.970354][ T9905] done [ 323.970379][ T9905] bcachefs (loop6): check_inodes... done [ 323.971465][ T9905] bcachefs (loop6): check_extents... done [ 323.972604][ T9905] bcachefs (loop6): check_indirect_extents... [ 323.972850][ T9906] done [ 323.973354][ T9906] bcachefs (loop4): check_alloc_to_lru_refs... [ 323.974469][ T9905] done [ 323.974501][ T9905] bcachefs (loop6): check_dirents... [ 323.976974][ T9906] done [ 323.988239][ T9906] bcachefs (loop4): bucket_gens_init... [ 323.988933][ T9905] done [ 323.988992][ T9905] bcachefs (loop6): check_xattrs... [ 323.989804][ T9906] done [ 323.990322][ T9906] bcachefs (loop4): check_snapshot_trees... [ 323.991105][ T9905] done [ 323.991148][ T9905] bcachefs (loop6): check_root... done [ 323.992452][ T9905] bcachefs (loop6): check_unreachable_inodes... [ 323.992755][ T9906] done [ 323.992784][ T9906] bcachefs (loop4): check_snapshots... done [ 323.993626][ T9906] bcachefs (loop4): check_subvols... [ 323.993850][ T9905] done [ 323.993878][ T9905] bcachefs (loop6): check_subvolume_structure... done [ 323.994740][ T9905] bcachefs (loop6): check_directory_structure... [ 323.994925][ T9906] done [ 323.994952][ T9906] bcachefs (loop4): check_subvol_children... [ 323.995749][ T9905] done [ 323.995780][ T9905] bcachefs (loop6): check_nlinks... [ 324.006211][ T9906] done [ 324.006245][ T9906] bcachefs (loop4): delete_dead_snapshots... [ 324.016208][ T9905] done [ 324.016265][ T9905] bcachefs (loop6): check_rebalance_work... [ 324.016919][ T9915] done [ 324.016963][ T9915] bcachefs (loop0): alloc_read... [ 324.017423][ T9906] done [ 324.017466][ T9906] bcachefs (loop4): check_inodes... [ 324.018503][ T9915] done [ 324.018533][ T9915] bcachefs (loop0): snapshots_read... [ 324.018912][ T9905] done [ 324.018942][ T9905] bcachefs (loop6): resume_logged_ops... done [ 324.019585][ T9905] bcachefs (loop6): delete_dead_inodes... [ 324.020088][ T9915] done [ 324.020128][ T9915] bcachefs (loop0): check_allocations... [ 324.021263][ T9905] done [ 324.021294][ T9905] bcachefs (loop6): set_fs_needs_rebalance... [ 324.029438][ T9915] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 324.029455][ T9915] 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 [ 324.030357][ T9906] done [ 324.030381][ T9906] bcachefs (loop4): check_extents... done [ 324.036150][ T9906] bcachefs (loop4): check_indirect_extents... [ 324.044865][ T9915] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 324.044882][ T9915] 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 [ 324.049397][ T9905] done [ 324.057394][ T9915] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 324.057434][ T9915] 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 [ 324.061856][ T9915] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 324.061872][ T9915] 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 [ 324.063651][ T9915] bcachefs (loop0): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 324.063666][ T9915] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 324.064156][ T9906] done [ 324.064186][ T9906] bcachefs (loop4): check_dirents... done [ 324.065219][ T9906] bcachefs (loop4): check_xattrs... [ 324.065745][ T9915] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 324.065760][ T9915] 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 [ 324.067847][ T9915] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.067930][ T9915] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.068196][ T9915] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.068263][ T9915] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.068452][ T9915] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.068521][ T9915] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.068628][ T9915] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.068689][ T9915] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.068794][ T9915] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.068860][ T9915] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.068968][ T9915] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.069026][ T9915] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.069150][ T9915] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.069217][ T9915] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.069330][ T9915] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.069394][ T9915] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 324.069506][ T9915] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.069569][ T9915] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.069670][ T9915] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.069728][ T9915] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.069850][ T9915] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.069862][ T9915] Ratelimiting new instances of previous error [ 324.069935][ T9915] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.069947][ T9915] Ratelimiting new instances of previous error [ 324.076207][ T9906] done [ 324.076235][ T9906] bcachefs (loop4): check_root... done [ 324.078768][ T9906] bcachefs (loop4): check_unreachable_inodes... done [ 324.079734][ T9906] bcachefs (loop4): check_subvolume_structure... done [ 324.081386][ T9906] bcachefs (loop4): check_directory_structure... done [ 324.084379][ T9906] bcachefs (loop4): check_nlinks... done [ 324.088186][ T9906] bcachefs (loop4): check_rebalance_work... done [ 324.088981][ T9906] bcachefs (loop4): resume_logged_ops... done [ 324.089546][ T9906] bcachefs (loop4): delete_dead_inodes... done [ 324.090098][ T9906] bcachefs (loop4): set_fs_needs_rebalance... done [ 324.146420][ T9905] bcachefs (loop6): Fixed errors, running fsck a second time to verify fs is clean [ 324.146457][ T9905] bcachefs (loop6): check_alloc_info... [ 324.151750][ T9906] bcachefs (loop4): done starting filesystem [ 324.165145][ T9905] done [ 324.165179][ T9905] bcachefs (loop6): check_lrus... [ 324.172855][ T6667] bcachefs (loop4): shutting down [ 324.172889][ T6667] bcachefs (loop4): going read-only [ 324.172919][ T6667] bcachefs (loop4): finished waiting for writes to stop [ 324.173579][ T9905] done [ 324.173603][ T9905] bcachefs (loop6): check_btree_backpointers... done [ 324.175513][ T9905] bcachefs (loop6): check_backpointers_to_extents... done [ 324.184588][ T9905] bcachefs (loop6): check_extents_to_backpointers... [ 324.185086][ T9905] bcachefs (loop6): scanning for missing backpointers in 1/128 buckets [ 324.192625][ T9915] done [ 324.202031][ T9915] bcachefs (loop0): going read-write [ 324.206766][ T9905] done 1970/01/01 00:05:23 executed programs: 291 [ 324.207996][ T9905] bcachefs (loop6): check_alloc_to_lru_refs... [ 324.220138][ T6667] bcachefs (loop4): flushing journal and stopping allocators, journal seq 31 [ 324.221178][ T9915] bcachefs (loop0): journal_replay... [ 324.222840][ T9905] done [ 324.223905][ T6667] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 31 [ 324.224616][ T6667] bcachefs (loop4): clean shutdown complete, journal seq 32 [ 324.225365][ T6667] bcachefs (loop4): marking filesystem clean [ 324.243641][ T9905] bcachefs (loop6): bucket_gens_init... done [ 324.277896][ T9905] bcachefs (loop6): check_snapshot_trees... done [ 324.278879][ T9905] bcachefs (loop6): check_snapshots... done [ 324.296378][ T9905] bcachefs (loop6): check_subvols... done [ 324.297542][ T9905] bcachefs (loop6): check_subvol_children... done [ 324.304634][ T9905] bcachefs (loop6): delete_dead_snapshots... done [ 324.305193][ T9905] bcachefs (loop6): check_inodes... done [ 324.306440][ T9905] bcachefs (loop6): check_extents... [ 324.328876][ T6667] bcachefs (loop4): shutdown complete [ 324.329221][ T9905] done [ 324.329245][ T9905] bcachefs (loop6): check_indirect_extents... done [ 324.329823][ T9905] bcachefs (loop6): check_dirents... done [ 324.330739][ T9905] bcachefs (loop6): check_xattrs... done [ 324.331647][ T9905] bcachefs (loop6): check_root... done [ 324.332218][ T9905] bcachefs (loop6): check_unreachable_inodes... done [ 324.334287][ T9905] bcachefs (loop6): check_subvolume_structure... done [ 324.335322][ T9905] bcachefs (loop6): check_directory_structure... done [ 324.335862][ T9905] bcachefs (loop6): check_nlinks... done [ 324.361144][ T9905] bcachefs (loop6): check_rebalance_work... done [ 324.372295][ T9905] bcachefs (loop6): resume_logged_ops... [ 324.379386][ T9915] done [ 324.380043][ T9915] bcachefs (loop0): check_alloc_info... [ 324.393526][ T9938] loop5: detected capacity change from 0 to 32768 [ 324.398437][ T9905] done [ 324.398491][ T9905] bcachefs (loop6): delete_dead_inodes... done [ 324.399078][ T9905] bcachefs (loop6): set_fs_needs_rebalance... done [ 324.404125][ T9905] bcachefs (loop6): done starting filesystem [ 324.409071][ T9915] done [ 324.409138][ T9915] bcachefs (loop0): check_lrus... done [ 324.410305][ T9915] bcachefs (loop0): check_btree_backpointers... done [ 324.424793][ T9915] bcachefs (loop0): check_backpointers_to_extents... done [ 324.432498][ T9915] bcachefs (loop0): check_extents_to_backpointers... [ 324.433154][ T9915] bcachefs (loop0): scanning for missing backpointers in 5/128 buckets [ 324.434034][ T9915] done [ 324.434519][ T9915] bcachefs (loop0): check_alloc_to_lru_refs... done [ 324.443694][ T9915] bcachefs (loop0): bucket_gens_init... [ 324.454673][ T9928] loop2: detected capacity change from 0 to 32768 [ 324.455737][ T9286] bcachefs (loop6): shutting down [ 324.455764][ T9286] bcachefs (loop6): going read-only [ 324.455794][ T9286] bcachefs (loop6): finished waiting for writes to stop [ 324.457049][ T9915] done [ 324.458040][ T9915] bcachefs (loop0): check_snapshot_trees... done [ 324.509962][ T9286] bcachefs (loop6): flushing journal and stopping allocators, journal seq 29 [ 324.513058][ T9286] bcachefs (loop6): flushing journal and stopping allocators complete, journal seq 30 [ 324.518007][ T9286] bcachefs (loop6): clean shutdown complete, journal seq 31 [ 324.518803][ T9286] bcachefs (loop6): marking filesystem clean [ 324.541527][ T9915] bcachefs (loop0): check_snapshots... [ 324.541832][ T9915] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 324.541869][ T9915] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 324.547023][ T9915] done [ 324.548718][ T9915] bcachefs (loop0): check_subvols... done [ 324.584073][ T9938] bcachefs (loop5): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 324.584130][ T9938] allowing incompatible features above 0.0: (unknown version) [ 324.584161][ T9938] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 324.584210][ T9938] bcachefs (loop5): Using encoding defined by superblock: utf8-12.1.0 [ 324.584299][ T9938] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 324.584418][ T9938] bcachefs (loop5): Version upgrade required: [ 324.584418][ T9938] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 324.584418][ T9938] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 324.584418][ T9938] 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 [ 324.593198][ T9938] bcachefs (loop5): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 324.593218][ T9938] gen 0 oldest_gen 0 data_type btree [ 324.593227][ T9938] journal_seq_nonempty 6 [ 324.593237][ T9938] journal_seq_empty 0 [ 324.593246][ T9938] need_discard 1 [ 324.593255][ T9938] need_inc_gen 1 [ 324.593264][ T9938] dirty_sectors 0 [ 324.593273][ T9938] stripe_sectors 1769482 [ 324.593282][ T9938] cached_sectors 0 [ 324.593292][ T9938] stripe 0 [ 324.593300][ T9938] stripe_redundancy 0 [ 324.593310][ T9938] io_time[READ] 1 [ 324.593319][ T9938] io_time[WRITE] 768 [ 324.593328][ T9938] fragmentation 0 [ 324.593337][ T9938] bp_start 7 [ 324.593346][ T9938] [ 324.593354][ T9938] invalid data type (got 3 should be 9), deleting [ 324.633330][ T9915] bcachefs (loop0): check_subvol_children... [ 324.636587][ T9938] bcachefs (loop5): accounting_read... [ 324.645171][ T9915] done [ 324.654745][ T9286] bcachefs (loop6): shutdown complete [ 324.655576][ T9915] bcachefs (loop0): delete_dead_snapshots... done [ 324.664894][ T9915] bcachefs (loop0): check_inodes... done [ 324.666647][ T9915] bcachefs (loop0): check_extents... done [ 324.668164][ T9915] bcachefs (loop0): check_indirect_extents... done [ 324.668730][ T9915] bcachefs (loop0): check_dirents... done [ 324.674091][ T9915] bcachefs (loop0): check_xattrs... done [ 324.675105][ T9915] bcachefs (loop0): check_root... [ 324.683956][ T9928] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 324.684000][ T9928] allowing incompatible features above 0.0: (unknown version) [ 324.684025][ T9928] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 324.684088][ T9928] bcachefs (loop2): Using encoding defined by superblock: utf8-12.1.0 [ 324.684188][ T9928] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 324.684307][ T9928] bcachefs (loop2): Version upgrade required: [ 324.684307][ T9928] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 324.684307][ T9928] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 324.684307][ T9928] 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 [ 324.699688][ T9938] done [ 324.699719][ T9938] bcachefs (loop5): alloc_read... [ 324.700187][ T9915] done [ 324.700218][ T9915] bcachefs (loop0): check_unreachable_inodes... [ 324.701081][ T9938] done [ 324.701112][ T9938] bcachefs (loop5): snapshots_read... [ 324.702419][ T9915] done [ 324.702450][ T9915] bcachefs (loop0): check_subvolume_structure... [ 324.716271][ T9938] done [ 324.716310][ T9938] bcachefs (loop5): check_allocations... [ 324.717100][ T9915] done [ 324.717150][ T9915] bcachefs (loop0): check_directory_structure... done [ 324.721199][ T9915] bcachefs (loop0): check_nlinks... [ 324.722165][ T9938] bcachefs (loop5): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 324.722181][ T9938] 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 [ 324.723382][ T9915] done [ 324.723406][ T9915] bcachefs (loop0): check_rebalance_work... [ 324.724222][ T9938] bcachefs (loop5): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 324.724236][ T9938] 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 [ 324.724968][ T9915] done [ 324.724991][ T9915] bcachefs (loop0): resume_logged_ops... done [ 324.725552][ T9915] bcachefs (loop0): delete_dead_inodes... done [ 324.727309][ T9915] bcachefs (loop0): set_fs_needs_rebalance... [ 324.729797][ T9938] bcachefs (loop5): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 324.729813][ T9938] 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 [ 324.745013][ T9938] bcachefs (loop5): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 324.745031][ T9938] 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 [ 324.746108][ T9938] bcachefs (loop5): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 324.746141][ T9938] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 324.759781][ T9938] bcachefs (loop5): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 324.759798][ T9938] 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 [ 324.760385][ T9938] bcachefs (loop5): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.760459][ T9938] bcachefs (loop5): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.760703][ T9938] bcachefs (loop5): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.760770][ T9938] bcachefs (loop5): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.760955][ T9938] bcachefs (loop5): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.761020][ T9938] bcachefs (loop5): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.761140][ T9938] bcachefs (loop5): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.761203][ T9938] bcachefs (loop5): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.761311][ T9938] bcachefs (loop5): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.761374][ T9938] bcachefs (loop5): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.761483][ T9938] bcachefs (loop5): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.761541][ T9938] bcachefs (loop5): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.761645][ T9938] bcachefs (loop5): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.761710][ T9938] bcachefs (loop5): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.761814][ T9938] bcachefs (loop5): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.761872][ T9938] bcachefs (loop5): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 324.761981][ T9938] bcachefs (loop5): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.762044][ T9938] bcachefs (loop5): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.762157][ T9938] bcachefs (loop5): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.762217][ T9938] bcachefs (loop5): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.762336][ T9938] bcachefs (loop5): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.762349][ T9938] Ratelimiting new instances of previous error [ 324.762428][ T9938] bcachefs (loop5): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.762441][ T9938] Ratelimiting new instances of previous error [ 324.786446][ T9928] bcachefs (loop2): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 324.786464][ T9928] gen 0 oldest_gen 0 data_type btree [ 324.786474][ T9928] journal_seq_nonempty 6 [ 324.786484][ T9928] journal_seq_empty 0 [ 324.786493][ T9928] need_discard 1 [ 324.786502][ T9928] need_inc_gen 1 [ 324.786512][ T9928] dirty_sectors 0 [ 324.786521][ T9928] stripe_sectors 1769482 [ 324.786530][ T9928] cached_sectors 0 [ 324.786539][ T9928] stripe 0 [ 324.786548][ T9928] stripe_redundancy 0 [ 324.786557][ T9928] io_time[READ] 1 [ 324.786566][ T9928] io_time[WRITE] 768 [ 324.786576][ T9928] fragmentation 0 [ 324.786585][ T9928] bp_start 7 [ 324.786593][ T9928] [ 324.786602][ T9928] invalid data type (got 3 should be 9), deleting [ 324.793791][ T9915] done [ 324.822929][ T9928] bcachefs (loop2): accounting_read... [ 324.823314][ T9938] done [ 324.828395][ T9938] bcachefs (loop5): going read-write [ 324.860961][ T9938] bcachefs (loop5): journal_replay... [ 324.900421][ T9928] done [ 324.900488][ T9928] bcachefs (loop2): alloc_read... done [ 324.901827][ T9928] bcachefs (loop2): snapshots_read... [ 324.902186][ T9915] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 324.902221][ T9915] bcachefs (loop0): check_alloc_info... [ 324.904618][ T9928] done [ 324.904651][ T9928] bcachefs (loop2): check_allocations... [ 324.909686][ T9928] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 324.909704][ T9928] 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 [ 324.918716][ T9915] done [ 324.918745][ T9915] bcachefs (loop0): check_lrus... [ 324.925772][ T9928] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 324.925825][ T9928] 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 [ 324.932222][ T9915] done [ 324.932250][ T9915] bcachefs (loop0): check_btree_backpointers... done [ 324.940864][ T9915] bcachefs (loop0): check_backpointers_to_extents... [ 324.942674][ T9928] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 324.942690][ T9928] 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 [ 324.945554][ T9915] done [ 324.945605][ T9915] bcachefs (loop0): check_extents_to_backpointers... [ 324.947493][ T9928] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 324.947509][ T9928] 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 [ 324.949584][ T9915] bcachefs (loop0): scanning for missing backpointers in 1/128 buckets [ 324.967178][ T9915] done [ 324.967724][ T9915] bcachefs (loop0): check_alloc_to_lru_refs... [ 324.970095][ T9928] bcachefs (loop2): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 324.970154][ T9928] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 324.971089][ T9915] done [ 324.971554][ T9928] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 324.971568][ T9928] 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 [ 324.972114][ T9928] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.972204][ T9928] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.972479][ T9928] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.972543][ T9928] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.972741][ T9928] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.972811][ T9928] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.972915][ T9928] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.972985][ T9928] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.973087][ T9928] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.973165][ T9928] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.973279][ T9928] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.973345][ T9928] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.973451][ T9928] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.973516][ T9928] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 324.973630][ T9928] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 324.973692][ T9928] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 324.973798][ T9928] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.973863][ T9928] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.973979][ T9928] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.974038][ T9928] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.974168][ T9928] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 324.974180][ T9928] Ratelimiting new instances of previous error [ 324.974260][ T9928] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 324.974273][ T9928] Ratelimiting new instances of previous error [ 324.979390][ T9915] bcachefs (loop0): bucket_gens_init... done [ 324.980806][ T9915] bcachefs (loop0): check_snapshot_trees... done [ 324.982748][ T9915] bcachefs (loop0): check_snapshots... done [ 324.984051][ T9915] bcachefs (loop0): check_subvols... done [ 324.984670][ T9915] bcachefs (loop0): check_subvol_children... done [ 324.985228][ T9915] bcachefs (loop0): delete_dead_snapshots... done [ 325.033554][ T9915] bcachefs (loop0): check_inodes... [ 325.034357][ T9928] done [ 325.043159][ T9915] done [ 325.043189][ T9915] bcachefs (loop0): check_extents... [ 325.045141][ T9928] bcachefs (loop2): going read-write [ 325.045536][ T9938] done [ 325.046331][ T9938] bcachefs (loop5): check_alloc_info... [ 325.053543][ T9915] done [ 325.053578][ T9915] bcachefs (loop0): check_indirect_extents... done [ 325.054153][ T9915] bcachefs (loop0): check_dirents... done [ 325.055070][ T9915] bcachefs (loop0): check_xattrs... done [ 325.055666][ T9915] bcachefs (loop0): check_root... done [ 325.056930][ T9915] bcachefs (loop0): check_unreachable_inodes... done [ 325.057624][ T9915] bcachefs (loop0): check_subvolume_structure... done [ 325.058296][ T9915] bcachefs (loop0): check_directory_structure... [ 325.058751][ T9938] done [ 325.058780][ T9938] bcachefs (loop5): check_lrus... [ 325.059396][ T9915] done [ 325.059426][ T9915] bcachefs (loop0): check_nlinks... [ 325.060168][ T9938] done [ 325.060198][ T9938] bcachefs (loop5): check_btree_backpointers... [ 325.063572][ T9915] done [ 325.063605][ T9915] bcachefs (loop0): check_rebalance_work... [ 325.063971][ T9938] done [ 325.064001][ T9938] bcachefs (loop5): check_backpointers_to_extents... [ 325.073732][ T9915] done [ 325.073768][ T9915] bcachefs (loop0): resume_logged_ops... [ 325.074044][ T9938] done [ 325.075020][ T9938] bcachefs (loop5): check_extents_to_backpointers... [ 325.075667][ T9938] bcachefs (loop5): scanning for missing backpointers in 5/128 buckets [ 325.089333][ T9915] done [ 325.089362][ T9915] bcachefs (loop0): delete_dead_inodes... [ 325.089780][ T9928] bcachefs (loop2): journal_replay... [ 325.094195][ T9915] done [ 325.094229][ T9915] bcachefs (loop0): set_fs_needs_rebalance... [ 325.095063][ T9938] done [ 325.095594][ T9938] bcachefs (loop5): check_alloc_to_lru_refs... [ 325.110894][ T9915] done [ 325.111419][ T9938] done [ 325.113947][ T9938] bcachefs (loop5): bucket_gens_init... [ 325.116496][ T9915] bcachefs (loop0): done starting filesystem [ 325.148387][ T9938] done [ 325.149527][ T9938] bcachefs (loop5): check_snapshot_trees... done [ 325.182403][ T9928] done [ 325.182881][ T9928] bcachefs (loop2): check_alloc_info... [ 325.185729][ T6658] bcachefs (loop0): shutting down [ 325.185782][ T6658] bcachefs (loop0): going read-only [ 325.185835][ T6658] bcachefs (loop0): finished waiting for writes to stop [ 325.198380][ T9928] done [ 325.198432][ T9928] bcachefs (loop2): check_lrus... done [ 325.199047][ T9928] bcachefs (loop2): check_btree_backpointers... done [ 325.199774][ T9928] bcachefs (loop2): check_backpointers_to_extents... done [ 325.201399][ T9928] bcachefs (loop2): check_extents_to_backpointers... [ 325.202023][ T9928] bcachefs (loop2): scanning for missing backpointers in 5/128 buckets [ 325.213575][ T9938] bcachefs (loop5): check_snapshots... [ 325.213859][ T9938] bcachefs (loop5): snapshot points to missing/incorrect tree: [ 325.213898][ T9938] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 325.216185][ T9928] done [ 325.220244][ T9928] bcachefs (loop2): check_alloc_to_lru_refs... [ 325.231674][ T9938] done [ 325.232189][ T9928] done [ 325.234245][ T9938] bcachefs (loop5): check_subvols... [ 325.236781][ T6658] bcachefs (loop0): flushing journal and stopping allocators, journal seq 30 [ 325.236880][ T9928] bcachefs (loop2): bucket_gens_init... [ 325.241243][ T6658] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 30 [ 325.245546][ T9938] done [ 325.247169][ T9938] bcachefs (loop5): check_subvol_children... done [ 325.247870][ T9938] bcachefs (loop5): delete_dead_snapshots... done [ 325.248568][ T9938] bcachefs (loop5): check_inodes... [ 325.250545][ T6658] bcachefs (loop0): clean shutdown complete, journal seq 31 [ 325.251313][ T6658] bcachefs (loop0): marking filesystem clean [ 325.253568][ T9938] done [ 325.253596][ T9938] bcachefs (loop5): check_extents... [ 325.254726][ T9928] done [ 325.256883][ T9928] bcachefs (loop2): check_snapshot_trees... [ 325.266948][ T9938] done [ 325.267013][ T9938] bcachefs (loop5): check_indirect_extents... [ 325.269962][ T9928] done [ 325.270650][ T9928] bcachefs (loop2): check_snapshots... [ 325.270890][ T9928] bcachefs (loop2): snapshot points to missing/incorrect tree: [ 325.270903][ T9928] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 325.274138][ T9938] done [ 325.274164][ T9938] bcachefs (loop5): check_dirents... done [ 325.291410][ T9938] bcachefs (loop5): check_xattrs... [ 325.292176][ T9928] done [ 325.293555][ T9928] bcachefs (loop2): check_subvols... [ 325.294187][ T9938] done [ 325.294219][ T9938] bcachefs (loop5): check_root... [ 325.297436][ T9928] done [ 325.297964][ T9928] bcachefs (loop2): check_subvol_children... [ 325.299351][ T9938] done [ 325.299383][ T9938] bcachefs (loop5): check_unreachable_inodes... [ 325.300389][ T9928] done [ 325.300420][ T9928] bcachefs (loop2): delete_dead_snapshots... done [ 325.301319][ T9928] bcachefs (loop2): check_inodes... [ 325.319703][ T9938] done [ 325.319764][ T9938] bcachefs (loop5): check_subvolume_structure... [ 325.319996][ T9928] done [ 325.320025][ T9928] bcachefs (loop2): check_extents... done [ 325.321204][ T9928] bcachefs (loop2): check_indirect_extents... [ 325.321451][ T9938] done [ 325.321480][ T9938] bcachefs (loop5): check_directory_structure... done [ 325.328865][ T9938] bcachefs (loop5): check_nlinks... [ 325.329636][ T9928] done [ 325.329667][ T9928] bcachefs (loop2): check_dirents... done [ 325.334153][ T9928] bcachefs (loop2): check_xattrs... [ 325.334816][ T9938] done [ 325.334846][ T9938] bcachefs (loop5): check_rebalance_work... [ 325.338911][ T9928] done [ 325.338971][ T9928] bcachefs (loop2): check_root... [ 325.339358][ T9938] done [ 325.339388][ T9938] bcachefs (loop5): resume_logged_ops... [ 325.340801][ T9928] done [ 325.340833][ T9928] bcachefs (loop2): check_unreachable_inodes... [ 325.341268][ T9938] done [ 325.341298][ T9938] bcachefs (loop5): delete_dead_inodes... [ 325.341972][ T9928] done [ 325.342002][ T9928] bcachefs (loop2): check_subvolume_structure... done [ 325.342753][ T9928] bcachefs (loop2): check_directory_structure... [ 325.343070][ T9938] done [ 325.343098][ T9938] bcachefs (loop5): set_fs_needs_rebalance... [ 325.350151][ T9928] done [ 325.350185][ T9928] bcachefs (loop2): check_nlinks... done [ 325.365768][ T9928] bcachefs (loop2): check_rebalance_work... done [ 325.371473][ T9928] bcachefs (loop2): resume_logged_ops... [ 325.371785][ T9938] done [ 325.377442][ T9928] done [ 325.377495][ T9928] bcachefs (loop2): delete_dead_inodes... done [ 325.380568][ T9928] bcachefs (loop2): set_fs_needs_rebalance... done [ 325.451826][ T9928] bcachefs (loop2): Fixed errors, running fsck a second time to verify fs is clean [ 325.451898][ T9928] bcachefs (loop2): check_alloc_info... [ 325.456747][ T9960] loop4: detected capacity change from 0 to 32768 [ 325.457411][ T9938] bcachefs (loop5): Fixed errors, running fsck a second time to verify fs is clean [ 325.457458][ T9938] bcachefs (loop5): check_alloc_info... done [ 325.462209][ T9938] bcachefs (loop5): check_lrus... done [ 325.462793][ T9938] bcachefs (loop5): check_btree_backpointers... done [ 325.463671][ T9938] bcachefs (loop5): check_backpointers_to_extents... done [ 325.471053][ T9938] bcachefs (loop5): check_extents_to_backpointers... [ 325.471567][ T9938] bcachefs (loop5): scanning for missing backpointers in 1/128 buckets [ 325.472650][ T9928] done [ 325.472676][ T9928] bcachefs (loop2): check_lrus... done [ 325.473267][ T9928] bcachefs (loop2): check_btree_backpointers... done [ 325.474267][ T9928] bcachefs (loop2): check_backpointers_to_extents... [ 325.475299][ T9938] done [ 325.475798][ T9938] bcachefs (loop5): check_alloc_to_lru_refs... [ 325.478114][ T9928] done [ 325.478161][ T9928] bcachefs (loop2): check_extents_to_backpointers... [ 325.478657][ T9928] bcachefs (loop2): scanning for missing backpointers in 1/128 buckets [ 325.484794][ T9938] done [ 325.485487][ T9938] bcachefs (loop5): bucket_gens_init... [ 325.486498][ T9928] done [ 325.487740][ T9938] done [ 325.488134][ T9928] bcachefs (loop2): check_alloc_to_lru_refs... [ 325.488979][ T9938] bcachefs (loop5): check_snapshot_trees... done [ 325.489824][ T9938] bcachefs (loop5): check_snapshots... [ 325.490436][ T9928] done [ 325.491013][ T9928] bcachefs (loop2): bucket_gens_init... done [ 325.492300][ T9938] done [ 325.492332][ T9938] bcachefs (loop5): check_subvols... [ 325.493010][ T9928] bcachefs (loop2): check_snapshot_trees... [ 325.493474][ T9938] done [ 325.493509][ T9938] bcachefs (loop5): check_subvol_children... [ 325.494384][ T9928] done [ 325.494416][ T9928] bcachefs (loop2): check_snapshots... [ 325.494704][ T9938] done [ 325.494733][ T9938] bcachefs (loop5): delete_dead_snapshots... [ 325.495557][ T9928] done [ 325.495588][ T9928] bcachefs (loop2): check_subvols... [ 325.496383][ T9938] done [ 325.496415][ T9938] bcachefs (loop5): check_inodes... [ 325.520558][ T6658] bcachefs (loop0): shutdown complete [ 325.522134][ T9928] done [ 325.522160][ T9928] bcachefs (loop2): check_subvol_children... [ 325.529875][ T9938] done [ 325.529934][ T9938] bcachefs (loop5): check_extents... [ 325.550471][ T9928] done [ 325.550532][ T9928] bcachefs (loop2): delete_dead_snapshots... done [ 325.551256][ T9928] bcachefs (loop2): check_inodes... done [ 325.552029][ T9928] bcachefs (loop2): check_extents... [ 325.552710][ T9938] done [ 325.552741][ T9938] bcachefs (loop5): check_indirect_extents... [ 325.553216][ T9928] done [ 325.553246][ T9928] bcachefs (loop2): check_indirect_extents... [ 325.553789][ T9938] done [ 325.553818][ T9938] bcachefs (loop5): check_dirents... [ 325.554713][ T9928] done [ 325.554743][ T9928] bcachefs (loop2): check_dirents... [ 325.555690][ T9938] done [ 325.555720][ T9938] bcachefs (loop5): check_xattrs... [ 325.557254][ T9928] done [ 325.557287][ T9928] bcachefs (loop2): check_xattrs... [ 325.557885][ T9938] done [ 325.557914][ T9938] bcachefs (loop5): check_root... [ 325.558289][ T9928] done [ 325.558328][ T9928] bcachefs (loop2): check_root... [ 325.558907][ T9938] done [ 325.558937][ T9938] bcachefs (loop5): check_unreachable_inodes... [ 325.559672][ T9928] done [ 325.559702][ T9928] bcachefs (loop2): check_unreachable_inodes... done [ 325.560521][ T9928] bcachefs (loop2): check_subvolume_structure... [ 325.560768][ T9938] done [ 325.560796][ T9938] bcachefs (loop5): check_subvolume_structure... [ 325.567535][ T9928] done [ 325.567568][ T9928] bcachefs (loop2): check_directory_structure... [ 325.568581][ T9938] done [ 325.568613][ T9938] bcachefs (loop5): check_directory_structure... [ 325.571216][ T9928] done [ 325.571249][ T9928] bcachefs (loop2): check_nlinks... [ 325.572050][ T9938] done [ 325.572081][ T9938] bcachefs (loop5): check_nlinks... [ 325.573112][ T9928] done [ 325.573153][ T9928] bcachefs (loop2): check_rebalance_work... [ 325.573423][ T9938] done [ 325.573452][ T9938] bcachefs (loop5): check_rebalance_work... [ 325.574031][ T9928] done [ 325.574061][ T9928] bcachefs (loop2): resume_logged_ops... [ 325.574758][ T9938] done [ 325.574788][ T9938] bcachefs (loop5): resume_logged_ops... [ 325.575138][ T9928] done [ 325.575167][ T9928] bcachefs (loop2): delete_dead_inodes... [ 325.575713][ T9938] done [ 325.575742][ T9938] bcachefs (loop5): delete_dead_inodes... done [ 325.581634][ T9938] bcachefs (loop5): set_fs_needs_rebalance... [ 325.582437][ T9928] done [ 325.582468][ T9928] bcachefs (loop2): set_fs_needs_rebalance... [ 325.596611][ T9938] done [ 325.597043][ T9928] done [ 325.601904][ T9938] bcachefs (loop5): done starting filesystem [ 325.612703][ T9928] bcachefs (loop2): done starting filesystem [ 325.637036][ T7094] bcachefs (loop5): shutting down [ 325.637089][ T7094] bcachefs (loop5): going read-only [ 325.637144][ T7094] bcachefs (loop5): finished waiting for writes to stop [ 325.648300][ T6668] bcachefs (loop2): shutting down [ 325.648363][ T6668] bcachefs (loop2): going read-only [ 325.648393][ T6668] bcachefs (loop2): finished waiting for writes to stop [ 325.697853][ T7094] bcachefs (loop5): flushing journal and stopping allocators, journal seq 30 [ 325.707744][ T6668] bcachefs (loop2): flushing journal and stopping allocators, journal seq 30 [ 325.710423][ T7094] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 31 [ 325.714867][ T6668] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 31 [ 325.715323][ T7094] bcachefs (loop5): clean shutdown complete, journal seq 32 [ 325.717280][ T7094] bcachefs (loop5): marking filesystem clean [ 325.728418][ T6668] bcachefs (loop2): clean shutdown complete, journal seq 32 [ 325.729210][ T6668] bcachefs (loop2): marking filesystem clean [ 325.799400][ T9960] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 325.799460][ T9960] allowing incompatible features above 0.0: (unknown version) [ 325.799496][ T9960] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 325.799548][ T9960] bcachefs (loop4): Using encoding defined by superblock: utf8-12.1.0 [ 325.799637][ T9960] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 325.799769][ T9960] bcachefs (loop4): Version upgrade required: [ 325.799769][ T9960] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 325.799769][ T9960] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 325.799769][ T9960] 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 [ 325.823095][ T9960] bcachefs (loop4): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 325.823115][ T9960] gen 0 oldest_gen 0 data_type btree [ 325.823150][ T9960] journal_seq_nonempty 6 [ 325.823159][ T9960] journal_seq_empty 0 [ 325.823169][ T9960] need_discard 1 [ 325.823178][ T9960] need_inc_gen 1 [ 325.823187][ T9960] dirty_sectors 0 [ 325.823196][ T9960] stripe_sectors 1769482 [ 325.823206][ T9960] cached_sectors 0 [ 325.823215][ T9960] stripe 0 [ 325.823224][ T9960] stripe_redundancy 0 [ 325.823233][ T9960] io_time[READ] 1 [ 325.823242][ T9960] io_time[WRITE] 768 [ 325.823251][ T9960] fragmentation 0 [ 325.823260][ T9960] bp_start 7 [ 325.823269][ T9960] [ 325.823277][ T9960] invalid data type (got 3 should be 9), deleting [ 325.828075][ T9964] loop6: detected capacity change from 0 to 32768 [ 325.857046][ T6668] bcachefs (loop2): shutdown complete [ 325.873990][ T7094] bcachefs (loop5): shutdown complete [ 325.874771][ T9960] bcachefs (loop4): accounting_read... done [ 325.925166][ T9960] bcachefs (loop4): alloc_read... done [ 325.925833][ T9960] bcachefs (loop4): snapshots_read... done [ 325.928901][ T9960] bcachefs (loop4): check_allocations... [ 325.933840][ T9960] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 325.933886][ T9960] 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 [ 325.949569][ T9960] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 325.949614][ T9960] 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 [ 325.950494][ T9960] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 325.950510][ T9960] 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 [ 325.954005][ T9960] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 325.954022][ T9960] 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 [ 325.954977][ T9960] bcachefs (loop4): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 325.954992][ T9960] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 325.974380][ T9960] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 325.974398][ T9960] 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 [ 325.974980][ T9960] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 325.975059][ T9960] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 325.975345][ T9960] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 325.975412][ T9960] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 325.975617][ T9960] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 325.975686][ T9960] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 325.975794][ T9960] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 325.975854][ T9960] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 325.975960][ T9960] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 325.984851][ T9960] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 325.984990][ T9960] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 325.985057][ T9960] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 325.985196][ T9960] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 325.985264][ T9960] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 325.985366][ T9960] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 325.985432][ T9960] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 325.985544][ T9960] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 325.985608][ T9960] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 325.985711][ T9960] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 325.985773][ T9960] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 325.985885][ T9960] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 325.985897][ T9960] Ratelimiting new instances of previous error [ 325.987912][ T9960] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 325.987929][ T9960] Ratelimiting new instances of previous error [ 326.071707][ T9960] done [ 326.077039][ T9960] bcachefs (loop4): going read-write [ 326.082712][ T9964] bcachefs (loop6): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 326.091467][ T9964] allowing incompatible features above 0.0: (unknown version) [ 326.091508][ T9964] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 326.091565][ T9964] bcachefs (loop6): Using encoding defined by superblock: utf8-12.1.0 [ 326.091662][ T9964] bcachefs (loop6): recovering from clean shutdown, journal seq 10 [ 326.092277][ T9964] bcachefs (loop6): Version upgrade required: [ 326.092277][ T9964] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 326.092277][ T9964] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 326.092277][ T9964] 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 [ 326.168245][ T9964] bcachefs (loop6): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 326.168291][ T9964] gen 0 oldest_gen 0 data_type btree [ 326.168317][ T9964] journal_seq_nonempty 6 [ 326.168333][ T9964] journal_seq_empty 0 [ 326.168347][ T9964] need_discard 1 [ 326.168362][ T9964] need_inc_gen 1 [ 326.168376][ T9964] dirty_sectors 0 [ 326.168390][ T9964] stripe_sectors 1769482 [ 326.168405][ T9964] cached_sectors 0 [ 326.168419][ T9964] stripe 0 [ 326.168434][ T9964] stripe_redundancy 0 [ 326.168448][ T9964] io_time[READ] 1 [ 326.168462][ T9964] io_time[WRITE] 768 [ 326.168477][ T9964] fragmentation 0 [ 326.168491][ T9964] bp_start 7 [ 326.168505][ T9964] [ 326.168519][ T9964] invalid data type (got 3 should be 9), deleting [ 326.182723][ T9960] bcachefs (loop4): journal_replay... [ 326.197962][ T9964] bcachefs (loop6): accounting_read... done [ 326.334547][ T9964] bcachefs (loop6): alloc_read... done [ 326.335280][ T9964] bcachefs (loop6): snapshots_read... done [ 326.338517][ T9964] bcachefs (loop6): check_allocations... [ 326.356384][ T9964] bcachefs (loop6): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 326.356430][ T9964] 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 [ 326.358573][ T9960] done [ 326.359041][ T9960] bcachefs (loop4): check_alloc_info... [ 326.361983][ T9964] bcachefs (loop6): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 326.362000][ T9964] 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 [ 326.367792][ T9964] bcachefs (loop6): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 326.367808][ T9964] 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 [ 326.368774][ T9964] bcachefs (loop6): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 326.368789][ T9964] 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 [ 326.369689][ T9964] bcachefs (loop6): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 326.369704][ T9964] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 326.370807][ T9964] bcachefs (loop6): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 326.370824][ T9964] 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 [ 326.371486][ T9964] bcachefs (loop6): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 326.371571][ T9964] bcachefs (loop6): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 326.371828][ T9964] bcachefs (loop6): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 326.371892][ T9964] bcachefs (loop6): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 326.372087][ T9964] bcachefs (loop6): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 326.372175][ T9964] bcachefs (loop6): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 326.372283][ T9964] bcachefs (loop6): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 326.372354][ T9964] bcachefs (loop6): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 326.372465][ T9964] bcachefs (loop6): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 326.372526][ T9964] bcachefs (loop6): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 326.372628][ T9964] bcachefs (loop6): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 326.372698][ T9964] bcachefs (loop6): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 326.377831][ T9964] bcachefs (loop6): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 326.377902][ T9964] bcachefs (loop6): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 326.378016][ T9964] bcachefs (loop6): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 326.378087][ T9964] bcachefs (loop6): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 326.378214][ T9964] bcachefs (loop6): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 326.378274][ T9964] bcachefs (loop6): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 326.378374][ T9964] bcachefs (loop6): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 326.378446][ T9964] bcachefs (loop6): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 326.378570][ T9964] bcachefs (loop6): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 326.378582][ T9964] Ratelimiting new instances of previous error [ 326.378663][ T9964] bcachefs (loop6): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 326.378675][ T9964] Ratelimiting new instances of previous error [ 326.396535][ T9960] done [ 326.396567][ T9960] bcachefs (loop4): check_lrus... done [ 326.407331][ T9960] bcachefs (loop4): check_btree_backpointers... done [ 326.415625][ T9960] bcachefs (loop4): check_backpointers_to_extents... done [ 326.445148][ T9960] bcachefs (loop4): check_extents_to_backpointers... [ 326.445811][ T9960] bcachefs (loop4): scanning for missing backpointers in 5/128 buckets [ 326.453831][ T9964] done [ 326.459404][ T9960] done [ 326.464335][ T9960] bcachefs (loop4): check_alloc_to_lru_refs... done [ 326.470104][ T9960] bcachefs (loop4): bucket_gens_init... [ 326.474003][ T9964] bcachefs (loop6): going read-write [ 326.526609][ T9960] done [ 326.528383][ T9964] bcachefs (loop6): journal_replay... [ 326.537940][ T3 ** replaying previous printk message ** [ 326.537940][ T32] INFO: task syz.1.22:6793 blocked for more than 143 seconds. [ 326.538034][ T32] Not tainted 6.16.0-rc6-syzkaller-gaaef6f251176 #0 [ 326.538055][ T32] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 326.538074][ T32] task:syz.1.22 state:D stack:0 pid:6793 tgid:6793 ppid:6662 task_flags:0x400140 flags:0x00000019 [ 326.538111][ T32] Call trace: [ 326.538144][ T32] __switch_to+0x414/0x834 (T) [ 326.538175][ T32] __schedule+0x1414/0x2a28 [ 326.538200][ T32] schedule+0xb4/0x230 [ 326.538225][ T32] schedule_timeout+0xac/0x270 [ 326.538249][ T32] ___down_common+0x23c/0x374 [ 326.538272][ T32] __down_common+0xc0/0x3a4 [ 326.538294][ T32] __down+0x18/0x24 [ 326.538319][ T32] down+0x94/0xe8 [ 326.538344][ T32] bch2_run_recovery_passes+0x164/0x1f4 [ 326.538372][ T32] bch2_fs_recovery+0x1df4/0x2fb4 [ 326.538398][ T32] bch2_fs_start+0x940/0xbec [ 326.538421][ T32] bch2_fs_get_tree+0x880/0x107c [ 326.538446][ T32] vfs_get_tree+0x90/0x28c [ 326.538471][ T32] do_new_mount+0x228/0x814 [ 326.538495][ T32] path_mount+0x5b4/0xde0 [ 326.538517][ T32] __arm64_sys_mount+0x3e8/0x468 [ 326.538541][ T32] invoke_syscall+0x98/0x2b8 [ 326.538565][ T32] el0_svc_common+0x130/0x23c [ 326.538588][ T32] do_el0_svc+0x48/0x58 [ 326.538610][ T32] el0_svc+0x58/0x180 [ 326.538633][ T32] el0t_64_sync_handler+0x84/0x12c [ 326.538656][ T32] el0t_64_sync+0x198/0x19c [ 326.538712][ T32] [ 326.538712][ T32] Showing all locks held in the system: [ 326.538731][ T32] 2 locks held by kworker/u8:0/12: [ 326.538752][ T32] 1 lock held by khungtaskd/32: [ 326.538770][ T32] #0: ffff80008f869980 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 [ 326.538843][ T32] 5 locks held by kworker/u8:2/41: [ 326.538861][ T32] #0: ffff0000dafdd148 ((wq_completion)btree_update#272){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c [ 326.538943][ T32] #1: ffff8000990f7bc0 ((work_completion)(&c->btree_interior_update_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c [ 326.539015][ T32] #2: ffff00010b404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 [ 326.539084][ T32] #3: ffff0001078f01b0 (bcachefs_btree){+.+.}-{0:0}, at: trans_set_locked+0x68/0x200 [ 326.539161][ T32] #4: ffff00010b400920 (&c->sb_lock){+.+.}-{4:4}, at: btree_interior_update_work+0x2e8/0x1d28 [ 326.539232][ T32] 2 locks held by pr/ttyAMA0/43: [ 326.539255][ T32] 2 locks held by kworker/u8:6/352: [ 326.539274][ T32] #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c [ 326.539346][ T32] #1: ffff80009bed7bc0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c [ 326.539422][ T32] 2 locks held by kworker/u8:8/4125: [ 326.539441][ T32] 5 locks held by kworker/u8:9/4137: [ 326.539460][ T32] #0: ffff0000fbc4b948 ((wq_completion)btree_update#271){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c [ 326.539541][ T32] #1: ffff8000a0197bc0 ((work_completion)(&c->btree_interior_update_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c [ 326.539613][ T32] #2: ffff00010d304398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 [ 326.539682][ T32] #3: ffff000104da81b0 (bcachefs_btree){+.+.}-{0:0}, at: trans_set_locked+0x68/0x200 [ 326.539750][ T32] #4: ffff00010d300920 (&c->sb_lock){+.+.}-{4:4}, at: btree_interior_update_work+0x2e8/0x1d28 [ 326.539821][ T32] 2 locks held by getty/6289: [ 326.539840][ T32] #0: ffff0000c19cc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c [ 326.539908][ T32] #1: ffff80009ba3e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 [ 326.539982][ T32] 3 locks held by kworker/1:3/6710: [ 326.540009][ T32] 2 locks held by syz.0.299/9979: [ 326.540028][ T32] 3 locks held by syz.5.300/9983: [ 326.540047][ T32] [ 326.540063][ T32] ============================================= [ 326.540063][ T32] [ 326.540081][ T32] Kernel panic - not syncing: hung_task: blocked tasks [ 326.644980][ T32] CPU: 1 UID: 0 PID: 32 Comm: khungtaskd Not tainted 6.16.0-rc6-syzkaller-gaaef6f251176 #0 PREEMPT [ 326.647938][ T32] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 326.650864][ T32] Call trace: [ 326.651765][ T32] show_stack+0x2c/0x3c (C) [ 326.652992][ T32] __dump_stack+0x30/0x40 [ 326.654163][ T32] dump_stack_lvl+0x30/0x12c [ 326.655431][ T32] dump_stack+0x1c/0x28 [ 326.656600][ T32] panic+0x2bc/0x7ac [ 326.657726][ T32] hung_task_panic+0x0/0x2c [ 326.659042][ T32] kthread+0x5fc/0x75c [ 326.660165][ T32] ret_from_fork+0x10/0x20 [ 326.661391][ T32] SMP: stopping secondary CPUs [ 327.723668][ T32] SMP: failed to stop secondary CPUs 0 [ 327.725273][ T32] Kernel Offset: disabled [ 327.726468][ T32] CPU features: 0x10000,00040e00,040008a1,04017203 [ 327.728310][ T32] Memory Limit: none [ 328.487595][ T32] Rebooting in 86400 seconds..