__jbd2_log_wait_for_space: needed 5461 blocks and only had 1246 space available __jbd2_log_wait_for_space: no way to get more journal space in loop6-75 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7620 at fs/jbd2/checkpoint.c:115 __jbd2_log_wait_for_space+0x400/0x5cc fs/jbd2/checkpoint.c:116 Modules linked in: CPU: 1 UID: 0 PID: 7620 Comm: syz.6.174 Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __jbd2_log_wait_for_space+0x400/0x5cc fs/jbd2/checkpoint.c:116 lr : __jbd2_log_wait_for_space+0x3f8/0x5cc fs/jbd2/checkpoint.c:112 sp : ffff80009eb863c0 x29: ffff80009eb864c0 x28: 0000000000000000 x27: dfff800000000000 x26: ffff0000f082c0b0 x25: ffff0000f082c190 x24: 0000000000000000 x23: ffff0000f082c690 x22: 0000000000001555 x21: ffff80008ef538c1 x20: 00000000000004de x19: ffff0000f082c000 x18: 1fffe00036700a7e x17: ffff80008f99d000 x16: ffff800083275834 x15: 0000000000000001 x14: 1fffe00036700aea x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000005af7 x9 : 8a0b97e859621100 x8 : 8a0b97e859621100 x7 : ffff8000803cf9cc x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80008073f2fc x2 : 0000000000000001 x1 : 00000000fffffffb x0 : ffff0000f082c000 Call trace: __jbd2_log_wait_for_space+0x400/0x5cc fs/jbd2/checkpoint.c:116 (P) add_transaction_credits+0x868/0xbec fs/jbd2/transaction.c:283 start_this_handle+0x574/0x11c4 fs/jbd2/transaction.c:407 jbd2__journal_start+0x298/0x544 fs/jbd2/transaction.c:505 jbd2_journal_start+0x3c/0x4c fs/jbd2/transaction.c:544 ocfs2_start_trans+0x3d0/0x71c fs/ocfs2/journal.c:352 ocfs2_block_group_alloc fs/ocfs2/suballoc.c:685 [inline] ocfs2_reserve_suballoc_bits+0x840/0x4254 fs/ocfs2/suballoc.c:832 ocfs2_reserve_new_metadata_blocks+0x384/0x848 fs/ocfs2/suballoc.c:982 ocfs2_mknod+0xdc8/0x2438 fs/ocfs2/namei.c:347 ocfs2_create+0x194/0x4d4 fs/ocfs2/namei.c:674 lookup_open fs/namei.c:3649 [inline] open_last_lookups fs/namei.c:3748 [inline] path_openat+0x13e4/0x2b14 fs/namei.c:3984 do_filp_open+0x330/0x404 fs/namei.c:4016 do_sys_openat2+0x124/0x1b8 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1428 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 64374 hardirqs last enabled at (64373): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1535 [inline] hardirqs last enabled at (64373): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5123 hardirqs last disabled at (64374): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (64352): [] softirq_handle_end kernel/softirq.c:407 [inline] softirqs last enabled at (64352): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:589 softirqs last disabled at (64323): [] __do_softirq+0x14/0x20 kernel/softirq.c:595 ---[ end trace 0000000000000000 ]--- Aborting journal on device loop6-75. (syz.6.174,7620,1):ocfs2_start_trans:357 ERROR: status = -30 OCFS2: abort (device loop6): handle_t *ocfs2_start_trans(struct ocfs2_super *, int): Detected aborted journal On-disk corruption discovered. Please run fsck.ocfs2 once the filesystem is unmounted. OCFS2: File system is now read-only. (syz.6.174,7620,1):ocfs2_block_group_alloc:689 ERROR: status = -30 (syz.6.174,7620,1):ocfs2_block_group_alloc:762 ERROR: status = -30 (syz.6.174,7620,1):ocfs2_reserve_suballoc_bits:837 ERROR: status = -30 (syz.6.174,7620,1):ocfs2_reserve_suballoc_bits:854 ERROR: status = -30 (syz.6.174,7620,1):ocfs2_reserve_new_metadata_blocks:994 ERROR: status = -30 (syz.6.174,7620,1):ocfs2_reserve_new_metadata_blocks:1017 ERROR: status = -30 (syz.6.174,7620,1):ocfs2_mknod:350 ERROR: status = -30 (syz.6.174,7620,1):ocfs2_mknod:502 ERROR: status = -30 (syz.6.174,7620,1):ocfs2_create:676 ERROR: status = -30