aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-04-26 17:39:54 +0800
committerMoyster <oysterized@gmail.com>2017-05-21 18:43:23 +0200
commitddde1fbb01f91696ae48700932da22fb279339f2 (patch)
tree43c3a85c6ef20c026725a5dfcfdb08a4c8f600d7 /include/linux
parentbb0a81afc17c347ce89373af79025cd34419fa0f (diff)
f2fs: don't hold cmd_lock during waiting discard command
Previously, with protection of cmd_lock, we will wait for end io of discard command which potentially may lead long latency, making worse concurrency. So, in this patch, we try to add reference into discard entry to prevent the entry being released by other thread, then we can avoid holding global cmd_lock during waiting discard to finish. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions