]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/tools/store_nbd/tm_driver: reset segment_manager in mkfs()
authorSamuel Just <sjust@redhat.com>
Fri, 20 Aug 2021 03:41:50 +0000 (20:41 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 26 Aug 2021 20:49:13 +0000 (13:49 -0700)
commit6da99216867b47c5881195827c98c13e2d9439fc
tree59144cae732050ef316e0e5a7f4088d48eedae84
parentd560b198a1c6ce8e985d72d4f76a39a1673c1f38
crimson/tools/store_nbd/tm_driver: reset segment_manager in mkfs()

Otherwise, instantiating segment_manager in mount() results in two
instances and a duplicate metric exception.

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