From: Chao Yu <yuchao0@huawei.com>
To: Jaegeuk Kim <jaegeuk@kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-f2fs-devel@lists.sourceforge.net>
Subject: Re: [PATCH v2] f2fs: let fstrim issue discard commands in lower priority
Date: Sat, 26 May 2018 08:45:34 +0800 [thread overview]
Message-ID: <9a7e1ff0-f4b1-52b2-9849-6d2ec0a9307d@huawei.com> (raw)
In-Reply-To: <20180525194916.GA52740@jaegeuk-macbookpro.roam.corp.google.com>
On 2018/5/26 3:49, Jaegeuk Kim wrote:
> The fstrim gathers huge number of large discard commands, and tries to issue
> without IO awareness, which results in long user-perceive IO latencies on
> READ, WRITE, and FLUSH in UFS. We've observed some of commands take several
> seconds due to long discard latency.
>
> This patch limits the maximum size to 2MB per candidate, and check IO congestion
> when issuing them to disk.
>
> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
It looks good to me. :)
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
next prev parent reply other threads:[~2018-05-26 0:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-25 5:10 [PATCH] " Jaegeuk Kim
2018-05-25 6:04 ` Chao Yu
2018-05-25 6:18 ` Jaegeuk Kim
2018-05-25 6:47 ` Chao Yu
2018-05-25 19:49 ` [PATCH v2] " Jaegeuk Kim
2018-05-26 0:45 ` Chao Yu [this message]
2018-05-26 6:11 ` Chao Yu
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=9a7e1ff0-f4b1-52b2-9849-6d2ec0a9307d@huawei.com \
--to=yuchao0@huawei.com \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®