]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: reduce log level for image format 1 warning
authorJason Dillaman <dillaman@redhat.com>
Wed, 4 May 2016 17:36:06 +0000 (13:36 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 9 May 2016 16:47:27 +0000 (12:47 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c87f383b65ccc2e91645394f1c75de1c2d52e1e1)

src/librbd/image/OpenRequest.cc

index c4910391547f576954ec5e8df1a69449052595b7..3027ecadab5f98e6df5909d63531c03d1844d83c 100644 (file)
@@ -58,8 +58,8 @@ Context *OpenRequest<I>::handle_v1_detect_header(int *result) {
     }
     send_close_image(*result);
   } else {
-    lderr(cct) << "RBD image format 1 is deprecated. "
-               << "Please copy this image to image format 2." << dendl;
+    ldout(cct, 1) << "RBD image format 1 is deprecated. "
+                  << "Please copy this image to image format 2." << dendl;
 
     m_image_ctx->old_format = true;
     m_image_ctx->header_oid = util::old_header_name(m_image_ctx->name);