ctdb-recovery: Kill cluster mutex helper with a signal that can be caught
authorMartin Schwenke <martin@meltin.net>
Tue, 2 Feb 2016 03:09:50 +0000 (14:09 +1100)
committerAmitay Isaacs <amitay@samba.org>
Thu, 28 Apr 2016 07:39:16 +0000 (09:39 +0200)
commit0b0b954ff23149655640571801e2a3f572ebeadc
tree86df0eede29e0c6a5b051d5ef7295bb3dd53331f
parente679a1731cef260d643e79cd2d6a2aa64ddd1e08
ctdb-recovery: Kill cluster mutex helper with a signal that can be caught

Unlike fcntl(2), some other helper might need to explicitly take
action to release a mutex.  This can be done by catching SIGTERM.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_recover.c