* [PATCH] clarify an edge case of IORING_SETUP_SQ_AFF
@ 2021-06-01 3:11 Hao Xu
2021-06-01 13:50 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Hao Xu @ 2021-06-01 3:11 UTC (permalink / raw)
To: Jens Axboe; +Cc: io-uring, Pavel Begunkov, Joseph Qi
A container may offen be migrated to different cpu set which causes the
bounded cpu set of sqthread being changed as well. This may not be as
users expected, clarify this situation in man page.
Signed-off-by: Hao Xu <[email protected]>
---
man/io_uring_setup.2 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/man/io_uring_setup.2 b/man/io_uring_setup.2
index 3122313a53fa..cb8eba930b84 100644
--- a/man/io_uring_setup.2
+++ b/man/io_uring_setup.2
@@ -139,7 +139,10 @@ field of the
.IR "struct io_uring_params" .
This flag is only meaningful when
.B IORING_SETUP_SQPOLL
-is specified.
+is specified. When cgroup setting
+.I cpuset.cpus
+changes (typically in container environment), the bounded cpu set may be
+changed as well.
.TP
.B IORING_SETUP_CQSIZE
Create the completion queue with
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-01 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-01 3:11 [PATCH] clarify an edge case of IORING_SETUP_SQ_AFF Hao Xu
2021-06-01 13:50 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox