]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: fix bdev label error message
authorSage Weil <sage@redhat.com>
Mon, 4 Jan 2016 16:28:13 +0000 (11:28 -0500)
committerSage Weil <sage@redhat.com>
Fri, 8 Jan 2016 18:10:17 +0000 (13:10 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc

index ab1557ad78d05c6812056d8f76925fb676a7aaae..86774ba1764705831e057dd47a77a62b54ba470d 100644 (file)
@@ -897,6 +897,7 @@ int BlueStore::_read_bdev_label(string path, bluestore_bdev_label_t *label)
   }
   catch (buffer::error& e) {
     derr << __func__ << " unable to decode label at offset " << p.get_off()
+        << ": " << e.what()
         << dendl;
     return -EINVAL;
   }