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

--- Comment #6 from JY (jy...@mediatek.com) ---
(In reply to Chao Yu from comment #5)
> If this is reproducible, could you check whether we're suffer panic in
> f2fs_submit_page_bio()? if it is, could you please have a try w/ below fix:
> 
> diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
> index 82ae31b8ecc4..959614de878f 100644
> --- a/fs/f2fs/data.c
> +++ b/fs/f2fs/data.c
> @@ -716,7 +716,7 @@ int f2fs_submit_page_bio(struct f2fs_io_info *fio)
>                 wbc_account_cgroup_owner(fio->io_wbc, fio_folio, PAGE_SIZE);
>  
>         inc_page_count(fio->sbi, is_read_io(fio->op) ?
> -                       __read_io_type(data_folio) :
> WB_DATA_TYPE(fio->folio, false));
> +                       __read_io_type(data_folio) :
> WB_DATA_TYPE(data_folio, false));
>  
>         if (is_read_io(bio_op(bio)))
>                 f2fs_submit_read_bio(fio->sbi, bio, fio->type);


It's reproducible after maybe one day of stress testing, and it panics in 
inc_page_count(fio->sbi, WB_DATA_TYPE(page, false));

https://github.com/torvalds/linux/blob/b8fcb8423053adaa27723010260aea90474b431a/fs/f2fs/data.c#L917

-- 
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
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to