aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2022-07-13 22:07:11 +0800
committerJens Axboe <[email protected]>2022-07-14 07:15:48 -0600
commit0edb3696c1713c42f52acbd8355b545e58f782b1 (patch)
tree8dd87ed20c47f5c19ed0153e8bb24bf20ff4c3a7 /include/linux/debugobjects.h
parent71f28f3136aff5890cd56de78abc673f8393cad9 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions