Lines Matching refs:ls_recover_flags
299 if (test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) { in gdlm_put_lock()
598 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gfs2_control_func()
599 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gfs2_control_func()
745 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gfs2_control_func()
770 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
876 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
877 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
878 set_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_mount()
916 ls->ls_recover_flags); in control_mount()
927 lvb_gen, ls->ls_recover_flags); in control_mount()
936 lvb_gen, ls->ls_recover_flags); in control_mount()
941 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
942 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
965 if (test_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags) || in control_first_done()
966 !test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in control_first_done()
967 !test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in control_first_done()
970 start_gen, block_gen, ls->ls_recover_flags); in control_first_done()
987 wait_on_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY, in control_first_done()
992 clear_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_first_done()
993 set_bit(DFL_FIRST_MOUNT_DONE, &ls->ls_recover_flags); in control_first_done()
1088 set_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_prep()
1090 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gdlm_recover_prep()
1091 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recover_prep()
1095 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gdlm_recover_prep()
1143 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recover_done()
1146 clear_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_done()
1148 wake_up_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY); in gdlm_recover_done()
1159 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_recovery_result()
1167 if (test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recovery_result()
1187 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recovery_result()
1213 ls->ls_recover_flags = 0; in gdlm_mount()
1261 set_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags); in gdlm_mount()
1282 ls->ls_first = !!test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in gdlm_mount()
1301 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_first_done()
1313 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_unmount()
1319 set_bit(DFL_UNMOUNT, &ls->ls_recover_flags); in gdlm_unmount()