ocfs2: Wake up a starting region if it gets killed in the background.
authorJoel Becker <joel.becker@oracle.com>
Tue, 6 Feb 2007 23:45:39 +0000 (15:45 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 11 Jul 2007 00:19:46 +0000 (17:19 -0700)
commite6df3a663a5d1ee68aeae7f007197f272700d9cc
treee484382e0ae46553febd3dd56c0f8a9e882ec71b
parent16c6a4f24de2933b26477ad5dfb71f518220d641
ocfs2: Wake up a starting region if it gets killed in the background.

Tell o2cb_region_dev_write() to wake up if rmdir(2) happens on the
heartbeat region while it is starting up.  Then o2hb_region_dev_write()
can check to see if it is alive and act accordingly.  This prevents a hang
(not being woken) and a crash (if it's woken by a signal).

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/cluster/heartbeat.c