commit | 756a1501ddbbe73098aa031939460930f6edc9cd | [log] [tgz] |
---|---|---|
author | Srinivas Eeda <srinivas.eeda@oracle.com> | Tue Apr 17 13:26:33 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Thu Apr 26 13:33:02 2007 -0700 |
tree | 571202550a811b937277e227b27c26a0fcdf8b7c | |
parent | de46c33745f5e2ad594c72f2cf5f490861b16ce1 [diff] |
ocfs2_dlm: fix race in dlm_remaster_locks There is a possibility that dlm_remaster_locks could overwride node->state with DLM_RECO_NODE_DATA_REQUESTED after dlm_reco_data_done_handler sets the node->state to DLM_RECO_NODE_DATA_DONE. This could lead to recovery getting stuck and requires a cluster reboot. Synchronize with dlm_reco_state_lock spinlock. Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>