summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-04-26 17:39:54 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-05-08 16:31:07 -0700
commit7ec84ed608e4fe4b00189ed36363da553c092eaf (patch)
tree0c719af9952ae991305bca1a88cea8c1ca3c4e9c /tools/perf/scripts/python/bin
parent5abcd71d0fd8a642d848a13de041e2112df21a23 (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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions