From 4fbab8e24175662784339a0a8dab171c47147b51 Mon Sep 17 00:00:00 2001 From: zhanghc Date: Wed, 17 Jun 2009 07:28:42 +0000 Subject: [PATCH] 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 3218bb7..12b4be0 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -680,7 +680,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