]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/blkdev: only pay attention to first 2 bits of smartctl return code
authorSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 19:37:40 +0000 (14:37 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 21:36:52 +0000 (16:36 -0500)
commitef882d10a09310be31f6585efbdf3f87a779a9fd
treec6fe4653db0014a283ab69a1cb673bbac84b2720
parentcff30ce6661bec5a1e046423e6335ec49471966a
common/blkdev: only pay attention to first 2 bits of smartctl return code

Also make the error message a bit more informative.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/blkdev.cc