ctdb: use full range of IDR
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 8 May 2010 12:54:11 +0000 (22:24 +0930)
committerRonnie sahlberg <ronniesahlberg@gmail.com>
Mon, 10 May 2010 23:07:55 +0000 (09:07 +1000)
commit3000b0c2d50d8f33141cc17406b17315e8c5fd6e
tree50bcceb06a961bfe5b46a2879e33120de9ab94b7
parent812f3dcefa6ed844637450077f7ee69dc8d41954
ctdb: use full range of IDR

This resolves a problem with huge numbers of requests which could overflow
16 bits.  Fortunately, the IDR should scale reasonably well, so we can simply
hold all the requests.

Although noone checks for failure, I added a constant for that.

BZ: 60540
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
common/ctdb_util.c
include/ctdb_private.h