hacking - aio_sendfile()

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Wed, 10 Jul 2013 16:36:23 -0700
Hiya,

I've started writing an aio_sendfile() syscall.

http://people.freebsd.org/~adrian/ath/20130710-aio-sendfile-3.diff

Yes, the diff is against -HEAD and not stable/9.

It's totally horrible, hackish and likely bad. I've only done some
very, very basic testing to ensure it actually works; i haven't at all
stress tested it out yet. It's also very naive - I'm not at all doing
any checks to see whether I can short-cut to do the aio there and
then; I'm always queuing the sendfile() op through the worker threads.
That's likely stupid and inefficient in a lot of cases, but it at
least gets the syscall up and working.

I'd like some feedback and possibly some help in stress testing it to
make sure it's functioning well.

Thanks,


-adrian
Received on Wed Jul 10 2013 - 21:36:23 UTC

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