diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-12-11 08:53:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:06 -0500 |
commit | 9ca93ced8bc719fbfc444c472cf0d058409cbce1 (patch) | |
tree | 59fbb331c5ca426383bb036a7a4732afe6352676 /source4/dsdb/samdb | |
parent | 47e03d96a263a7f9a5e3061c04147e559f2fe9e0 (diff) | |
download | samba-9ca93ced8bc719fbfc444c472cf0d058409cbce1.tar.gz samba-9ca93ced8bc719fbfc444c472cf0d058409cbce1.tar.bz2 samba-9ca93ced8bc719fbfc444c472cf0d058409cbce1.zip |
r20104: this is a alternative events backend, which uses a hybrid of aio and
epoll. It is not linked in anywhere yet - I'm committing it in case
anyone else wants to have a look at it.
The concept is quite strange really, but it seems to be the only way
that Linux 2.6.x can currently use a unified event model allowing for
AIO events and socket events to be waited for by a single unified
event wait function. You setup a epoll system, then setup a weird aio
event that points at the epoll system, then use io_getevents() to
actually do the waiting.
I'm hoping that kevents or a proper integration of epoll will allow us
to avoid ths rather hackish scheme, but meanwhile this is the only
path to proper AIO in Samba on Linux (without a horrible signals mess)
(NOTE: this code requires some kernel patches to work at the moment)
(This used to be commit 195051fdee341e8d8cb76e5c91dcc0f6c246a870)
Diffstat (limited to 'source4/dsdb/samdb')
0 files changed, 0 insertions, 0 deletions