From 30d81fe13baa35101f7fb69e67ceb8b8abfa1d79 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 25 Sep 2011 13:54:05 -0700 Subject: [PATCH] filejournal: improve debug error messge Signed-off-by: Sage Weil --- src/os/FileJournal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/FileJournal.cc b/src/os/FileJournal.cc index 6f28450fa1dae..0d9d62a227257 100644 --- a/src/os/FileJournal.cc +++ b/src/os/FileJournal.cc @@ -1084,7 +1084,7 @@ void FileJournal::wrap_read_bl(off64_t& pos, int64_t olen, bufferlist& bl) bufferptr bp = buffer::create(len); int r = safe_read_exact(fd, bp.c_str(), len); if (r) { - derr << "FileJournal::wrap_read_bl: safe_read_exact returned " + derr << "FileJournal::wrap_read_bl: safe_read_exact " << pos << "~" << len << " returned " << r << dendl; ceph_abort(); } -- 2.39.5