projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename fls() to __fls()
[fio.git]
/
engines
/
splice.c
diff --git
a/engines/splice.c
b/engines/splice.c
index 868f6e0d3b6977ee3b9b0dea52ba3c52045c90b8..2753bfa0ca3b9d154f418c1c3260b0f492fc6e04 100644
(file)
--- a/
engines/splice.c
+++ b/
engines/splice.c
@@
-130,6
+130,10
@@
restart:
munmap(map, mmap_len);
goto restart;
}
+ if (errno == EBADF) {
+ ret = -EBADF;
+ break;
+ }
td_verror(td, errno, "vmsplice");
break;
} else if (!ret) {
@@
-242,7
+246,6
@@
static void fio_spliceio_cleanup(struct thread_data *td)
close(sd->pipe[0]);
close(sd->pipe[1]);
free(sd);
- td->io_ops->data = NULL;
}
}