commit | e6df3a663a5d1ee68aeae7f007197f272700d9cc | [log] [tgz] |
---|---|---|
author | Joel Becker <joel.becker@oracle.com> | Tue Feb 06 15:45:39 2007 -0800 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Tue Jul 10 17:19:46 2007 -0700 |
tree | e484382e0ae46553febd3dd56c0f8a9e882ec71b | |
parent | 16c6a4f24de2933b26477ad5dfb71f518220d641 [diff] |
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>