A ref change was pushed to the OpenLDAP (openldap.git) repository. It will be available in the public mirror shortly.
The branch, master has been updated via e12ca8b6fed6b8a2526c5c8ee820bf5aa942b59d (commit) from 53c6c9d16bdc26e1999008a28b06d6e192de4784 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit e12ca8b6fed6b8a2526c5c8ee820bf5aa942b59d Author: Howard Chu hyc@openldap.org Date: Wed Mar 15 11:13:09 2017 +0000
Fixes for multiple threadpool queues
Remove poolq_hash, it wasn't distributing work evenly to the queues. Just walk through all queues and use the one with smallest active+pending count. Since pool_retract also relied on the hash, a different means of locating the thread to retract was needed. Add pool_submit2 which returns the threadpool task structure, and record which poolq this task lives on.
-----------------------------------------------------------------------
Summary of changes: include/ldap_pvt_thread.h | 9 ++++-- include/ldap_rq.h | 1 + libraries/libldap_r/tpool.c | 67 ++++++++++++++++++++++++------------------- servers/slapd/daemon.c | 4 +-- servers/slapd/syncrepl.c | 3 +- 5 files changed, 48 insertions(+), 36 deletions(-)