Lines Matching refs:ls_recover_flags

300 	if (test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) {  in gdlm_put_lock()
629 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gfs2_control_func()
630 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gfs2_control_func()
776 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gfs2_control_func()
801 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
907 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
908 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
909 set_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_mount()
947 ls->ls_recover_flags); in control_mount()
958 lvb_gen, ls->ls_recover_flags); in control_mount()
967 lvb_gen, ls->ls_recover_flags); in control_mount()
972 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
973 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
996 if (test_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags) || in control_first_done()
997 !test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in control_first_done()
998 !test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in control_first_done()
1001 start_gen, block_gen, ls->ls_recover_flags); in control_first_done()
1018 wait_on_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY, in control_first_done()
1023 clear_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_first_done()
1024 set_bit(DFL_FIRST_MOUNT_DONE, &ls->ls_recover_flags); in control_first_done()
1123 set_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_prep()
1125 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gdlm_recover_prep()
1126 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recover_prep()
1130 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gdlm_recover_prep()
1187 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recover_done()
1190 clear_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_done()
1192 wake_up_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY); in gdlm_recover_done()
1208 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_recovery_result()
1216 if (test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recovery_result()
1236 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recovery_result()
1262 ls->ls_recover_flags = 0; in gdlm_mount()
1310 set_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags); in gdlm_mount()
1331 ls->ls_first = !!test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in gdlm_mount()
1350 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_first_done()
1362 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_unmount()
1368 set_bit(DFL_UNMOUNT, &ls->ls_recover_flags); in gdlm_unmount()