From: phil Date: Mon, 13 Oct 2003 17:48:36 +0000 (+0000) Subject: - add some assertions to the lock reprocessing code X-Git-Tag: v1_7_0_51~2^7~407 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e2ec1dbfd68f410bb3318af7fce3867c1d38a8c0;p=fs%2Flustre-release.git - add some assertions to the lock reprocessing code - print a CERROR if ldlm_run_ast_work is called with ns_lock held --- 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);