ctdb-locking: Update current lock statistics when lock is scheduled
authorAmitay Isaacs <amitay@gmail.com>
Fri, 15 Nov 2013 07:36:09 +0000 (18:36 +1100)
committerMichael Adam <obnox@samba.org>
Wed, 27 Nov 2013 17:46:16 +0000 (18:46 +0100)
commit0eeb73c1879dbb45db32e68f1e4cdbbfd3f9c14f
tree212aacdf67c260adc34324b05d00f2d490dc7e73
parent3879e9991f51638290006cf9382c6c487b2f191a
ctdb-locking: Update current lock statistics when lock is scheduled

When a child process is created for a lock request, the current locks
statistics should be updated immediately.  This will provide accurate
information on number of active lock requests.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
ctdb/server/ctdb_lock.c