]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/tools/store_nbd: handle ECONNABORTED returned by accept() 42303/head
authorKefu Chai <kchai@redhat.com>
Tue, 13 Jul 2021 11:42:19 +0000 (19:42 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 13 Jul 2021 11:43:42 +0000 (19:43 +0800)
commit92b02120e426283694cef185320768b14bbf8c01
tree9002b19037ade54cc80338680b4813c2653d2b00
parent7094254c4a45b5d507cee45e767fdeb026f2b074
crimson/tools/store_nbd: handle ECONNABORTED returned by accept()

if we abort accept() call, an ECONNABORTED is expected. and we should
handle it, otherwise unhandled exception will be noticed by seastar's
reactor. and it complains in that case.

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