1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00
Andrew Tridgell 195051fdee 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)
2007-10-10 14:29:06 -05:00
..
2007-10-10 12:50:40 -05:00
2007-10-10 14:20:56 -05:00
2007-10-10 14:29:05 -05:00
2007-10-10 14:25:29 -05:00
2007-10-10 14:28:28 -05:00
2007-10-10 14:25:29 -05:00
2007-10-10 14:20:34 -05:00