Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89be9f2d authored by Chao Yu's avatar Chao Yu Committed by Sahitya Tummala
Browse files

f2fs: hurry up to issue discard after io interruption



commit e6c6de18f010d9a7d592f4044d2c30213cb3a7bc upstream.

Once we encounter I/O interruption during issuing discards, we will delay
long time before next round, but if system status is I/O idle during the
time, it may loses opportunity to issue discards. So this patch changes
to hurry up to issue discard after io interruption.

Besides, this patch also fixes to issue discards accurately with assigned
rate.

Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Git-commit: 5776b62b
Git-repo: https://android.googlesource.com/kernel/common.git


Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 653abc5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment