Revert "common/io: Keep queue buffer size multiple of 4K"
authorAmitay Isaacs <amitay@gmail.com>
Tue, 20 Aug 2013 04:20:09 +0000 (14:20 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 22 Aug 2013 04:08:52 +0000 (14:08 +1000)
commitcfb7f74fa2d95c0d5ff4b4fd01bb06b15baf3b4c
treeb57b0c68a07e1ea65950fa85c6c03948a241a783
parent1467b666f219586a0612bd32804b0dff7a84082c
Revert "common/io: Keep queue buffer size multiple of 4K"

This reverts commit 5e9b1a7e24d058ff88aaa0563db36a804e866fa9.

This is not the best approach.  Allowing queue buffer size to grow
indefinitely causes large number of CTDB packets to be queued up very
quickly which when processed via immediate events will block CTDB from
processing events from other FDs.  If there are immediate events queued
up, tevent will never process any of the FDs till all immediate events
are processed.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit d8b094e804efc53fae9f44c6ef961b7b5797d290)
ctdb/common/ctdb_io.c