Whamcloud - gitweb
Branch b_release_1_8_0
authortianzy <tianzy>
Wed, 1 Apr 2009 12:15:37 +0000 (12:15 +0000)
committertianzy <tianzy>
Wed, 1 Apr 2009 12:15:37 +0000 (12:15 +0000)
fix that OST_CONNECT isn't answered when all ll_ost_ios sleep for
the recovery of mds
b=18307
i=shadow
i=adilger

lustre/ldlm/ldlm_lib.c

index d5bb2b9..c82180b 100644 (file)
@@ -209,12 +209,7 @@ int client_obd_setup(struct obd_device *obddev, obd_count len, void *buf)
         /* In a more perfect world, we would hang a ptlrpc_client off of
          * obd_type and just use the values from there. */
         if (!strcmp(name, LUSTRE_OSC_NAME)) {
-#ifdef __KERNEL__
-                /* Can be removed in Lustre 1.8, for compatibility only */
-                rq_portal = OST_IO_PORTAL;
-#else
                 rq_portal = OST_REQUEST_PORTAL;
-#endif
                 rp_portal = OSC_REPLY_PORTAL;
                 connect_op = OST_CONNECT;
         } else if (!strcmp(name, LUSTRE_MDC_NAME)) {