projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Makefile: libdir is not used anymore
[fio.git]
/
engines
/
splice.c
diff --git
a/engines/splice.c
b/engines/splice.c
index f55e5c0703273357781f4af7e548ba2be629d94a..5c4411cce3bcdfdecdfe3f40a5b2e0d3530fd66a 100644
(file)
--- a/
engines/splice.c
+++ b/
engines/splice.c
@@
-116,7
+116,7
@@
static int fio_spliceio_queue(struct thread_data *td, struct io_u *io_u)
ret = fsync(io_u->file->fd);
if (ret != (int) io_u->xfer_buflen) {
- if (ret > 0) {
+ if (ret >
=
0) {
io_u->resid = io_u->xfer_buflen - ret;
io_u->error = 0;
return FIO_Q_COMPLETED;