Re: [PATCH] splice support #2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux