Lines Matching refs:ls_recover_flags

310 	if (test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) {  in gdlm_put_lock()
645 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gfs2_control_func()
646 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gfs2_control_func()
792 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gfs2_control_func()
817 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
923 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
924 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
925 set_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_mount()
963 ls->ls_recover_flags); in control_mount()
974 lvb_gen, ls->ls_recover_flags); in control_mount()
983 lvb_gen, ls->ls_recover_flags); in control_mount()
988 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
989 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
1012 if (test_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags) || in control_first_done()
1013 !test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in control_first_done()
1014 !test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in control_first_done()
1017 start_gen, block_gen, ls->ls_recover_flags); in control_first_done()
1034 wait_on_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY, in control_first_done()
1039 clear_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_first_done()
1040 set_bit(DFL_FIRST_MOUNT_DONE, &ls->ls_recover_flags); in control_first_done()
1139 set_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_prep()
1141 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gdlm_recover_prep()
1142 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recover_prep()
1146 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gdlm_recover_prep()
1203 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recover_done()
1206 clear_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_done()
1208 wake_up_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY); in gdlm_recover_done()
1224 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_recovery_result()
1232 if (test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recovery_result()
1252 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recovery_result()
1278 ls->ls_recover_flags = 0; in gdlm_mount()
1326 set_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags); in gdlm_mount()
1347 ls->ls_first = !!test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in gdlm_mount()
1366 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_first_done()
1378 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_unmount()
1384 set_bit(DFL_UNMOUNT, &ls->ls_recover_flags); in gdlm_unmount()