From 4311cdaa832fc4a444d48e50174dde09f21146d2 Mon Sep 17 00:00:00 2001 From: Bobi Jam Date: Mon, 22 Dec 2014 12:36:59 +0800 Subject: [PATCH] LU-6042 osc: osc_object_ast_clear() LBUG An OSC object could be destroyed with AGL locks waiting for granted, so we'd get rid of the osc_object_ast_clear() assertion that its dlm locks all getting granted. Signed-off-by: Bobi Jam Change-Id: I47f6c9a5f5b57291e8452713af417310f25a5e03 Reviewed-on: http://review.whamcloud.com/13163 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Jinshan Xiong Reviewed-by: Niu Yawei Reviewed-by: Oleg Drokin --- lustre/osc/osc_object.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lustre/osc/osc_object.c b/lustre/osc/osc_object.c index bd26422..b883641 100644 --- a/lustre/osc/osc_object.c +++ b/lustre/osc/osc_object.c @@ -209,7 +209,6 @@ static int osc_object_ast_clear(struct ldlm_lock *lock, void *data) { ENTRY; - LASSERT(lock->l_granted_mode == lock->l_req_mode); if (lock->l_ast_data == data) lock->l_ast_data = NULL; RETURN(LDLM_ITER_CONTINUE); -- 1.8.3.1