commit | 33da62cf7a9aafdde1ccdb59b4df24ab66c1a827 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Wed Oct 04 09:08:35 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Oct 26 10:44:09 2017 +0200 |
tree | 5c04b7866327635bb49feadc797a1765a39794bf | |
parent | 78997b569f5625f2762b3c4e743c33becdd5d99d [diff] |
f2fs: reduce cmd_lock coverage in __issue_discard_cmd __submit_discard_cmd may lead long latency due to exhaustion of I/O request resource in block layer, so issuing all discard under cmd_lock may lead to hangtask, in order to avoid that, let's reduce it's coverage. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>