Stefan Metzmacher via samba-technical
2018-04-20 09:54:32 UTC
Hi,
here're patches to make use of pthreadpool_tevent_job_send/recv() (much
simpler api) instead of using pthreadpool_pipe.
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.
This comes with a manpage update and a test (which failed when adding
smb_panic() just before the openat() in aio_open_worker(), with and
without the main change)
Please review and push:-)
Thanks!
metze
here're patches to make use of pthreadpool_tevent_job_send/recv() (much
simpler api) instead of using pthreadpool_pipe.
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.
This comes with a manpage update and a test (which failed when adding
smb_panic() just before the openat() in aio_open_worker(), with and
without the main change)
Please review and push:-)
Thanks!
metze