./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2465125625

<...>
Warning: Permanently added '10.128.0.20' (ED25519) to the list of known hosts.
execve("./syz-executor2465125625", ["./syz-executor2465125625"], 0x7ffe2e243fe0 /* 10 vars */) = 0
brk(NULL)                               = 0x555580cde000
brk(0x555580cded00)                     = 0x555580cded00
arch_prctl(ARCH_SET_FS, 0x555580cde380) = 0
set_tid_address(0x555580cde650)         = 5828
set_robust_list(0x555580cde660, 24)     = 0
rseq(0x555580cdeca0, 0x20, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlink("/proc/self/exe", "/root/syz-executor2465125625", 4096) = 28
getrandom("\xc7\x3b\x0f\xab\xb8\x4c\x8b\x59", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x555580cded00
brk(0x555580cffd00)                     = 0x555580cffd00
brk(0x555580d00000)                     = 0x555580d00000
mprotect(0x7f8dd08bc000, 16384, PROT_READ) = 0
mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000
mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000
mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000
executing program
write(1, "executing program\n", 18)     = 18
memfd_create("syzkaller", 0)            = 3
mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8dc8200000
write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216
munmap(0x7f8dc8200000, 138412032)       = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR)  = 4
ioctl(4, LOOP_SET_FD, 3)                = 0
close(3)                                = 0
close(4)                                = 0
mkdir("./file1", 0777)                  = 0
syzkaller login: [   82.833122][ T5828] loop0: detected capacity change from 0 to 32768
[   82.930767][ T5828] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,noinodes_use_key_cache,gc_reserve_bytes=6.00 EiB,nojournal_transaction_names
[   82.950659][ T5828] bcachefs (loop0): recovering from clean shutdown, journal seq 10
[   82.958940][ T5828] bcachefs (loop0): Version upgrade required:
[   82.958940][ T5828] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete
[   82.958940][ T5828] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags
[   82.958940][ T5828]   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,set_fs_needs_rebalance
[   83.038717][ T5828] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0
[   83.038736][ T5828]   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
[   83.038744][ T5828]   node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing
[   83.079918][ T5828] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error
[   83.079918][ T5828]   btree=alloc level=0 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
[   83.108008][ T5828] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:321
[   83.118676][ T5828] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5828, name: syz-executor246
[   83.128211][ T5828] preempt_count: 0, expected: 0
[   83.133224][ T5828] RCU nest depth: 1, expected: 0
[   83.138276][ T5828] 3 locks held by syz-executor246/5828:
[   83.144219][ T5828]  #0: ffff88807ad6a0e0 (&type->s_umount_key#42/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0
[   83.154482][ T5828]  #1: ffff888075a84210 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7ed/0xd40
[   83.165109][ T5828]  #2: ffffffff8ed3b560 (rcu_read_lock){....}-{1:3}, at: bch2_bkey_pick_read_device+0x29c/0x19b0
[   83.175813][ T5828] CPU: 0 UID: 0 PID: 5828 Comm: syz-executor246 Not tainted 6.14.0-syzkaller-11270-g08733088b566 #0 PREEMPT(full) 
[   83.175837][ T5828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
[   83.175847][ T5828] Call Trace:
[   83.175854][ T5828]  <TASK>
[   83.175860][ T5828]  dump_stack_lvl+0x241/0x360
[   83.175891][ T5828]  ? __pfx_dump_stack_lvl+0x10/0x10
[   83.175932][ T5828]  __might_resched+0x558/0x6c0
[   83.175956][ T5828]  ? rht_lock+0xed/0x270
[   83.175974][ T5828]  ? __pfx___might_resched+0x10/0x10
[   83.176003][ T5828]  ? __kmalloc_node_track_caller_noprof+0xba/0x4d0
[   83.176033][ T5828]  __kmalloc_node_track_caller_noprof+0xd3/0x4d0
[   83.176058][ T5828]  ? bch2_printbuf_make_room+0x1f1/0x350
[   83.176080][ T5828]  ? bch2_printbuf_make_room+0x1f1/0x350
[   83.176102][ T5828]  krealloc_noprof+0x10f/0x300
[   83.176135][ T5828]  bch2_printbuf_make_room+0x1f1/0x350
[   83.176165][ T5828]  bch2_prt_printf+0x269/0x6d0
[   83.176193][ T5828]  ? bch2_printbuf_indent_add_nextline+0x46/0xe0
[   83.176216][ T5828]  ? __pfx_bch2_prt_printf+0x10/0x10
[   83.176249][ T5828]  ? bch2_printbuf_indent_add_nextline+0x50/0xe0
[   83.176275][ T5828]  bch2_fs_inconsistent+0x143/0x220
[   83.176302][ T5828]  ? bch2_dev_missing+0x1d/0x50
[   83.176325][ T5828]  ? bch2_bkey_pick_read_device+0x5cd/0x19b0
[   83.176348][ T5828]  ? __pfx_bch2_fs_inconsistent+0x10/0x10
[   83.176387][ T5828]  ? bch2_bkey_pick_read_device+0x460/0x19b0
[   83.176417][ T5828]  bch2_bkey_pick_read_device+0x95e/0x19b0
[   83.176452][ T5828]  ? bch2_bkey_pick_read_device+0x29c/0x19b0
[   83.176496][ T5828]  ? __pfx_bch2_bkey_pick_read_device+0x10/0x10
[   83.176547][ T5828]  bch2_btree_node_read+0x7ac/0x29e0
[   83.176582][ T5828]  ? bch2_btree_node_hash_insert+0x88/0xc0
[   83.176615][ T5828]  ? __mutex_unlock_slowpath+0x229/0x800
[   83.176660][ T5828]  ? __pfx_bch2_btree_node_read+0x10/0x10
[   83.176692][ T5828]  ? bch2_trans_unlock+0x36a/0x490
[   83.176715][ T5828]  ? bch2_trans_unlock+0x3c1/0x490
[   83.176742][ T5828]  bch2_btree_root_read+0x656/0x7e0
[   83.176772][ T5828]  ? __pfx_bch2_btree_root_read+0x10/0x10
[   83.176820][ T5828]  ? bch2_current_has_btree_trans+0x142/0x180
[   83.176846][ T5828]  read_btree_roots+0x3d7/0xa80
[   83.176884][ T5828]  ? __pfx_read_btree_roots+0x10/0x10
[   83.176900][ T5828]  ? journal_replay_entry_early+0x4d/0xba0
[   83.176930][ T5828]  ? bch2_sb_upgrade+0x1cf/0x250
[   83.176949][ T5828]  ? bch2_recovery_passes_from_stable+0x104/0x120
[   83.176972][ T5828]  bch2_fs_recovery+0x28e4/0x3e20
[   83.177010][ T5828]  ? __pfx_bch2_fs_recovery+0x10/0x10
[   83.177044][ T5828]  ? __lock_acquire+0xad5/0xd80
[   83.177068][ T5828]  ? __lock_acquire+0xad5/0xd80
[   83.177090][ T5828]  ? __lock_acquire+0xad5/0xd80
[   83.177134][ T5828]  ? bch2_fs_start+0x269/0x610
[   83.177165][ T5828]  ? up_write+0x1ab/0x590
[   83.177194][ T5828]  ? __pfx_up_write+0x10/0x10
[   83.177216][ T5828]  ? llist_reverse_order+0x72/0x90
[   83.177245][ T5828]  bch2_fs_start+0x2fb/0x610
[   83.177280][ T5828]  bch2_fs_get_tree+0x113e/0x18f0
[   83.177339][ T5828]  ? __pfx_bch2_fs_get_tree+0x10/0x10
[   83.177358][ T5828]  ? smack_fs_context_parse_param+0x10e/0x180
[   83.177411][ T5828]  ? vfs_parse_monolithic_sep+0x427/0x460
[   83.177443][ T5828]  ? __pfx_vfs_parse_comma_sep+0x10/0x10
[   83.177472][ T5828]  ? rcu_is_watching+0x15/0xb0
[   83.177494][ T5828]  ? cap_capable+0x139/0x450
[   83.177522][ T5828]  ? safesetid_security_capable+0xb2/0x1d0
[   83.177556][ T5828]  vfs_get_tree+0x90/0x2b0
[   83.177581][ T5828]  do_new_mount+0x2cf/0xb70
[   83.177613][ T5828]  ? __pfx_do_new_mount+0x10/0x10
[   83.177651][ T5828]  __se_sys_mount+0x38c/0x400
[   83.177685][ T5828]  ? __pfx___se_sys_mount+0x10/0x10
[   83.177718][ T5828]  ? __x64_sys_mount+0x20/0xc0
[   83.177745][ T5828]  do_syscall_64+0xf3/0x230
[   83.177767][ T5828]  ? clear_bhb_loop+0x45/0xa0
[   83.177801][ T5828]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   83.177820][ T5828] RIP: 0033:0x7f8dd0844c3a
[   83.177838][ T5828] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[   83.177852][ T5828] RSP: 002b:00007ffc3c4a4f58 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
[   83.177872][ T5828] RAX: ffffffffffffffda RBX: 00007ffc3c4a4f70 RCX: 00007f8dd0844c3a
[   83.177886][ T5828] RDX: 0000200000000000 RSI: 0000200000000100 RDI: 00007ffc3c4a4f70
[   83.177898][ T5828] RBP: 0000200000000100 R08: 00007ffc3c4a4fb0 R09: 000000000000596a
[   83.177910][ T5828] R10: 0000000000800800 R11: 0000000000000282 R12: 0000200000000000
[   83.177922][ T5828] R13: 00007ffc3c4a4fb0 R14: 0000000000000003 R15: 0000000000800800
[   83.177955][ T5828]  </TASK>
[   83.179197][ T5828] bcachefs (loop0): pointer to nonexistent device 8
[   83.179218][ T5828]   inconsistency detected - emergency read only at journal seq 10
[   83.179229][ T5828]   
[   83.643766][ T5828] bcachefs (loop0): btree node read error: no device to read from
[   83.643766][ T5828]  at backpointers level 0/0
[   83.643766][ T5828] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4a8b0fa43a9980a6 written 24 min_key POS_MIN durability: 0 ptr: 8:9472 gen 0
[   83.670461][ T5828] bcachefs (loop0): flagging btree backpointers lost data
[   83.677866][ T5828] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0)
[   83.692162][ T5828] bcachefs (loop0): error reading btree root btree=backpointers level=0: btree_node_read_error, fixing
[   83.705858][ T5828] bcachefs (loop0): check_topology... done
[   83.711887][ T5828] bcachefs (loop0): accounting_read... done
[   83.718668][ T5828] bcachefs (loop0): alloc_read... done
[   83.724389][ T5828] bcachefs (loop0): snapshots_read... done
[   83.730682][ T5828] bcachefs (loop0): check_allocations...
[   83.734147][ T5828] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree
[   83.734166][ T5828]   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
[   83.766783][ T5828] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree
[   83.766798][ T5828]   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
[   83.793864][ T5828] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree
[   83.793880][ T5828]   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
[   83.820966][ T5828] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree
[   83.820981][ T5828]   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
[   83.849021][ T5828] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree
[   83.849037][ T5828]   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
[   83.874705][ T5828] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing
[   83.885484][ T5828] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   83.897516][ T5828] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing
[   83.907676][ T5828] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   83.919189][ T5828] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing
[   83.929181][ T5828] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   83.940561][ T5828] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing
[   83.950605][ T5828] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   83.962098][ T5828] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing
[   83.972065][ T5828] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   83.983575][ T5828] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing
[   83.993881][ T5828] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.005213][ T5828] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.015321][ T5828] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.026805][ T5828] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.036854][ T5828] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing
[   84.048667][ T5828] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing
[   84.059331][ T5828] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing
[   84.071080][ T5828] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing
[   84.081627][ T5828] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing
[   84.093668][ T5828] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing
[   84.104429][ T5828] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing
[   84.116617][ T5828] bcachefs (loop0): bucket 0:12 gen 0 has wrong data_type: got free, should be journal, fixing
[   84.127084][ T5828] bcachefs (loop0): bucket 0:12 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing
[   84.139453][ T5828] bcachefs (loop0): bucket 0:13 gen 0 has wrong data_type: got free, should be journal, fixing
[   84.150184][ T5828] bcachefs (loop0): bucket 0:13 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing
[   84.162309][ T5828] bcachefs (loop0): bucket 0:14 gen 0 has wrong data_type: got free, should be journal, fixing
[   84.172780][ T5828] bcachefs (loop0): bucket 0:14 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing
[   84.184642][ T5828] bcachefs (loop0): bucket 0:15 gen 0 has wrong data_type: got free, should be journal, fixing
[   84.195186][ T5828] bcachefs (loop0): bucket 0:15 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing
[   84.207194][ T5828] bcachefs (loop0): bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.217225][ T5828] bcachefs (loop0): bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.228867][ T5828] bcachefs (loop0): bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.238921][ T5828] bcachefs (loop0): bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.250562][ T5828] bcachefs (loop0): bucket 0:18 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.260608][ T5828] bcachefs (loop0): bucket 0:18 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.272131][ T5828] bcachefs (loop0): bucket 0:19 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.282350][ T5828] bcachefs (loop0): bucket 0:19 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.293855][ T5828] bcachefs (loop0): bucket 0:20 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.304037][ T5828] bcachefs (loop0): bucket 0:20 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.315452][ T5828] bcachefs (loop0): bucket 0:21 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.325556][ T5828] bcachefs (loop0): bucket 0:21 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.337059][ T5828] bcachefs (loop0): bucket 0:22 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.347267][ T5828] bcachefs (loop0): bucket 0:22 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.358858][ T5828] bcachefs (loop0): bucket 0:23 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.369030][ T5828] bcachefs (loop0): bucket 0:23 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.380516][ T5828] bcachefs (loop0): bucket 0:24 gen 0 has wrong data_type: got free, should be journal, fixing
[   84.390999][ T5828] bcachefs (loop0): bucket 0:24 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing
[   84.402994][ T5828] bcachefs (loop0): bucket 0:26 gen 0 has wrong data_type: got free, should be btree, fixing
[   84.413584][ T5828] bcachefs (loop0): bucket 0:26 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing
[   84.425600][ T5828] bcachefs (loop0): bucket 0:29 gen 0 has wrong data_type: got free, should be btree, fixing
[   84.436456][ T5828] bcachefs (loop0): bucket 0:29 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing
[   84.448414][ T5828] bcachefs (loop0): bucket 0:32 gen 0 has wrong data_type: got sb, should be btree, fixing
[   84.458963][ T5828] bcachefs (loop0): bucket 0:35 gen 0 has wrong data_type: got free, should be btree, fixing
[   84.469379][ T5828] bcachefs (loop0): bucket 0:35 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing
[   84.482240][ T5828] bcachefs (loop0): bucket 0:37 gen 0 has wrong data_type: got btree, should be need_discard, fixing
[   84.493422][ T5828] bcachefs (loop0): bucket 0:37 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing
[   84.505836][ T5828] bcachefs (loop0): bucket 0:38 gen 0 has wrong data_type: got free, should be btree, fixing
[   84.516248][ T5828] bcachefs (loop0): bucket 0:38 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing
[   84.528217][ T5828] bcachefs (loop0): bucket 0:41 gen 0 has wrong data_type: got free, should be btree, fixing
[   84.538619][ T5828] bcachefs (loop0): bucket 0:41 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing
[   84.551625][ T5828] bcachefs (loop0): bucket 0:120 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.561829][ T5828] bcachefs (loop0): bucket 0:120 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.573369][ T5828] bcachefs (loop0): bucket 0:121 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.583495][ T5828] bcachefs (loop0): bucket 0:121 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.595115][ T5828] bcachefs (loop0): bucket 0:122 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.605262][ T5828] bcachefs (loop0): bucket 0:122 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.616833][ T5828] bcachefs (loop0): bucket 0:123 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.627009][ T5828] bcachefs (loop0): bucket 0:123 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.638656][ T5828] bcachefs (loop0): bucket 0:124 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.648794][ T5828] bcachefs (loop0): bucket 0:124 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.660499][ T5828] bcachefs (loop0): bucket 0:125 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.670861][ T5828] bcachefs (loop0): bucket 0:125 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.682666][ T5828] bcachefs (loop0): bucket 0:126 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.693747][ T5828] bcachefs (loop0): bucket 0:126 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.705351][ T5828] bcachefs (loop0): bucket 0:127 gen 0 has wrong data_type: got free, should be sb, fixing
[   84.715813][ T5828] bcachefs (loop0): bucket 0:127 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing
[   84.728292][ T5828]  done
[   84.731619][ T5828] bcachefs (loop0): going read-write
[   84.740398][ T5828] bcachefs (loop0): journal_replay...
[   84.740629][ T5828] bcachefs (loop0): bch2_journal_replay(): error journal_shutdown
[   84.754664][  T975] bcachefs (loop0): going read-only
[   84.759950][  T975] bcachefs (loop0): finished waiting for writes to stop
[   84.767941][ T5828] bcachefs (loop0): bch2_fs_recovery(): error journal_shutdown
[   84.775814][  T975] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10
[   84.782110][ T5828] bcachefs (loop0): bch2_fs_start(): error starting filesystem journal_shutdown
[   84.784752][  T975] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10
[   84.794197][ T5828] bcachefs (loop0): shutting down
[   84.809021][  T975] bcachefs (loop0): unclean shutdown complete, journal seq 10
[   84.817083][  T975] bcachefs (loop0): done going read-only, filesystem not clean
[   84.837691][ T5828] bcachefs (loop0): shutdown complete
mount("/dev/loop0", "./file1", "bcachefs", MS_NODIRATIME|MS_I_VERSION, "acl,direct_io,nor") = -1 EIO (Input/output error)
openat(AT_FDCWD, "/dev/loop0", O_RDWR)  = 3
ioctl(3, LOOP_CLR_FD)                   = 0
[   85.753681][ T5828] bcachefs: bch2_fs_get_tree() error: journal_shutdown
close(3)                                = 0
exit_group(0)                           = ?
+++ exited with 0 +++