From e2ec1dbfd68f410bb3318af7fce3867c1d38a8c0 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 13 Oct 2003 17:48:36 +0000 Subject: [PATCH] - add some assertions to the lock reprocessing code - print a CERROR if ldlm_run_ast_work is called with ns_lock held --- lustre/ldlm/ldlm_internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/ldlm/ldlm_internal.h b/lustre/ldlm/ldlm_internal.h index e16686c..ffd74e3 100644 --- a/lustre/ldlm/ldlm_internal.h +++ b/lustre/ldlm/ldlm_internal.h @@ -16,6 +16,7 @@ void ldlm_lock_decref_internal(struct ldlm_lock *, __u32 mode); void ldlm_add_ast_work_item(struct ldlm_lock *lock, struct ldlm_lock *new, void *data, int datalen); int ldlm_reprocess_queue(struct ldlm_resource *res, struct list_head *queue); +int ldlm_run_ast_work(struct ldlm_namespace *, struct list_head *rpc_list); typedef int (*ldlm_processing_policy)(struct ldlm_lock *lock, int *flags, int first_enq, ldlm_error_t *err); -- 1.8.3.1