bi_promote_target=0 bi_foreground_target=0 bi_background_target=0 bi_erasure_code=30720 bi_fields_set=0 bi_dir=2 bi_dir_offset=6600455862828409806 bi_subvol=0 bi_parent_subvol=0 bi_nocow=0, fixing inode points to missing dirent inum: 536870914:4294967295 mode=120777 flags=(15300000) journal_seq=4 hash_seed=a4bdae8ef0db2076 hash_type=siphash bi_size=39 bi_sectors=8 bi_version=0 bi_atime=2720995041 bi_ctime=2740995251 bi_mtime=2720995041 bi_otime=2720995041 bi_uid=0 bi_gid=0 bi_nlink=0 bi_generation=0 bi_dev=0 bi_data_checksum=0 bi_compression=0 bi_project=0 bi_background_compression=0 bi_data_replicas=0 bi_promote_target=0 bi_foreground_target=0 bi_background_target=0 bi_erasure_code=30720 bi_fields_set=0 bi_dir=2 bi_dir_offset=6600455862828409806 bi_subvol=0 bi_parent_subvol=0 bi_nocow=0, fixing done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): done starting filesystem ------------[ cut here ]------------ requested to flush journal seq 36028797018963972, but currently at 27 WARNING: CPU: 0 PID: 5332 at fs/bcachefs/journal.c:685 bch2_journal_flush_seq_async+0x7c2/0x830 fs/bcachefs/journal.c:683 Modules linked in: CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-10553-gb86545e02e8c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:bch2_journal_flush_seq_async+0x7c2/0x830 fs/bcachefs/journal.c:683 Code: df 48 8b 44 24 38 42 80 3c 38 00 74 08 48 89 df e8 c3 78 bf fd 48 8b 13 48 c7 c7 20 51 54 8c 48 8b 74 24 18 e8 af 36 15 fd 90 <0f> 0b 90 90 31 db e9 5c ff ff ff 89 f9 80 e1 07 38 c1 0f 8c ae fd RSP: 0018:ffffc9000d4d7a80 EFLAGS: 00010246 RAX: 2e81f49430ba8500 RBX: ffff8880544cab38 RCX: 0000000000100000 RDX: ffffc9000e61a000 RSI: 0000000000000e0c RDI: 0000000000000e0d RBP: ffffc9000d4d7b70 R08: ffffffff81568c22 R09: 1ffff11003f8519a R10: dffffc0000000000 R11: ffffed1003f8519b R12: 1ffff92001a9af5c R13: ffff8880544cab48 R14: 000000000000001b R15: dffffc0000000000 FS: 00007f25daefa6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 0000000045a06000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_journal_flush_seq+0xe5/0x2b0 fs/bcachefs/journal.c:772 bch2_flush_inode+0x28d/0x420 fs/bcachefs/fs-io.c:185 bch2_fsync+0x183/0x360 fs/bcachefs/fs-io.c:205 vfs_fsync_range fs/sync.c:187 [inline] vfs_fsync fs/sync.c:201 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fdatasync fs/sync.c:222 [inline] __se_sys_fdatasync fs/sync.c:220 [inline] __x64_sys_fdatasync+0xb6/0x110 fs/sync.c:220 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f25da180809 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f25daefa058 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007f25da345fa0 RCX: 00007f25da180809 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f25da1f393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f25da345fa0 R15: 00007ffe8ef10288