]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: fd/poller: turn running_mask to group-local IDs
authorWilly Tarreau <w@1wt.eu>
Thu, 7 Jul 2022 06:16:08 +0000 (08:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jul 2022 18:16:30 +0000 (20:16 +0200)
commita707d02657760958f83f199d18baea9f394edb4e
tree5a96f97a58b21a57442c7fcdf037716423a17ec7
parent6d3c501c080d8f307f633898c8d4d54169343402
MEDIUM: fd/poller: turn running_mask to group-local IDs

From now on, the FD's running_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/fd.c