summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-08-06 22:43:50 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-09-18 14:42:39 -0700
commit7f67de2a4cddd895dbd3583a1e43b90a3424b133 (patch)
treea2b66d2ac1b3878cba5fc66cf5a0b0c4a6752432 /tools/perf/scripts/python/netdev-times.py
parent46998a9ad69906c3e2a73e98e397cd8d6ac9973b (diff)
f2fs: split discard command in prior to block layer
Some devices has small max_{hw,}discard_sectors, so that in __blkdev_issue_discard(), one big size discard bio can be split into multiple small size discard bios, result in heavy load in IO scheduler and device, which can hang other sync IO for long time. Now, f2fs is trying to control discard commands more elaboratively, in order to make less conflict in between discard IO and user IO to enhance application's performance, so in this patch, we will split discard bio in f2fs in prior to in block layer to reduce issuing multiple discard bios in a short time. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions