[f2fs-dev] [syzbot] [f2fs?] INFO: task hung in f2fs_balance_fs

2023-03-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:0988a0ea7919 Merge tag 'for-v6.3-part2' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1666fbb0c8 kernel config: https://syzkaller.appspot.com/x/.config?x=cab35c936731a347

[f2fs-dev] [PATCH v1] f2fs: Fix system crash due to lack of free space in LFS

2023-03-14 Thread Yonggil Song
When f2fs tries to checkpoint during foreground gc in LFS mode, system crash occurs due to lack of free space if the amount of dirty node and dentry pages generated by data migration exceeds free space. The reproduction sequence is as follows. - 20GiB capacity block device (null_blk) - format