Home
last modified time | relevance | path

Searched hist:"35 ec7d5748849762008e8ae9f8ad2766229d5794" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dsegment.cdiff 35ec7d5748849762008e8ae9f8ad2766229d5794 Mon Aug 06 09:43:50 CDT 2018 Chao Yu <yuchao0@huawei.com> 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>
H A Df2fs.hdiff 35ec7d5748849762008e8ae9f8ad2766229d5794 Mon Aug 06 09:43:50 CDT 2018 Chao Yu <yuchao0@huawei.com> 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>