]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/linux/pipe_fs_i.h
splice: add SPLICE_F_NONBLOCK flag
[linux-2.6.git] / include / linux / pipe_fs_i.h
index 75c7f55023ab67912452fad79330dfd36ad59e7c..d218fc72931997685eca76891afaf0c3a3e98730 100644 (file)
@@ -60,5 +60,8 @@ void free_pipe_info(struct inode* inode);
  * add the splice flags here.
  */
 #define SPLICE_F_MOVE  (0x01)  /* move pages instead of copying */
+#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 */
 
 #endif