From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddie Wai" Subject: [PATCH 0/7 v2] BNX2I: Patch set to fix various disconnect conditions Date: Thu, 1 Jul 2010 15:34:49 -0700 Message-ID: <1278023696-17817-1-git-send-email-eddie.wai@broadcom.com> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mms3.broadcom.com ([216.31.210.19]:4362 "EHLO MMS3.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758990Ab0GAWd4 (ORCPT ); Thu, 1 Jul 2010 18:33:56 -0400 In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: James Bottomley Cc: Mike Christie , open-iscsi , linux-scsi , Michael Chan , Anil Veerabhadrappa , Ben Li , Eddie Wai Hello, This patch set contains various code fixes and optimization which mostly deals with disconnect and clean up issues. The following is a list of changes for v2: 1) Extended the disconnect timeout from 10s to 20s as the 10g firmware has a FIN retransmission timeout of 16s. This fixes one of the iscsi_endpoint leak issues when the target is slow or non-responsive to our TCP FIN sent. 2) Removed the unnecessary read lock in the bnx2i_stop. 3) Optimized various code paths based on Mike Christie's comments. Your comments are greatly appreciated. Please review, thanks. Eddie Eddie Wai (7): BNX2I: Separated the hardware's cleanup procedure from ep_disconnect BNX2I: Created an active linklist which holds bnx2i endpoints BNX2I: Optimized the bnx2i_stop connection clean up procedure BNX2I: Fine tuned conn destroy and context destroy timeout values BNX2I: Fixed the TCP graceful termination initiation BNX2I: Added host param ISCSI_HOST_PARAM_IPADDRESS BNX2I: Updated version from 2.1.1 to 2.1.2 drivers/scsi/bnx2i/bnx2i.h | 14 +++ drivers/scsi/bnx2i/bnx2i_hwi.c | 4 + drivers/scsi/bnx2i/bnx2i_init.c | 39 ++++++- drivers/scsi/bnx2i/bnx2i_iscsi.c | 229 +++++++++++++++++++++++++++++--------- 4 files changed, 226 insertions(+), 60 deletions(-)