lkml.org 
[lkml]   [2006]   [Apr]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 3 Apr 2006 00:33:30 +0200
FromPavel Machek <>
SubjectRe: [PATCH] splice support #2
Hi!

> We should extend the userspace API so that it is prepared to receive 
> 'excess data' via a separate 'flush excess data to' file descriptor:
> 
> 	sys_splice(fd_in, fd_out, fd_flush, size,
>                    max_flush_size, *bytes_flushed)

I still see problems with error handling here. You get -EIO to
userspace. How do you know if it is error reading fd_in, or error
writing fd_out?
								Pavel
-- 
Picture of sleeping (Linux) penguin wanted...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-03 12:37    [from the cache]
©2003-2008