]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph_dedup_tool: SampleDedupWorkerThread can simply inherit from Thread
authorSamuel Just <sjust@redhat.com>
Sat, 17 Sep 2022 02:42:49 +0000 (02:42 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 19 Sep 2022 04:21:12 +0000 (13:21 +0900)
commitda52fb63f256a69afe14d70c4a55b747ee590bb7
tree6bc3c4ab1ec55283e28f78a44f184ef9856d5727
parent537462a10215e009d2bbc0b06d752fdd8f8fc909
ceph_dedup_tool: SampleDedupWorkerThread can simply inherit from Thread

SampleDedupWorkerThread didn't actually use any of the facilities on
CrawlerThread and indeed left several of them uninitialized.

Also allows us to remove the CrawlerThread constructor which left
several members uninitialized.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/tools/ceph_dedup_tool.cc