diff options
author | Chao Yu | 2018-08-06 22:43:50 +0800 |
---|---|---|
committer | Jaegeuk Kim | 2018-08-13 10:48:17 -0700 |
commit | 35ec7d5748849762008e8ae9f8ad2766229d5794 (patch) | |
tree | 0038876fb5399028e19155c391efe79cd5b994cb /fs/mpage.c | |
parent | a690efffd16302d23b0bbd00f84dcedc11935a8b (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 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions