]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/Finisher: do not wake up the thread if already running
authorMax Kellermann <max.kellermann@ionos.com>
Mon, 7 Oct 2024 20:12:41 +0000 (22:12 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 10 Oct 2024 05:31:52 +0000 (07:31 +0200)
commite30551eb86cfde834e3b759e3cb99b783bc57371
tree0f800b58e59dbed1fe38ac81b708eaaccbe131e4
parent2a19a27040ea1fd86953388a5392de2001265370
common/Finisher: do not wake up the thread if already running

If `finisher_running` is set, then the `Finisher` thread will
automatically pick up new items queued by other threads.  It is
therefore not needed to wake it up and we can eliminate one system
call.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/Finisher.h