Commit Graph

110 Commits

Author SHA1 Message Date
Quanah Gibson-Mount
f6ad222e41 Happy New Year! 2020-01-09 16:50:21 +00:00
Quanah Gibson-Mount
b45a6a7dc7 Happy New Year! 2019-01-14 18:46:16 +00:00
Quanah Gibson-Mount
59e9ff6243 Happy New Year 2018-03-22 15:35:24 +00:00
Howard Chu
a0cc1d9655 ITS#8054 add queue time to log
Show time spent in conn+threadpool queues before an op actually executes.
Also clean up timestamp handling
2017-03-16 14:21:31 +00:00
Quanah Gibson-Mount
1df85d3427 Happy New Year! 2017-01-03 12:36:47 -08:00
Howard Chu
f6510ec83b ITS#8460 fix slap_op_time
broken in 2d5996ac60
Was allowing tv_usec to exceed 999999
2016-07-28 23:40:57 +01:00
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
Howard Chu
2d5996ac60 ITS#8054 Cleanup duration patch
Don't need op->o_hr_time, just use o_tincr, that's what it
was intended for anyway. Use "etime=" like other products do.
Simplify ifdefs. Use gettimeofday, it's always available now.
2015-10-31 11:57:06 +00:00
Emily Backes
5324d283d9 ITS#8054 operation duration logging 2015-10-31 11:55:23 +00:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Howard Chu
f230503b10 Tweak mutex acquisition
Slightly reduce held time.
2013-08-16 18:58:39 -07:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
85c1c545f4 ITS#7107 fix Operation init on reuse
Additional fix for a66fb1630c
2011-12-14 19:33:40 -08:00
Howard Chu
fdb3443366 More abandon paranoia 2011-08-24 14:57:36 -07:00
Howard Chu
433812db38 For #6982 fix a66fb16 2011-08-18 01:52:52 -07:00
Howard Chu
a66fb1630c hack for #6982 - keep o_abandon set in op_free 2011-08-16 13:51:10 -07:00
Howard Chu
de395ddad3 ITS#6944 limit op cache to 10 ops per thread 2011-06-10 03:27:40 -07:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
aecd2f33d6 o_pagedresults_state not freed from slab (only noticeable when built with SLAP_NO_SL_MALLOC; could be related to ITS#6660, although unlikely) 2010-09-28 19:57:02 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
13eb62e42f make sure o_csn is freed 2008-09-27 11:06:31 +00:00
Howard Chu
4097d261bb Use <ldap_queue.h> macros for prev commit 2008-03-14 16:49:53 +00:00
Howard Chu
a55123477a ITS#5419 introduce OpExtra / op->o_extra to supersede op->o_private 2008-03-13 13:14:52 +00:00
Howard Chu
20584e94f4 ITS#5370 slap_op_time mutex 2008-02-12 21:27:15 +00:00
Hallvard Furuseth
9de53658d7 ITS#5309 followup: join a ldap_pvt_thread_pool_getkey() call into a setkey() 2008-01-08 16:24:53 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
30f401c628 rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309) 2008-01-07 21:35:03 +00:00
Howard Chu
68ebee4726 Concurrency tweaks:
store conn->c_sd, don't use ber_sockbuf_ctrl to retrieve it.
  use per-thread free lists for operations, no mutexes needed.
2007-10-25 02:22:40 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Pierangelo Masarati
639d678592 cleanup struct declarations 2007-03-20 01:07:10 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
de254abb27 destroy cached groups after identity change (ITS#4760) 2006-11-24 11:43:47 +00:00
Pierangelo Masarati
0d2e2772d5 move req2op selection into a helper 2006-09-04 07:17:34 +00:00
Kurt Zeilenga
5487575086 Add link to FAQ entry on BDB tuning 2006-03-30 17:56:56 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Luke Howard
cb786e3330 Remove SLAPI pblock from operation structure 2005-07-22 07:54:17 +00:00
Luke Howard
de10624dc3 Use accessor macros for SLAPI parameter blocks, should make it
easier to move into overlay private data
2005-07-22 05:26:15 +00:00
Luke Howard
ffe20229dc Move most of SLAPI frontend into overlay 2005-07-21 16:35:20 +00:00
Howard Chu
5d2ba11ad9 ITS#3847 silence warnings 2005-07-11 12:11:15 +00:00
Howard Chu
e42e8d7130 Add op->o_tincr to distinguish ops with same op->o_time. (We should
be preparing to use timestamps with sub-second resolution, really.)
2005-06-09 22:56:35 +00:00
Pierangelo Masarati
3eb87b2faa implement "realdn" by clause in ACLs (ITS#3627; accounting for Howard's remarks) 2005-04-03 01:59:03 +00:00
Howard Chu
9f30e1e650 Delete obsolete syncprovider stuff 2005-01-14 05:19:51 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
5f99f7c991 More migration of syncrepl from frontend to syncprov overlay
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
90cc409325 Split Operation into Opheader and op 2004-11-25 22:59:00 +00:00
Howard Chu
3a5bde98ba Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00