]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: make bdev label parse error less noisy
authorSage Weil <sage@redhat.com>
Wed, 24 Jan 2018 03:06:27 +0000 (21:06 -0600)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 5 Feb 2018 18:23:30 +0000 (19:23 +0100)
This happens during the normal initialization of a new bluestore osd and it
is confusing for users.  Make it less noisy.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 14c498dd22d1e89d30a0896e89fe83e8adf6ac76)

src/os/bluestore/BlueStore.cc

index 207a233851e805326ec42e63671a25224faad146..044ffdc94f5696335215690effba572f8081a3f8 100644 (file)
@@ -4091,7 +4091,7 @@ int BlueStore::_read_bdev_label(CephContext* cct, string path,
     ::decode(expected_crc, p);
   }
   catch (buffer::error& e) {
-    derr << __func__ << " unable to decode label at offset " << p.get_off()
+    dout(2) << __func__ << " unable to decode label at offset " << p.get_off()
         << ": " << e.what()
         << dendl;
     return -EINVAL;