summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2022-07-13 22:07:11 +0800
committerJens Axboe <axboe@kernel.dk>2022-07-14 07:15:48 -0600
commit0edb3696c1713c42f52acbd8355b545e58f782b1 (patch)
tree8dd87ed20c47f5c19ed0153e8bb24bf20ff4c3a7 /tools/perf/scripts/python
parent71f28f3136aff5890cd56de78abc673f8393cad9 (diff)
downloadlinux-0edb3696c1713c42f52acbd8355b545e58f782b1.tar.gz
linux-0edb3696c1713c42f52acbd8355b545e58f782b1.zip
ublk_drv: support to complete io command via task_work_add
Use task_work_add if it is available, since task_work_add can bring up better performance, especially batching signaling ->ubq_daemon can be done. It is observed that task_work_add() can boost iops by +4% on random 4k io test. Also except for completing io command, all other code paths are same with completing io command via io_uring_cmd_complete_in_task. Meantime add one flag of UBLK_F_URING_CMD_COMP_IN_TASK for comparing the mode easily. Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20220713140711.97356-3-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions