]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
librbd: debug: don't log uint8_t image create options as chars
authorMykola Golub <mgolub@mirantis.com>
Tue, 8 Nov 2016 08:24:49 +0000 (10:24 +0200)
committerMykola Golub <mgolub@mirantis.com>
Tue, 8 Nov 2016 08:24:49 +0000 (10:24 +0200)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/librbd/image/CreateRequest.cc

index e9ac3592b6d26bccca312ab0e98661100d4e080d..a7dc6e4606bf9429a47bd1e4cd41a5de0e97e510 100644 (file)
@@ -205,11 +205,12 @@ CreateRequest<I>::CreateRequest(IoCtx &ioctx, const std::string &image_name,
                    << "id=" << m_image_id << ", "
                    << "size=" << m_size << ", "
                    << "features=" << m_features << ", "
-                   << "order=" << m_order << ", "
+                   << "order=" << (uint64_t)m_order << ", "
                    << "stripe_unit=" << m_stripe_unit << ", "
                    << "stripe_count=" << m_stripe_count << ", "
-                   << "journal_order=" << m_journal_order << ", "
-                   << "journal_splay_width=" << m_journal_splay_width << ", "
+                   << "journal_order=" << (uint64_t)m_journal_order << ", "
+                   << "journal_splay_width="
+                   << (uint64_t)m_journal_splay_width << ", "
                    << "journal_pool=" << m_journal_pool << ", "
                    << "data_pool=" << m_data_pool << dendl;
 }