s3:vfs_aio_pthread: make use of pthreadpool_tevent instead of pthreadpool_pipe
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Mar 2018 14:02:04 +0000 (15:02 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 23 Apr 2018 11:30:06 +0000 (13:30 +0200)
commitb5a34e65d1cbe08da733ae79078bf76f83c3fbe4
tree6345602adce059d4af7e6db265ad370523fc4620
parentb805a5975ec9b5f152803764e5e5f02a92e8ddba
s3:vfs_aio_pthread: make use of pthreadpool_tevent instead of pthreadpool_pipe

pthreadpool_tevent provides a much simpler api and avoids an extra
pipe for the completion notification.

This means we now have just one thread pool, that's shared for
all async pread, pwrite, fsync and openat() calls, instead of having
an extra pool for openat() with the same possible number of threads.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Apr 23 13:30:06 CEST 2018 on sn-devel-144
source3/modules/vfs_aio_pthread.c