Re: [PATCH] splice support #2

From: Pavel Machek
Date: Sun Apr 02 2006 - 18:33:57 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/