From b2903c1ae5fa353103223d997462a436ed5bb181 Mon Sep 17 00:00:00 2001 From: zhanghc Date: Tue, 16 Jun 2009 11:39:30 +0000 Subject: [PATCH 1/1] b=19259 add a NULL signal proc in osc_destroy to allow the blocking thread to process LUSTRE_FATAL_SIGS i=adilger@sun.com i=johann@sun.com --- lustre/osc/osc_request.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 9f3a6c4..7413509 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -743,7 +743,8 @@ static int osc_destroy(struct obd_export *exp, struct obdo *oa, if (!(cli->cl_import->imp_connect_flags_orig & OBD_CONNECT_MDS)) { req->rq_interpret_reply = osc_destroy_interpret; if (!osc_can_send_destroy(cli)) { - struct l_wait_info lwi = { 0 }; + struct l_wait_info lwi = LWI_INTR(LWI_ON_SIGNAL_NOOP, + NULL); /* * Wait until the number of on-going destroy RPCs drops -- 1.8.3.1