In case label block is corrupted or missing, the ceph-bluestore-tool
reports ENOENT but does not report specifically that it failed
to decode label. Log error specific to unable to decode label to stderr.
Signed-off-by: Prashant D <pdhange@redhat.com>
decode(expected_crc, p);
}
catch (ceph::buffer::error& e) {
- dout(2) << __func__ << " unable to decode label at offset " << p.get_off()
+ derr << __func__ << " unable to decode label at offset " << p.get_off()
<< ": " << e.what()
<< dendl;
return -ENOENT;