]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: thread: make lock_stat per operation instead of for all operations
authorWilly Tarreau <w@1wt.eu>
Mon, 10 Feb 2025 10:08:45 +0000 (11:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 Feb 2025 17:34:43 +0000 (18:34 +0100)
commitc2f2d6fd3c7178a372942c0a0380a361f614f5bd
tree1548ad6d5bf3b6a773e0bfccd323e9412b9d9e14
parent4168d1278cab58ba089cfe7acfed781b3a747023
DEBUG: thread: make lock_stat per operation instead of for all operations

It's more convenient (and more readable) to have the lock stats arranged
by operation type (read, seek, write). It will also allow to later simplify
the structure format and the bucket address calculation. Now lock_stat[]
got split into lock_stats_rd[], lock_stats_sk[], lock_stats_wr[].
include/haproxy/thread-t.h
src/thread.c