Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2013 16:36:23 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   hacking - aio_sendfile()
Message-ID:  <CAJ-Vmo=icr6bda%2BWMNUarc3WbdqJ%2BMdauX6kByxxdTx8oSovBg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=icr6bda%2BWMNUarc3WbdqJ%2BMdauX6kByxxdTx8oSovBg>