hacking - aio_sendfile()

Adrian Chadd adrian at freebsd.org
Thu Jul 11 15:11:12 UTC 2013


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


More information about the freebsd-current mailing list