Messages in this thread | | | Date | Mon, 3 Apr 2006 00:33:30 +0200 | From | Pavel Machek <> | Subject | Re: [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/
| |