projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e974a
)
posixaio engine: residual data count
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 2 Mar 2007 18:42:37 +0000
(19:42 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 2 Mar 2007 18:42:37 +0000
(19:42 +0100)
If the io was cancelled, residual is the full data buffer length.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/posixaio.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/posixaio.c
b/engines/posixaio.c
index ebd6faf86b14b30e2dd4eabf8b5f9726d1d8d6aa..10340571af57fa79f2621027f937bcb424d6b554 100644
(file)
--- a/
engines/posixaio.c
+++ b/
engines/posixaio.c
@@
-100,6
+100,7
@@
restart:
default:
io_u->error = err;
case ECANCELED:
+ io_u->resid = io_u->xfer_buflen;
case 0:
pd->aio_events[r++] = io_u;
io_u->seen = 1;