diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-09-02 14:50:27 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-30 20:32:33 -0600 |
commit | aa06165de863a09bceebef65ecaf19294b26fd2e (patch) | |
tree | 58e146c6b9d8d47a4ec8dfe35f007c41f5fa1b1b /fs/readdir.c | |
parent | 69fb21310fd36aad96370e05953f2c2366f492e4 (diff) |
io_uring: enable IORING_SETUP_ATTACH_WQ to attach to SQPOLL thread too
We support using IORING_SETUP_ATTACH_WQ to share async backends between
rings created by the same process, this now also allows the same to
happen with SQPOLL. The setup procedure remains the same, the caller
sets io_uring_params->wq_fd to the 'parent' context, and then the newly
created ring will attach to that async backend.
This means that multiple rings can share the same SQPOLL thread, saving
resources.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions