]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/tools/store_nbd: better cleanup
authorKefu Chai <kchai@redhat.com>
Thu, 17 Jun 2021 01:35:40 +0000 (09:35 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 18 Jun 2021 01:05:35 +0000 (09:05 +0800)
commita53fcc2eebb6dcd3ff7729335cf813698124ae8a
tree433d5f28bf55cf91b1d11c05be9fc3263c53c4ad
parent7f2e8c366e2c5071bd0b35503f2f16f1706d0a24
crimson/tools/store_nbd: better cleanup

* remove unix domain socket file when cleanup
  so we don't need to remove it manually after each run.
* shutdown input and output streams when cleanup
  so reactor does not watch them anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/tools/store_nbd/store-nbd.cc