]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: propagate WNBD start errors
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 29 Jan 2021 11:03:20 +0000 (11:03 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 5 Feb 2021 07:52:03 +0000 (07:52 +0000)
commit2afa5ca067d004a9603601a5460020d9f2ddea97
tree48c37dd70ab8a85e79826d39f8475ea1452da68a
parentbc912ed39744f5e2dee6a4682fad6d85be10b7cf
rbd: propagate WNBD start errors

This change will propagate the errors that WNBD may return when
spinning up the IO workers.

Also, we'll avoid removing the registry record for failed
non-persistent mappings. Those will be cleaned up when the service
restarts or when explicitly unmapped.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit afa7b532b2b53ba3734e13f5f72213cbe6ba22fd)
src/tools/rbd_wnbd/rbd_wnbd.cc