Re: review request: sendfile kqueue notification

2013-12-29 Thread John-Mark Gurney
Adrian Chadd wrote this message on Thu, Dec 12, 2013 at 12:41 -0800: I'd like to start committing this to FreeBSD-HEAD: http://people.freebsd.org/~adrian/netflix/20131211-sendfile-kqueue-11.diff It implements kqueue notifications for sendfile so users can get an asynchronous notification

review request: sendfile kqueue notification

2013-12-12 Thread Adrian Chadd
Hi, I'd like to start committing this to FreeBSD-HEAD: http://people.freebsd.org/~adrian/netflix/20131211-sendfile-kqueue-11.diff It implements kqueue notifications for sendfile so users can get an asynchronous notification that the underlying mbufs have been freed. This allows userland users

Re: review request: sendfile kqueue notification

2013-12-12 Thread Adrian Chadd
And yes, I know this breaks the 32 bit compat sendfile call. I'm thinking of how to fix this without just duplicating all of that code. Thanks, -a On 12 December 2013 12:41, Adrian Chadd adr...@freebsd.org wrote: Hi, I'd like to start committing this to FreeBSD-HEAD: