From patchwork Mon Oct 12 22:57:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vu Pham X-Patchwork-Id: 53257 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9CN8mFp008004 for ; Mon, 12 Oct 2009 23:08:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933024AbZJLXDP (ORCPT ); Mon, 12 Oct 2009 19:03:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933028AbZJLXDP (ORCPT ); Mon, 12 Oct 2009 19:03:15 -0400 Received: from p02c12o145.mxlogic.net ([208.65.145.78]:45501 "EHLO p02c12o145.mxlogic.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933024AbZJLXDO (ORCPT ); Mon, 12 Oct 2009 19:03:14 -0400 Received: from unknown [63.251.237.3] (EHLO p02c12o145.mxlogic.net) by p02c12o145.mxlogic.net(mxl_mta-6.4.0-0) with ESMTP id 7b5b3da4.a7eb7b90.74025.00-515.158835.p02c12o145.mxlogic.net (envelope-from ); Mon, 12 Oct 2009 17:03:19 -0600 (MDT) X-MXL-Hash: 4ad3b5b75a091523-446e6afc676913c2795f0283ce6f34693803da64 Received: from unknown [63.251.237.3] by p02c12o145.mxlogic.net(mxl_mta-6.4.0-0) with SMTP id c74b3da4.0.73309.00-009.157515.p02c12o145.mxlogic.net (envelope-from ); Mon, 12 Oct 2009 16:58:45 -0600 (MDT) X-MXL-Hash: 4ad3b4a52f4cc779-e0eab725643ff9a039d2ac983d193042f5a26db6 Received: from [10.2.1.145] ([10.2.1.145]) by mtiexch01.mti.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 12 Oct 2009 15:59:47 -0700 Message-ID: <4AD3B443.7040107@mellanox.com> Date: Mon, 12 Oct 2009 15:57:07 -0700 From: Vu Pham User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Linux RDMA list Subject: [ofa-general][PATCH 2/4] SRP fail-over faster X-OriginalArrivalTime: 12 Oct 2009 22:59:47.0484 (UTC) FILETIME=[B227CDC0:01CA4B8F] X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2009092101)] X-MAIL-FROM: X-SOURCE-IP: [63.251.237.3] X-AnalysisOut: [v=1.0 c=1 a=dAMS5mMRZugA:10 a=xupnbh4h0YLOHZnncC45HQ==:17 ] X-AnalysisOut: [a=CbDCq_QkAAAA:8 a=PwJ2IG6fAAAA:8 a=AUd_NHdVAAAA:8 a=NbrQc] X-AnalysisOut: [0a29IWiYzGOufAA:9 a=rHTT6KWIwyrYFfQ2VPQA:7 a=o8qFbBAQgBM_C] X-AnalysisOut: [cGpAyEFXrTUm04A:4 a=E3yz0KKPV6YA:10 a=JfD0Fch1gWkA:10] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Index: ofed_kernel/drivers/infiniband/ulp/srp/ib_srp.c =================================================================== --- ofed_kernel.orig/drivers/infiniband/ulp/srp/ib_srp.c +++ ofed_kernel/drivers/infiniband/ulp/srp/ib_srp.c @@ -421,7 +421,6 @@ static void srp_disconnect_target(struct PFX "Sending CM DREQ failed\n"); return; } - wait_for_completion(&target->done); } static void srp_remove_work(struct work_struct *work) @@ -1301,7 +1300,6 @@ static int srp_cm_handler(struct ib_cm_i shost_printk(KERN_ERR, target->scsi_host, PFX "connection closed\n"); - comp = 1; target->status = 0; break;