Lines Matching refs:ls_recover_flags
594 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gfs2_control_func()
595 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gfs2_control_func()
741 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gfs2_control_func()
766 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
872 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
873 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
874 set_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_mount()
912 ls->ls_recover_flags); in control_mount()
923 lvb_gen, ls->ls_recover_flags); in control_mount()
932 lvb_gen, ls->ls_recover_flags); in control_mount()
937 clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in control_mount()
938 set_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags); in control_mount()
961 if (test_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags) || in control_first_done()
962 !test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in control_first_done()
963 !test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in control_first_done()
966 start_gen, block_gen, ls->ls_recover_flags); in control_first_done()
983 wait_on_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY, in control_first_done()
988 clear_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in control_first_done()
989 set_bit(DFL_FIRST_MOUNT_DONE, &ls->ls_recover_flags); in control_first_done()
1084 set_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_prep()
1086 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gdlm_recover_prep()
1087 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recover_prep()
1091 set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); in gdlm_recover_prep()
1139 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recover_done()
1142 clear_bit(DFL_DLM_RECOVERY, &ls->ls_recover_flags); in gdlm_recover_done()
1144 wake_up_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY); in gdlm_recover_done()
1155 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_recovery_result()
1163 if (test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gdlm_recovery_result()
1183 if (!test_bit(DFL_UNMOUNT, &ls->ls_recover_flags)) in gdlm_recovery_result()
1209 ls->ls_recover_flags = 0; in gdlm_mount()
1257 set_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags); in gdlm_mount()
1278 ls->ls_first = !!test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags); in gdlm_mount()
1297 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_first_done()
1309 if (test_bit(DFL_NO_DLM_OPS, &ls->ls_recover_flags)) in gdlm_unmount()
1315 set_bit(DFL_UNMOUNT, &ls->ls_recover_flags); in gdlm_unmount()