projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] splice fixes
[fio.git]
/
os-linux.h
diff --git
a/os-linux.h
b/os-linux.h
index 865853ba4ec83381cea5059e37b808020bbd37fa..1f6a68dac2f1b0f0fa7890dab05a890f80265291 100644
(file)
--- a/
os-linux.h
+++ b/
os-linux.h
@@
-62,6
+62,8
@@
static inline int vmsplice(int fd, const struct iovec *iov,
#define SPLICE_F_MORE (0x04) /* expect more data */
#define SPLICE_F_GIFT (0x08) /* pages passed in are a gift */
+#define SPLICE_DEF_SIZE (64*1024)
+
enum {
IOPRIO_WHO_PROCESS = 1,
IOPRIO_WHO_PGRP,