Suggestion from Volker,
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 26 Oct 2009 01:20:52 +0000 (12:20 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 26 Oct 2009 01:20:52 +0000 (12:20 +1100)
commit331c6e3afd96d8b5e191153a631efdbdabb6ea33
tree0cd62eede65e4b8e20951e1621a01f3e327837ae
parente79c3bcead7bd4bfb74d0aec81908da71551c107
Suggestion from Volker,

make ctdb_queue_length() cheaper by using a counter variable instead of counting the number of packets each time.
common/ctdb_io.c