]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: activity/fd: remove the dead_fd counter
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Aug 2021 08:59:50 +0000 (10:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Aug 2021 14:03:36 +0000 (16:03 +0200)
commitb1f29bc6252ffa6b43e2e210c4852dd9c3a1b1eb
tree924dd7a916cd9d083a5cc4c939d370fe4f91afc8
parentbd8dd841e5383ecec1661d94bddb0fa2ef515842
MINOR: activity/fd: remove the dead_fd counter

This one is set whenever an FD is reported by a poller with a null owner,
regardless of the thread_mask. It has become totally meaningless because
it only indicates a migrated FD that was not yet reassigned to a thread,
but as soon as a thread uses it, the status will change to skip_fd. Thus
there is no reason to distinguish between the two, it adds more confusion
than it helps. Let's simply drop it.
include/haproxy/activity-t.h
include/haproxy/fd-t.h
src/cli.c
src/fd.c