The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jaegeuk Kim <jaegeuk.kim@samsung.com>
To: Marc Dietrich <marvin24@gmx.de>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: f2fs causes system stall
Date: Fri, 25 Apr 2014 08:33:56 +0900	[thread overview]
Message-ID: <1398382436.4283.21.camel@kjgkr> (raw)
In-Reply-To: <20140424135910.f095d63eafdf136cc8851114@gmx.de>

Thank you very much.

Could you test the following patch?

---
 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


  reply	other threads:[~2014-04-24 23:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23 22:00 f2fs causes system stall Marc Dietrich
2014-04-23 23:54 ` Jaegeuk Kim
2014-04-24 11:59   ` Marc Dietrich
2014-04-24 23:33     ` Jaegeuk Kim [this message]
2014-04-25 12:39       ` Marc Dietrich
2014-05-05  7:56         ` Marc Dietrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398382436.4283.21.camel@kjgkr \
    --to=jaegeuk.kim@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marvin24@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox