]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ring: resize only under thread isolation
authorWilly Tarreau <w@1wt.eu>
Wed, 28 Feb 2024 08:45:54 +0000 (09:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2024 17:34:19 +0000 (17:34 +0000)
commit0fa05ce171cd28c594762fe7b1b5f10d2b853068
tree84d045c624510bd3b77775cf13bafdd72e427ffe
parent03816ccfa94a138fccbbb031efda08bcb8e0caaa
MINOR: ring: resize only under thread isolation

The ring resizing was already quite tricky, but when facing atomic
writes it will no longer be possible and we definitely do not want to
have to deal with a lock there. Since it's only done at boot time, and
possibly later from the CLI, let's just do it under thread isolation.
src/ring.c