]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Wed, 3 Feb 2021 07:20:49 +0000 (07:20 +0000)
commitafa7b532b2b53ba3734e13f5f72213cbe6ba22fd
tree7c0ff4bdfe93ee4cd4caf35b94e8ba6de00d6e00
parent14b78e45383f77dc18de5d31a36e0220c8cd13ad
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>
src/tools/rbd_wnbd/rbd_wnbd.cc