]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
blk/kernel: improve DiscardThread life cycle. 65213/head
authorIgor Fedotov <igor.fedotov@croit.io>
Fri, 4 Jul 2025 12:15:26 +0000 (15:15 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Mon, 25 Aug 2025 15:26:03 +0000 (18:26 +0300)
commit26cc64f53aeec18bfe79e53e8d19507397f1e68e
tree3b63b9169d96d8e0aea5684bc803d59ea889ab87
parentaea888c3ca4dfd00e776e46c9ee45e18f8af8f7a
blk/kernel: improve DiscardThread life cycle.

This will eliminate a potential race between thread startup and its
removal.

Relates-to: https://tracker.ceph.com/issues/71800
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 69369b151b96ca74bffb9d72f4c249f48fde2845)
src/blk/kernel/KernelDevice.cc
src/blk/kernel/KernelDevice.h