From patchwork Wed Jan 10 21:13:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghava Aditya Renukunta X-Patchwork-Id: 10156137 Return-Path: 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 A34DD60231 for ; Wed, 10 Jan 2018 21:13:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 970A81FF29 for ; Wed, 10 Jan 2018 21:13:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8AF10285BE; Wed, 10 Jan 2018 21:13:33 +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=-6.9 required=2.0 tests=BAYES_00,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 E03651FF29 for ; Wed, 10 Jan 2018 21:13:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752681AbeAJVN3 (ORCPT ); Wed, 10 Jan 2018 16:13:29 -0500 Received: from mail-sn1nam01on0077.outbound.protection.outlook.com ([104.47.32.77]:14976 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751438AbeAJVNZ (ORCPT ); Wed, 10 Jan 2018 16:13:25 -0500 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=eQY13m+7acuAUuubne7trb73iqTba+5frfhUhxPHzaM=; b=aqYKgq/ggmzr95eJEiY71pt6hU46Qp1S89Os/ihzW693mUgpAcBpp8IAYzOhilgQm7t/cNS11RV+q3jdc2lAkAUt7j5M6b4i7dkmPkx3c7TQzruazcE2EWjiMhG9tGO4/4/3gUIRpGmoKxVcSWCM90UXzpFLwfEGu08rZEAksmc= Received: from BLUPR0201CA0015.namprd02.prod.outlook.com (2a01:111:e400:52e7::25) by BN1PR02MB134.namprd02.prod.outlook.com (2a01:111:e400:20::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Wed, 10 Jan 2018 21:13:24 +0000 Received: from BY2FFO11OLC008.protection.gbl (2a01:111:f400:7c0c::156) by BLUPR0201CA0015.outlook.office365.com (2a01:111:e400:52e7::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.386.5 via Frontend Transport; Wed, 10 Jan 2018 21:13:23 +0000 Authentication-Results: spf=pass (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=bestguesspass action=none header.from=microsemi.com; Received-SPF: Pass (protection.outlook.com: domain of microsemi.com designates 208.19.100.21 as permitted sender) receiver=protection.outlook.com; client-ip=208.19.100.21; helo=avsrvexchhts1.microsemi.net; Received: from avsrvexchhts1.microsemi.net (208.19.100.21) by BY2FFO11OLC008.mail.protection.outlook.com (10.1.14.255) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.345.12 via Frontend Transport; Wed, 10 Jan 2018 21:12:51 +0000 Received: from localhost (10.181.72.13) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server id 14.3.361.1; Wed, 10 Jan 2018 13:13:10 -0800 From: Raghava Aditya Renukunta To: , , CC: , , , Subject: [PATCH 2/2] scsi: aacraid: Delay for rescan worker needs to be 10 seconds Date: Wed, 10 Jan 2018 13:13:10 -0800 Message-ID: <20180110211310.23876-2-RaghavaAditya.Renukunta@microsemi.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20180110211310.23876-1-RaghavaAditya.Renukunta@microsemi.com> References: <20180110211310.23876-1-RaghavaAditya.Renukunta@microsemi.com> MIME-Version: 1.0 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)(376002)(346002)(39380400002)(396003)(39860400002)(2980300002)(438002)(199004)(189003)(106466001)(4326008)(107886003)(16586007)(316002)(5660300001)(8676002)(50226002)(81166006)(356003)(76176011)(2950100002)(69596002)(81156014)(2201001)(68736007)(59450400001)(8936002)(97736004)(51416003)(54906003)(77096006)(76506005)(53936002)(48376002)(478600001)(47776003)(57986006)(36756003)(104016004)(2906002)(110136005)(72206003)(1076002)(106002)(50466002)(305945005)(86362001)(226643001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR02MB134; H:avsrvexchhts1.microsemi.net; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC008; 1:AjQdNnzqZZ33p5DzuG4cjoQ809/CQ+2Gys59iQzK1u0xlidC1oWP9kNrkE2A3bdLQGdp8Zoa4gtR/iwbD/E1lVll4kBINt2a5m+m2LDRyQ1mLHIhb/UI6W1WLesVdR5N X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 01336cd0-38f9-491a-431e-08d5586ee8cd X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307)(7153060); SRVR:BN1PR02MB134; X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB134; 3:fakex0E1orAfla0UO4mDZNU0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DzMtEkqNFzHPLzj3P64jNPrdMFbC+XJkL1dxgiJNCrod3tvQ9OuShRfkx8rEE+v3BHa/SPZnI8RQBGFQARrhPf7o0hJU0JyHFZ+UqT/E6Vf3z0DL3+GIVjxtv07waHh6b87rTAVZGa1Wsu2DkX78poJr1r3ahj9MnzapaHDyufD2Nr069pQ1yjXc+jR4sYjXVxeIEOtT8qS7lvueQa3lyxstBCJj2EQD5aha/9utJnL41W46Vl5RXf8ea2QSh5RcrAr8rczAlGvAoukDhefHYa8986gNqZo/wYjMgpZm7v2KPxG6+L30OPxNhnIEHVJ5+P1MQqaH5WU6mLTQOObrM/4/NtnvSjAWEzHtRJqGmZ6logLNlpCmEq0WhSRyTm+FstIpTENZqewZp+iVyc9EBv0VFXa/G5IjyIE05HPQW84RUoe8Zuh1B4uxaymfOOBnKWVhT+v+NbuH5/JzTWQv+R8V6VlGWnFFIRIvH3RtP6ho6YXUWIjcD09W6BmSx+d5iv/uWPBYINVQ9QsJo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(72170198267865); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(3231023)(944501075)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041268)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:BN1PR02MB134; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN1PR02MB134; X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB134; 4:4hMu8bwM/wwzmIrWGeC/6xAcqJmIa2Sgj+AvhcagJb77LFtMO4fMYt9/VLnZtNkN0L6GrS20Nsd857yejEvn4YIBAdc0aOfoYde/bOtUh3yYic3cWrl6kN8inE6q2X3AgodQ2tRTgvc/RxCWold5fuld9m+g6tzN/BMq0QENTclsdlv46eEIP+Ox15RXiLB8XbArevoZ73UtI+J0cjJ6RcB/noYtwp51+DtNom66GlMI4jYSCy77naUbB3RYuhLhKyJ+WnyXDmxfykvOi41OW/6q6wRObOjgOqkloER4epuLjpBV6FLb6LNxQIXoZJ7+ X-Forefront-PRVS: 0548586081 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR02MB134; 23:MQMDvt41l+V0N9cBR6S/i301a1DGNR+zmzWVvln7sq?= =?us-ascii?Q?OVwVKCvmCT5Rfi3N7/gPgCB8LVCTXayWqqjLPofH/9R97Xu9kbEHQpBBabAJ?= =?us-ascii?Q?PVlDuC7lNOVO2aBUYyb0vLfgbTPLxvYNjoln7Ayo/iD0yWH+/EfmP/V+akFL?= =?us-ascii?Q?l1z4NjjW9Z0wI0d2iPeXN86gFdKe8IK4ovDaxm5WomDTXKzNTnXA4XkwYJH2?= =?us-ascii?Q?E2kJtFdVu300JIJfgZx+b6B8gGcvP5vaFxSPo24ETRQ9xDBjnYN0dK93gtEB?= =?us-ascii?Q?hqFpGVzQX6Zo37znf7J7UtDMxkQ67z9QCz9WoSMe9tb0rGgN7jRM0j8oWocL?= =?us-ascii?Q?BY+4yJdlbzD9jb7GU0SV7/bF0nEYoN7Y2Vl/JZiZAmmgrq9mQNDyFMCswWtB?= =?us-ascii?Q?pAkoeO82PBWpNSnLzHJYyCBj/H8PfuFOF5KSzDASvSiWZ/7IjAGYFA7DXP/E?= =?us-ascii?Q?UOJ5+e0fQ76tx/L0hfMmpz2b4WsXCF01ZCtCXZ9Nj7FROXAgntUQBOq7JwNO?= =?us-ascii?Q?62e4kRAXSW0WH/iiaN4GsufJSzwyn8/7F3mXBRycn5znSv101Mjy9DQRy+Vh?= =?us-ascii?Q?0LfOBLavKfCT5SxvNhHnEtl/q//Tgy+MmMUS2cRftuJ32ZvafECKDZV4+oIx?= =?us-ascii?Q?uO3iJ6E1IHPVHgOACc4+DtW/pEJyN78sWVhtP/DGVg8bABfevLhjbalfruUq?= =?us-ascii?Q?HzNvIkkY/ymFXkffur+vloEgqlVHCWM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b7oFoPg=; 24:jCAU13X2o3U56ChhIfTDyfjGzqTR4EH6alH2Epftq8p+DB185u0CF6VAfHGZ9j/cuxum1LkEUjIb31rU9EAmeI5Su5qu28V8XbZD0SgsFgs=; 7:8kxhbgmo5xd/9QUAv3WvQDyGzkZBh6hlMiZ9BuJH2v3myqgg60P0bLyMwARvT+gsjdkP4Zh7KfUQyXaAPVfertmGXF8NWVeICtE9nqKEkTueXztzKHJ8uaKMnXGYdZLGJqbg3kfzYYkn9pZ+T/Bx3E4aGpyJI8E0P6b2vsrYUCumdXeKQROKGNDZVW9LqInGqnUHnSIAj+b4ThU0dlHOqFlhJI/4IoetxYWhXs0N3JG0ZcEAE3kSUYxzVTQVPVl+ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2018 21:12:51.5866 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 01336cd0-38f9-491a-431e-08d5586ee8cd 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: BN1PR02MB134 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The delay for the rescan worker needs to 10 seconds, missed the HZ in there. Fixes: a1367e4adee207fe (scsi: aacraid: Reschedule host scan in case of failure) Signed-off-by: Raghava Aditya Renukunta --- drivers/scsi/aacraid/aacraid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index 3e8bfcf..3ab3231 100644 --- a/drivers/scsi/aacraid/aacraid.h +++ b/drivers/scsi/aacraid/aacraid.h @@ -1340,7 +1340,7 @@ struct fib { #define AAC_DEVTYPE_ARC_RAW 2 #define AAC_DEVTYPE_NATIVE_RAW 3 -#define AAC_SAFW_RESCAN_DELAY 10 +#define AAC_SAFW_RESCAN_DELAY (10 * HZ) struct aac_hba_map_info { __le32 rmw_nexus; /* nexus for native HBA devices */