mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
os: io_event.res is the size written
And not an error code to be converted with cpp_strerror() Signed-off-by: Loic Dachary <loic-201408@dachary.org>
This commit is contained in:
parent
7a39e7cbe6
commit
7827e0035e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user