Re: [PATCH] splice support #2

From: Linus Torvalds
Date: Fri Mar 31 2006 - 14:08:59 EST




On Fri, 31 Mar 2006, Jens Axboe wrote:
> >
> > ssize_t psplice(int fdin, int fdout, size_t len, off_t ofs, unsigned flags);
>
> I definitely see some valid reasons for adding a file offset instead of
> using ->f_pos, I'll leave that decision up to Linus though. Linus?

I think a file offset is fine, the one thing holding me back was just the
interface. One file offset per fd? Or just have the rule that the file
offset is for the "non-pipe" device?

Linus
-
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/