projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9e9d164
)
syslet engine: residual fix
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 12 Mar 2007 08:43:05 +0000
(09:43 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 12 Mar 2007 08:43:05 +0000
(09:43 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/syslet-rw.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/syslet-rw.c
b/engines/syslet-rw.c
index 40298cbd24496a3811ee28950d4def7bf22df01a..fe400daa501dd4e8e31ecc1db6129ab7fb0bc921 100644
(file)
--- a/
engines/syslet-rw.c
+++ b/
engines/syslet-rw.c
@@
-46,7
+46,7
@@
static void fio_syslet_complete_atom(struct thread_data *td,
io_u = atom->private;
ret = *atom->ret_ptr;
io_u = atom->private;
ret = *atom->ret_ptr;
- if (ret > 0)
+ if (ret >
=
0)
io_u->resid = io_u->xfer_buflen - ret;
else if (ret < 0)
io_u->error = ret;
io_u->resid = io_u->xfer_buflen - ret;
else if (ret < 0)
io_u->error = ret;