Home
last modified time | relevance | path

Searched refs:convert_type (Results 1 – 8 of 8) sorted by relevance

/linux/fs/ocfs2/dlm/
H A Ddlmconvert.c113 mlog(0, "type=%d, convert_type=%d, new convert_type=%d\n", in __dlmconvert_master()
114 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
119 if (lock->ml.convert_type != LKM_IVMODE) { in __dlmconvert_master()
181 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
219 lock->ml.convert_type = type; in __dlmconvert_master()
238 lock->ml.convert_type = LKM_IVMODE; in dlm_revert_pending_convert()
255 mlog(0, "type=%d, convert_type=%d, busy=%d\n", lock->ml.type, in dlmconvert_remote()
256 lock->ml.convert_type, res->state & DLM_LOCK_RES_IN_PROGRESS); in dlmconvert_remote()
269 if (lock->ml.convert_type ! in dlmconvert_remote()
[all...]
H A Ddlmthread.c365 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
374 target->ml.convert_type)) { in dlm_shuffle_lists()
382 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
384 target->ml.convert_type; in dlm_shuffle_lists()
392 target->ml.convert_type)) { in dlm_shuffle_lists()
398 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
400 target->ml.convert_type; in dlm_shuffle_lists()
415 target->ml.convert_type, target->ml.node); in dlm_shuffle_lists()
417 target->ml.type = target->ml.convert_type; in dlm_shuffle_lists()
418 target->ml.convert_type in dlm_shuffle_lists()
[all...]
H A Ddlmast.c387 lock->ml.type, lock->ml.convert_type); in dlm_proxy_ast_handler()
389 if (lock->ml.convert_type != LKM_IVMODE) { in dlm_proxy_ast_handler()
390 lock->ml.type = lock->ml.convert_type; in dlm_proxy_ast_handler()
391 lock->ml.convert_type = LKM_IVMODE; in dlm_proxy_ast_handler()
H A Ddlmunlock.c216 mlog(0, "clearing convert_type at %smaster node\n", in dlmunlock_common()
218 lock->ml.convert_type = LKM_IVMODE; in dlmunlock_common()
227 BUG_ON(lock->ml.convert_type != LKM_IVMODE); in dlmunlock_common()
229 BUG_ON(lock->ml.convert_type == LKM_IVMODE); in dlmunlock_common()
277 lock->ml.convert_type = LKM_IVMODE; in dlm_commit_pending_cancel()
H A Ddlmrecovery.c1215 ml->convert_type = lock->ml.convert_type; in dlm_add_lock_to_array()
1237 dummy.ml.convert_type = LKM_IVMODE; in dlm_add_dummy_lock()
1250 ml->convert_type == LKM_IVMODE && in dlm_is_dummy_lock()
1856 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1876 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1916 if (ml->convert_type != LKM_IVMODE) { in dlm_process_recovery_data()
1918 newlock->ml.convert_type = ml->convert_type; in dlm_process_recovery_data()
2001 ml->type, ml->convert_type, m in dlm_process_recovery_data()
[all...]
H A Ddlmlock.c86 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
384 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()
H A Ddlmdebug.c65 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
419 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
H A Ddlmcommon.h330 s8 convert_type; member