Re: hacking - aio_sendfile()

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Thu, 11 Jul 2013 08:11:11 -0700
On 11 July 2013 07:51, Gleb Smirnoff <glebius_at_freebsd.org> wrote:
> On Thu, Jul 11, 2013 at 07:45:19AM -0700, Adrian Chadd wrote:
> A> I reference the source/dest FDs in the queue method. Is that not good enough?
>
> I see. Should probably work, but needs testing.

It's terrible - I'd think I should pass the file ref's into
kern_sendfile() so I'm sure that the process hasn't close/dup'ed an FD
in its place in the meantime.

Is that better?



-adrian
Received on Thu Jul 11 2013 - 13:11:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC