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)
commitd8b094e804efc53fae9f44c6ef961b7b5797d290
treed0ac09be6ec4538cd03e61ffd6128028950218fa
parentac417b0003f0116f116834ad2ac51482d25cfa0d
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>
common/ctdb_io.c