Re: f2fs causes system stall

From: Marc Dietrich
Date: Fri Apr 25 2014 - 08:39:21 EST


On Fri, 25 Apr 2014 08:33:56 +0900
Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx> wrote:

> Thank you very much.
>
> Could you test the following patch?

seems to be fixed now. Thanks!

Marc


> ---
> fs/f2fs/data.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
> index 150c12a..0147de7 100644
> --- a/fs/f2fs/data.c
> +++ b/fs/f2fs/data.c
> @@ -833,6 +833,8 @@ out:
> unlock_page(page);
> if (need_balance_fs)
> f2fs_balance_fs(sbi);
> + if (wbc->for_reclaim)
> + f2fs_submit_merged_bio(sbi, DATA, WRITE);
> return 0;
>
> redirty_out:
> --
> 1.8.4.474.g128a96c
>
>
> --
> Jaegeuk Kim
> Samsung
>


--
Marc Dietrich <marvin24@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/