From be88740237823bbcf2ed6b719bbcd6296aa7b288 Mon Sep 17 00:00:00 2001 From: tianzy Date: Wed, 1 Apr 2009 12:15:37 +0000 Subject: [PATCH] Branch b_release_1_8_0 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 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index d5bb2b9..c82180b 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -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)) { -- 1.8.3.1