scripts: Add helper script to log locking information using /proc/locks
authorAmitay Isaacs <amitay@gmail.com>
Wed, 5 Dec 2012 00:38:42 +0000 (11:38 +1100)
committerMartin Schwenke <martin@meltin.net>
Wed, 8 May 2013 04:14:50 +0000 (14:14 +1000)
commit8bca8e1e63c70b959fdee5f680024249b688cc50
tree22a28a68b4878c2864497aeb299bc8ccfcb4ef90
parentd22ac9f3f79ea3368fdb49babed2c2252e0d45a5
scripts: Add helper script to log locking information using /proc/locks

This finds any processes locking tdb databases used by CTDB and logs
stack trace for each process.

Includes this fix from 1.2.40 branch:

  scripts: Fix the variable name for sed expressions

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 0e99ca1cdf28a7043554afb78bd439f727ab4f95)
(cherry picked from commit 9fbd13ea7d3da5e297827e7763f336f484262f47)
Makefile.in
config/debug_locks.sh [new file with mode: 0755]
packaging/RPM/ctdb.spec.in