ctdb-mutex: Do inode checks in a child process
commitb5db2867913ba451285728844a1725c9ba5e56c0
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Jan 2022 02:37:17 +0000 (21 13:37 +1100)
committerMartin Schwenke <martins@samba.org>
Thu, 28 Jul 2022 10:09:34 +0000 (28 10:09 +0000)
tree5b00376ee83f70b7392472d9628fb4748bd2affb
parent2ecdbcb22c69a94576c054761053971774c52099
ctdb-mutex: Do inode checks in a child process

In future this will allow extra I/O tests and a timeout in the parent
to (hopefully) release the lock if the child gets wedged.  For
simplicity, use tmon only to detect when either parent or child goes
away.  Plumbing a timeout for pings from child to parent will be done
later.

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