Searched hist:"9 a997188ff7ab2110c6fefa85977d1aa8005ae77" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | segment.c | diff 9a997188ff7ab2110c6fefa85977d1aa8005ae77 Thu May 24 15:57:26 CDT 2018 Jaegeuk Kim <jaegeuk@kernel.org> 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>
|
H A D | f2fs.h | diff 9a997188ff7ab2110c6fefa85977d1aa8005ae77 Thu May 24 15:57:26 CDT 2018 Jaegeuk Kim <jaegeuk@kernel.org> 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>
|