summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-04-02 21:05:41 (GMT)
committerJens Axboe <axboe@suse.de>2006-04-02 21:05:41 (GMT)
commitb2b39fa478db6db89b7ccafb0649973845b0eb75 (patch)
tree784d85b94fb634e3b33dfd3f1153c98580cfac15 /include
parent83f9135bddffded9f1716519b6c147bcf046c87e (diff)
downloadlinux-b2b39fa478db6db89b7ccafb0649973845b0eb75.tar.xz
[PATCH] splice: add a SPLICE_F_MORE flag
This lets userspace indicate whether more data will be coming in a subsequent splice call. Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pipe_fs_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h
index 3286500..70ae933 100644
--- a/include/linux/pipe_fs_i.h
+++ b/include/linux/pipe_fs_i.h
@@ -62,5 +62,6 @@ void free_pipe_info(struct inode* inode);
#define SPLICE_F_NONBLOCK (0x02) /* don't block on the pipe splicing (but */
/* we may still block on the fd we splice */
/* from/to, of course */
+#define SPLICE_F_MORE (0x04) /* expect more data */
#endif