https://bugzilla.kernel.org/show_bug.cgi?id=220575

--- Comment #14 from JY ([email protected]) ---
(In reply to Chao Yu from comment #12)
> Hi JY,
> 
> I've figured out a reproducer as below:
> 
> 1. mkdir /mnt/f2fs/enc & encrypt /mnt/f2fs/enc
> 
> 2. Run below script in shell #1:
> for ((i=1;i>0;i++)) do xfs_io -f /mnt/f2fs/enc/file \
> -c "pwrite 0 32k" -c "fdatasync"
> 
> 3. Run below script in shell #2:
> for ((i=1;i>0;i++)) do xfs_io -f /mnt/f2fs/enc/file \
> -c "pwrite 0 32k" -c "fdatasync"
> 
> Now, testing below fix.
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/
> ?h=bugfix/syzbot&id=1d024fd4c6fed3767f063db79746bcd2d0be49d1

Hi Chao,

In my kernel version (
https://android.googlesource.com/kernel/common/+/refs/heads/android16-6.12-2025-07/fs/f2fs/data.c#926),
Should I modify:
- inc_page_count(fio->sbi, WB_DATA_TYPE(page, false));
+ inc_page_count(fio->sbi, WB_DATA_TYPE(fio->page, false));
Is that right?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to