]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: fd/poller: turn update_mask to group-local IDs
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Jul 2022 17:21:06 +0000 (19:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jul 2022 18:16:30 +0000 (20:16 +0200)
commit6d3c501c080d8f307f633898c8d4d54169343402
tree2b74f0469d12cc33ea3ba656e4acccfc2e3dfcf5
parent63022128a522b56639bfa42b7c07a8085702f6e6
MEDIUM: fd/poller: turn update_mask to group-local IDs

From now on, the FD's update_mask only refers to local thread IDs. However,
there remains a limitation, in updt_fd_polling(), we temporarily have to
check and set shared FDs against .thread_mask, which still contains global
ones. As such, nbtgroups > 1 may break (but this is not yet supported without
special build options).
include/haproxy/fd.h
src/ev_epoll.c
src/ev_evports.c
src/ev_kqueue.c
src/ev_poll.c
src/ev_select.c
src/fd.c
src/stream.c