]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: stop issuing discard immediately if there is queued IO
authorChao Yu <yuchao0@huawei.com>
Sun, 8 Jul 2018 14:08:09 +0000 (22:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 1 Aug 2018 18:52:36 +0000 (11:52 -0700)
commitc436dd6578f5ff2c536fcc617405849c61d18107
treee7781f7e83f47896e52b1426de673f333aedeb75
parentaf5824e4917f6ea371727a0472b1fc091e7dc924
f2fs: stop issuing discard immediately if there is queued IO

For background discard policy, even if there is queued user IO, still
we will check max_requests times for next discard entry, it is unneeded,
let's just stop this round submission immediately.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c