]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os: io_event.res is the size written 2577/head
authorLoic Dachary <loic-201408@dachary.org>
Thu, 25 Sep 2014 23:15:53 +0000 (01:15 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Thu, 25 Sep 2014 23:15:53 +0000 (01:15 +0200)
And not an error code to be converted with cpp_strerror()

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
src/os/FileJournal.cc

index d6ddc7fa21297c737b15e4d215e1b2e57cc2dd84..5eab7b530aa2fca1b955891f1bc6f08eec0a3aac 100644 (file)
@@ -1367,7 +1367,7 @@ void FileJournal::write_finish_thread_entry()
        aio_info *ai = (aio_info *)event[i].obj;
        if (event[i].res != ai->len) {
          derr << "aio to " << ai->off << "~" << ai->len
-              << " got " << cpp_strerror(event[i].res) << dendl;
+              << " wrote " << event[i].res << dendl;
          assert(0 == "unexpected aio error");
        }
        dout(10) << "write_finish_thread_entry aio " << ai->off