Re: hacking - aio_sendfile()
On 11 July 2013 07:51, Gleb Smirnoff <glebius@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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 10 之 16 篇):