Message ID | 1494434393-17261-7-git-send-email-RaghavaAditya.Renukunta@microsemi.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8EBBB60236 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FE6A284D5 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74CDF28552; Wed, 10 May 2017 06:24:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00, DATE_IN_FUTURE_06_12, DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E50DA284D5 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751690AbdEJGYQ (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 10 May 2017 02:24:16 -0400 Received: from mail-by2nam01on0076.outbound.protection.outlook.com ([104.47.34.76]:3610 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751625AbdEJGYM (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 10 May 2017 02:24:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mscc365.onmicrosoft.com; s=selector1-microsemi-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yzb9x915npfdwRpYAcrsyeaEbjV85219U4K/EiYS38c=; b=KYASAqZw0GwmESre/FXKA1czxUBRHvFmpO7PBuG9lcTtrR9UHd/SILi8YUTYvUUW0LCv6u9bNcmX4d7VqKL/yy5zqCbgm3WEgBs3fNx3TqKWNZFzl9J4MPzezOBnQCNP31rKlLj6jZahzlGEX8DKBP6QsjdakaTOVq3P+k0MIHI= Received: from CY4PR02CA0034.namprd02.prod.outlook.com (10.175.57.148) by BLUPR0201MB1891.namprd02.prod.outlook.com (10.162.239.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11; Wed, 10 May 2017 06:24:09 +0000 Received: from BN1BFFO11FD011.protection.gbl (2a01:111:f400:7c10::1:131) by CY4PR02CA0034.outlook.office365.com (2603:10b6:903:117::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11 via Frontend Transport; Wed, 10 May 2017 06:24:09 +0000 Authentication-Results: spf=neutral (sender IP is 208.19.100.21) smtp.mailfrom=microsemi.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=microsemi.com; Received-SPF: Neutral (protection.outlook.com: 208.19.100.21 is neither permitted nor denied by domain of microsemi.com) Received: from avsrvexchhts1.microsemi.net (208.19.100.21) by BN1BFFO11FD011.mail.protection.outlook.com (10.58.144.74) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1047.9 via Frontend Transport; Wed, 10 May 2017 06:24:09 +0000 Received: from localhost (10.181.72.13) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server (TLS) id 14.3.339.0; Tue, 9 May 2017 23:24:03 -0700 From: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> To: <jejb@linux.vnet.ibm.com>, <martin.petersen@oracle.com>, <linux-scsi@vger.kernel.org> CC: <David.Carroll@microsemi.com>, <Gana.Sridaran@microsemi.com>, <Scott.Benesh@microsemi.com>, <Prasad.Munirathnam@microsemi.com> Subject: [PATCH V2 06/19] aacraid: Change wait time for fib completion Date: Wed, 10 May 2017 09:39:40 -0700 Message-ID: <1494434393-17261-7-git-send-email-RaghavaAditya.Renukunta@microsemi.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494434393-17261-1-git-send-email-RaghavaAditya.Renukunta@microsemi.com> References: <1494434393-17261-1-git-send-email-RaghavaAditya.Renukunta@microsemi.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.100.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(39410400002)(39840400002)(39850400002)(39450400003)(39400400002)(2980300002)(199003)(189002)(9170700003)(2906002)(38730400002)(106466001)(107886003)(4326008)(86362001)(189998001)(305945005)(72206003)(2201001)(356003)(53936002)(54906002)(36756003)(8936002)(478600001)(8676002)(50226002)(50986999)(50466002)(5003940100001)(76176999)(77096006)(104016004)(105586002)(47776003)(6666003)(81166006)(2950100002)(5660300001)(76506005)(57986006); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0201MB1891; H:avsrvexchhts1.microsemi.net; FPR:; SPF:Neutral; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD011; 1:q5UTJWxwQmSgaVEvhdzFhJMjRzBUKoxwNA1bF78F5CDoyR/RJXOFuOZR1zvgYI7Xv/3eJ2A31JeBFDB/8hgVTW6iEcJWhEzr+qnyGEJOUbhg1ktv8R2dVtKNHxApEifp3Ni9LU3Q875WKdhP7VW0gyoS6LFi+PJLJcJrSJpVhkdT+l4Qv/5ebdGlR2tp0Yfl6GA5BedV1eRMU2nrJZhEvQLzZtgT1IvxRysLaxjShRLVWmi3/YFQeGnfn1/xTiep5e99kNlgQ5WF0fDEP9+nJOsZUil2YrhxNbqp8AEAP6RrwNDMDnwXglmcu1glBXwoEkx0itSJQgMyei3y4yTy857P/iqb6SD39HI7KvxzcloEMnEvpXe4F736g4rgJCR72dQ246lzNbbUTm7oCVxx6K9t+vhWUNrUmQJij0V6BHGKceEmTyv2kZLkVR+Njs2kKFHztQ8htiOWVb+2+f3oRWlYlV6xuvrFvCRw3cVbj/T9cY+78nd7edsfq0yfGXCJxNuTjolcoNFt8MZWfz8O/5sWVcdNapEVuMSVoZz710a6sv50rhCk/0Tz55Rx2JqfQ30S5pkXUjNkOF7yZtP7bQ== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: da51cf1c-ab29-4368-51cf-08d4976d2b04 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:BLUPR0201MB1891; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0201MB1891; 3:cpzr1sjcsCq+6yoKT2An8ZVHaRUJ3XKWvHMRK/5C5+2wS8lqaNU0vBrKfot8wrsLIDMqTGXgrynB6pnhPC5ezhNxeuElq4jC0EU+fBp/sNrDYD5DUt92DfnYkhv8S5NE85nZmq5xgZfpVkL3HjMRu2IBALCmgYAXzdDOGys6WPGWI7B7RLD3tkhHDC0hoBfiIAnjD5cui1Js1DxmIvLdD/eSXXA4aVbbVbD/q1SiZ0f3Ea8IybWwKEhVUvpv4K+l+Ee8a6bTNLF4bboqaueBZKiHx9uOIlQXKhJeY+5oRZ0RPJmoKfSOPeZ3dly/jOhh1Z6HshNrr/18Bej2Vr7b2viL/SrBtirwxqo/+InZEcS6lZjcYYBUH+ygXqnY0E1REmvfulOPYgtYYNRBkxL8enQfi3dQKYeMR21GggeJuw+Ie3BMrh08QuzctI1kc86R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COhwv97VWbn0IBs7AMTJR4gqYzSp6fTlhks5I/uDQ+ebd2VlcnHoGA5r6I1XTnqOfE9eTCHJXjgohPLbywsADIkOconMYUfkKeaX0GGzUpYFwMa+B6T6PIBIukuJzQXyPbyyfux4imAmTpcxIV4/e0b6Z1/U/NYLzcKGWVbSdXM3FNHzKCzI+cNE9+vsJKhP4MY/97Kxux5fvARhB+l0e9ShGzUZmtc51F81fUPhjLBJIdaHWaSu+w8VKXHP6uwmTDsLemRRSz1e36yTaQ5mTD7qQY5OMdndPdj+BAYzFSuUDmOh0+86QLTauj7w8D/YeKo86jXYY4Qc X-Microsoft-Antispam-PRVS: <BLUPR0201MB1891F0A4B3ABCADE7413A213F0EC0@BLUPR0201MB1891.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(72170198267865); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(13015025)(5005006)(13023025)(13024025)(13017025)(13018025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BLUPR0201MB1891; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0201MB1891; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0201MB1891; 4:BVI7h5CX9gl0jutD0KTWTIANk6gTXUbx3ywswQIj9Vvo3HFLtBzbJ2HpitRbuWLCiLsB17pcjNWBNdYbLgJ1gHeLko3JpPF0MkGQLKp7X255IF/V5mnpuOpuz8ZI2D/9jghCHtVBUJktfNMURB2Hbfjvtci50/jGXnfaVpEiED7TooFdP4Q0ZP0IYkrdgbiF8ZEGEOldv7cuhhAofhT4qXVnn2IWF3olbONzvUs4Mkz3jq7e/FzIt5TuQdih6VLGuadYx/4Tf799oUUX9AKc4ecXGV2VwCPXbP3Atm3q2q8U4PHkbBcDEKEgKxU+4eaSUAZuohi7eEhBHQ6X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XJZqdva2KpNog/XKZO2dXRhU?= =?us-ascii?Q?w24zOAXaLf5sMPs8MtRSxu4CYdfcte9UUqyXfmGTSAhVpD21D8iZ6i6F+vPb?= =?us-ascii?Q?IFJEDjA3SgvMO4/2cldi2EGfqLu0gYmrYvWbeTt/sJ+v8Mo3bgTW/Al+pG4x?= =?us-ascii?Q?QCAZ1z9xanlaTLf1tOK5dQQS/4IDQzZ1ngTe+J1srdcezpB7AWcxDgQv2HmP?= =?us-ascii?Q?rz0e6KG9r/XYn+oLtx9eH3S2Ia53ncL4Qy96E5q0n5H64Im9/nDHKNE8KFEx?= =?us-ascii?Q?8WUByQzbnXVWO3hADSB0upzozYaT1A+5QH3wmMifuCnF3h5K5oY6iaNJknZG?= =?us-ascii?Q?EuwRYAYGk58xHAHY4CG9FHAeFtNbSu+MjVwSVP2/pGJMto1sTgs91dpGvTub?= =?us-ascii?Q?xFRofjepvQIk+x7ADfiREw8ZPmZR+e/4kNvF8poAiuSbS50kf44cBgYgaRYl?= =?us-ascii?Q?xT5A687SiRVUIAAVs6rt/U+iq/10mOsFghcy1rBCi4QakkOdGsEKr3LSn152?= =?us-ascii?Q?bAOZVpH98b87VOx+hwrIbCwTJN4RRAGv+ERuUCt++BsN5KGfuTL2vcaW+u65?= =?us-ascii?Q?mf70tBPT6ccLEaqJg9ml0GspTkMzwXpyo9yj5rWIWFexgsyBLOP0S8F2h3Qj?= =?us-ascii?Q?grFvPFHFurIwLeMEPQoYfcZydF1evFwKsOsf+69Y0Bytr6GEu87B7Gu7we4L?= =?us-ascii?Q?citOm0KszUGyvU49DloLPJV0w4oU24F2ZpZmwnVfGYcCuWSF8UQ5YUmkTVGZ?= =?us-ascii?Q?w/kIwfs9ysBIuGq7syai4+qLnOCb72AZuBmaLsgLT0eqOHynNwA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0201MB1891; 6:vqs+kYv6q01It711ycF6CrilEFj3oeGxprHXd65Px62njusAQEOyVzLXTEQTIBDo83a36HU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XEMzjhkt3HzyG1T74UqBQxkgTEb9kHxt2Egm51YiAKaVK5tFWarg3EStGu9ADYHy0frU7l8m96vyBHOWp10AYToWkAAw== X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2017 06:24:09.1583 (UTC) X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad; Ip=[208.19.100.21]; Helo=[avsrvexchhts1.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0201MB1891 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 9ef98e4..f6a11af 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c @@ -684,8 +684,8 @@ static int aac_eh_abort(struct scsi_cmnd* cmd) (fib_callback) aac_hba_callback, (void *) cmd); - /* Wait up to 2 minutes for completion */ - for (count = 0; count < 120; ++count) { + /* Wait up to 15 secs for completion */ + for (count = 0; count < 15; ++count) { if (cmd->SCp.sent_command) { ret = SUCCESS; break; @@ -840,8 +840,8 @@ static int aac_eh_reset(struct scsi_cmnd* cmd) (fib_callback) aac_hba_callback, (void *) cmd); - /* Wait up to 2 minutes for completion */ - for (count = 0; count < 120; ++count) { + /* Wait up to 15 seconds for completion */ + for (count = 0; count < 15; ++count) { if (cmd->SCp.sent_command) { ret = SUCCESS; break;