Whamcloud - gitweb
b=19259
authorzhanghc <zhanghc>
Wed, 17 Jun 2009 07:36:28 +0000 (07:36 +0000)
committerzhanghc <zhanghc>
Wed, 17 Jun 2009 07:36:28 +0000 (07:36 +0000)
add a NULL 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

index 38d0ad0..f039f9b 100644 (file)
@@ -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