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:44:43 +0000 (09:44 +1000)
commit72efc4122e37798227c3420a65ed1f706ca9ebe7
treea6301b354b8a9dbeb2ba87bf5169622d8586de6f
parent26793ad42b77c2328a00ac9a12bca813c7425245
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