mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
a61a4b1254
If we process all the data available in a socket buffer, CTDB can stay busy processing lots of packets via immediate event mechanism in tevent. After processing an immediate event, tevent returns without epoll_wait. So as long as there are immediate events, tevent will never poll other FDs. CTDB will report this as "Event handling took xx seconds" warning. This is misleading since CTDB is very busy processing packets, but never gets to the point of polling FDs. The improvement in socket handling made it worse when handling traverse control. There were lots of packets filled in the socket buffer quickly and CTDB stayed busy processing those packets and not polling other FDs and timer events. This can lead to controls timing out and in worse case other nodes marking busy node as disconnected. Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 92939c1178d04116d842708bc2d6a9c2950e36cc) |
||
---|---|---|
.. | ||
cmdline.c | ||
ctdb_fork.c | ||
ctdb_io.c | ||
ctdb_logging.c | ||
ctdb_ltdb.c | ||
ctdb_message.c | ||
ctdb_util.c | ||
rb_tree.c | ||
rb_tree.h | ||
system_aix.c | ||
system_common.c | ||
system_freebsd.c | ||
system_gnu.c | ||
system_kfreebsd.c | ||
system_linux.c |