Whamcloud - gitweb
- add some assertions to the lock reprocessing code
authorphil <phil>
Mon, 13 Oct 2003 17:48:36 +0000 (17:48 +0000)
committerphil <phil>
Mon, 13 Oct 2003 17:48:36 +0000 (17:48 +0000)
- print a CERROR if ldlm_run_ast_work is called with ns_lock held

lustre/ldlm/ldlm_internal.h

index e16686c..ffd74e3 100644 (file)
@@ -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);