Re: [f2fs-dev] [Android 5.15] BUG: scheduling while atomic in f2fs_register_inmem_page

2023-12-25 Thread syzbot
syzbot suspects this issue was fixed by commit: commit 76ca4a07659a31cc62977664bcf638d6a24af068 Author: Daeho Jeong Date: Thu Apr 28 18:18:09 2022 + BACKPORT: f2fs: change the current atomic write way bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11287ba5e8 start

[f2fs-dev] [PATCH v2 6/6] f2fs: introduce FAULT_INCONSISTENCE

2023-12-25 Thread Chao Yu
We will encounter below inconsistent status when FAULT_BLKADDR type fault injection is on. Info: checkpoint state = d6 : nat_bits crc fsck compacted_summary orphan_inodes sudden-power-off [ASSERT] (fsck_chk_inode_blk:1254) --> ino: 0x1c100 has i_blocks: 00c0, but has 191 blocks [FIX]

[f2fs-dev] [PATCH V1] f2fs: fix potentail deadloop issue in do_recover_data

2023-12-25 Thread Zhiguo Niu
There is a potentail deadloop issue in the corner case of CONFIG_F2FS_FAULT_INJECTION is enabled and the return value of f2fs_reserve_new_block is error but not -ENOSPC, such as this error case: if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) return -EPERM; besides, the