commit | 405a5d2b2762f2a9813efdee93274d4e7bf607a1 | [log] [tgz] |
---|---|---|
author | Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com> | Wed Jun 10 19:41:20 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jun 10 17:58:46 2020 -0600 |
tree | 498a25887da9a912ce5f70af31804a12ef207e4e | |
parent | 7cdaf587de7c6f494b8433fded19f7728e70e1ef [diff] |
io_uring: avoid unnecessary io_wq_work copy for fast poll feature Basically IORING_OP_POLL_ADD command and async armed poll handlers for regular commands don't touch io_wq_work, so only REQ_F_WORK_INITIALIZED is set, can we do io_wq_work copy and restore. Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>