summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2018-05-24 13:57:26 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2018-05-29 12:04:08 -0700
commit9a997188ff7ab2110c6fefa85977d1aa8005ae77 (patch)
treecc28200bbce5692b39db39468fb504658a522d72 /arch
parent5b19d284f5195a925dd015a6397bfce184097378 (diff)
f2fs: let fstrim issue discard commands in lower priority
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. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions