Discussion:
[Patches] s3:vfs_aio_pthread: make use of pthreadpool_tevent instead of pthreadpool_pipe
Stefan Metzmacher via samba-technical
2018-04-20 09:54:32 UTC
Permalink
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
Volker Lendecke via samba-technical
2018-04-23 08:29:52 UTC
Permalink
Post by Stefan Metzmacher via samba-technical
here're patches to make use of pthreadpool_tevent_job_send/recv() (much
simpler api) instead of using pthreadpool_pipe.
Pushed, thanks!

Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:***@sernet.de
Loading...