]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
OSD: translate the error result 23473/head
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 7 Aug 2018 14:57:00 +0000 (16:57 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 7 Aug 2018 14:57:00 +0000 (16:57 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/os/filestore/FileJournal.cc

index aaa707ad617cdd1ed1412c386042f4063e116b37..5a2d6c72f1c13df6e649239d7819047c9eaf6f39 100644 (file)
@@ -1901,7 +1901,7 @@ void FileJournal::wrap_read_bl(
     int r = safe_read_exact(fd, bp.c_str(), len);
     if (r) {
       derr << "FileJournal::wrap_read_bl: safe_read_exact " << pos << "~" << len << " returned "
-          << r << dendl;
+          << cpp_strerror(r) << dendl;
       ceph_abort();
     }
     bl->push_back(std::move(bp));