]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: object-map rebuild fail, add error information 9437/head
authorx11562 <xie.na@h3c.com>
Fri, 3 Jun 2016 01:36:33 +0000 (09:36 +0800)
committerx11562 <xie.na@h3c.com>
Fri, 3 Jun 2016 01:36:39 +0000 (09:36 +0800)
Signed-off-by: Na Xie <xie.na@h3c.com>
src/librbd/Operations.cc

index 9c7ea32ad44361a274665623644b922da7f07b5b..64b59e6154f35454a816fc2355c8c599542fb99e 100644 (file)
@@ -426,6 +426,7 @@ void Operations<I>::execute_rebuild_object_map(ProgressContext &prog_ctx,
     return;
   }
   if (!m_image_ctx.test_features(RBD_FEATURE_OBJECT_MAP)) {
+    lderr(cct) << "image must support object-map feature" << dendl;
     on_finish->complete(-EINVAL);
     return;
   }