MINOR: ring: add a flag to indicate a mapped file
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Mar 2024 16:50:11 +0000 (17:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2024 17:34:19 +0000 (17:34 +0000)
commit01abdcb307e618ecbb04c64a730f62a2c9d4932c
treeb3ca8e69c6b933773f112f878aadc94fbff2ad2a
parent80441a6983f2b767ed2a9fc4db0c54766c31e47d
MINOR: ring: add a flag to indicate a mapped file

Till now we used to rely on a heuristic pointer comparison to check if
a ring was mapped or allocated. Better assign a flag to clarify this
because it's going to become difficult otherwise.
include/haproxy/ring-t.h
src/ring.c