Lines Matching refs:ls_recover_flags
303 if (test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) { in gdlm_put_lock()
632 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gfs2_control_func()
633 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gfs2_control_func()
779 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gfs2_control_func()
804 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
910 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
911 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
912 set_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_mount()
950 ls->ls_recover_flags); in control_mount()
961 lvb_gen, ls->ls_recover_flags); in control_mount()
970 lvb_gen, ls->ls_recover_flags); in control_mount()
975 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
976 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
999 if (test_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags) || in control_first_done()
1000 !test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in control_first_done()
1001 !test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in control_first_done()
1004 start_gen, block_gen, ls->ls_recover_flags); in control_first_done()
1021 wait_on_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY, in control_first_done()
1026 clear_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_first_done()
1027 set_bit(DFL_FIRST_MOUNT_DONE, &ls->ls_recover_flags); in control_first_done()
1126 set_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_prep()
1128 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gdlm_recover_prep()
1129 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recover_prep()
1133 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gdlm_recover_prep()
1190 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recover_done()
1193 clear_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_done()
1195 wake_up_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY); in gdlm_recover_done()
1211 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_recovery_result()
1219 if (test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recovery_result()
1239 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recovery_result()
1265 ls->ls_recover_flags = 0; in gdlm_mount()
1313 set_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags); in gdlm_mount()
1334 ls->ls_first = !!test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in gdlm_mount()
1353 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_first_done()
1365 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_unmount()
1371 set_bit(DFL_UNMOUNT, &ls->ls_recover_flags); in gdlm_unmount()