]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson: use seastar::try_with_gate to guard background task
authorKefu Chai <kchai@redhat.com>
Sat, 24 Jul 2021 09:01:05 +0000 (17:01 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 24 Jul 2021 13:30:54 +0000 (21:30 +0800)
commit1c45d3ae0251a167c9ad299095941e4dc98a6472
tree2fb97b8d53a85a285f0c8e0a4108411270fc214f
parent65c65f7cf47d99b4fc1e6af37985cbe9f3de03c4
crimson: use seastar::try_with_gate to guard background task

for less indent, and for more consistency with how tools/store_nbd
runs background task.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/admin/admin_socket.cc