projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f423479
)
io_u completion error propagation
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 2 Mar 2007 14:16:45 +0000
(15:16 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 2 Mar 2007 14:16:45 +0000
(15:16 +0100)
Make sure we definitely signal an endio error.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index 6df4b5eee80190187aa0015b11aca7da73e714b4..fa6302e6934ba502b30a68afbba2489ea137ca50 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-571,6
+571,7
@@
long io_u_sync_complete(struct thread_data *td, struct io_u *io_u)
if (!icd.error)
return icd.bytes_done[0] + icd.bytes_done[1];
+ td_verror(td, icd.error, "io_u_sync_complete");
return -1;
}
@@
-601,6
+602,7
@@
long io_u_queued_complete(struct thread_data *td, int min_events)
if (!icd.error)
return icd.bytes_done[0] + icd.bytes_done[1];
+ td_verror(td, icd.error, "io_u_queued_complete");
return -1;
}