summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/tevent/tevent_select.c
Commit message (Collapse)AuthorAgeFilesLines
* ctdb-build: Remove duplicate tevent libraryAmitay Isaacs2014-06-201-277/+0
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
* tevent: Sync to tevent 0.9.18 from upstreamAmitay Isaacs2013-05-291-8/+25
| | | | (This used to be ctdb commit 82d61f77c01df0fbb42743593937b175ce22a445)
* lib/tevent: Add trace point callbackMartin Schwenke2012-06-121-0/+2
| | | | | | | | | | | | | | Set/get a single callback function to be invoked at various trace points. Define "before wait" and "after wait" trace points - more trace points can be added later if required. CTDB wants this to log long waits and events. Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit cb2bbe93628c1ab932c2e1ad6e2ec199a98f74c6)
* Revert "TEVENT: Add back tracking of long runnig events to the local copy ↵Martin Schwenke2012-06-121-4/+0
| | | | | | | | | | of tevent library" This reverts commit 5aba53e6adcfcd7edbdac9e30aa5fcba176aca00. Do this using new tevent trace point callback. (This used to be ctdb commit 88040778aace229d724de1ba7556aded12e22f86)
* TEVENT: Add back tracking of long runnig events to the local copy of tevent ↵Ronnie Sahlberg2012-05-211-0/+4
| | | | | | library (This used to be ctdb commit 5aba53e6adcfcd7edbdac9e30aa5fcba176aca00)
* lib/tevent: Sync tevent from samba git treeAmitay Isaacs2012-04-131-0/+11
| | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 483459c79884891b3639a8bb865d5e8318cde98c)
* lib/tevent: Remove local modifications to teventAmitay Isaacs2012-04-131-5/+0
| | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit d1bc4a97ea649f5a07802178591688e438313ff8)
* change Christinas previous patch to only perform the check/loggingRonnie Sahlberg2011-01-171-2/+4
| | | | | | | | if we are the main ctdb daemon. Other daemons/child processes are not guaranteed to get events on regular basis so those should not be checked. (This used to be ctdb commit ac2afe9c25753b837d5f6396020e0f3c65ef3628)
* improve timing issue detectionsChristian Ambach2011-01-171-0/+2
| | | | | | | | | | | the original "Time jumped" messages are too coarse to interpret exactly what was going wrong inside of CTDB. This patch removes the original logs and adds two other logs that differentiate between the time it took to work on an event and the time it took to get the next event. (This used to be ctdb commit fd8d54292f10b35bc4960d64cfa6843ce9aba225)
* event: Update events to latest Samba version 0.9.8Rusty Russell2010-08-181-0/+248
In Samba this is now called "tevent", and while we use the backwards compatibility wrappers they don't offer EVENT_FD_AUTOCLOSE: that is now a separate tevent_fd_set_auto_close() function. This is based on Samba version 7f29f817fa939ef1bbb740584f09e76e2ecd5b06. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 85e5e760cc91eb3157d3a88996ce474491646726)