Message ID | 20230815115156.343535-6-john.g.garry@oracle.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EEE11C04A6A for <linux-scsi@archiver.kernel.org>; Tue, 15 Aug 2023 11:53:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236886AbjHOLwv (ORCPT <rfc822;linux-scsi@archiver.kernel.org>); Tue, 15 Aug 2023 07:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236907AbjHOLwo (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Tue, 15 Aug 2023 07:52:44 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C8A1C9; Tue, 15 Aug 2023 04:52:43 -0700 (PDT) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37FAbNG2022039; Tue, 15 Aug 2023 11:52:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=PTSSjSgdanlQ2BRLdGmnjGmOraXs/HieJrziVIdEdNM=; b=WmE0LiSxJEfO+oOd6dp1O7Zi2TYxIPS3+H8IBgXWUTNSlh2AcLuJmXa8dRXRf7ynqVhO 5gN+hYaROA8K+wZKp5wdOrqlDpHW/bcsr6XiYkQZcn2TyeYXDdKONyE9pkv7f3b82pHF 4fsnCcj1zFAAGnKwvgDLFwaRkW995Ms9f6mNk5/psJkeYg16mfnMbCjpDxI7H+BFVjJ2 RUS9u4YXZxwRWtxQhV/7h0UPmzHvw9PfN/PsfMbjihIaSXOe3B5QyLjDe2YsGohZas2M 1Fvd2ViE/gPy0DCz2jxvOqUqRTXxgc1uv1XJGSXSr3NHjOuUdoQQCObFvPoXK5gVl0CL oQ== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3se30svgre-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 15 Aug 2023 11:52:30 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 37FAs7YI040345; Tue, 15 Aug 2023 11:52:29 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2104.outbound.protection.outlook.com [104.47.55.104]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3sey0qquvp-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 15 Aug 2023 11:52:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UnJfS6+gAMGV+aZspNu/fkzFdy7vh+LzdNFX4shwTv2O3m22+i9krFsX7/q4QQRGaAwDH1GFUFapLej/5vEjf8CIpVySxWfjzKJRzslzcg23mF7afknP2NloOP9f6fQsOYTWtLQrHxJc2Wk/ad8T5GoJWiYL/nLbYkaB3kQBdnbyrNVLmYPlFMbSs2xLsCCoLBzO3Q9rDFbutPoriPFWlCR6Mzckwx6vQ1PXtBGcSTXc9eKc+l1AQ54AWNdQHcYXXQp5VJ61jQzKINkEWGqkLRSsJieeobhFej9k5h+lTwXgEGtFiuYQAddOlgzCYN+OyloBQCJv6fDN4kOyfG792A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PTSSjSgdanlQ2BRLdGmnjGmOraXs/HieJrziVIdEdNM=; b=GcB00X36sCNlTmSVaUsYWq79DLeONrr4GcjJcWPEZollBRT68NinJBMJ61ZjsNZi5H+2qkakrhwzu+1XoI8nJNBHnyvJb6Hfi2tQfwebIZRoQrK3qdk8RMwPLXUrKCKxno4Bh0es2bUf3bAmJFvbYJbv3VUfO3lBFHmjku/H5x4d/q6r9cyLN7vZLEGjPvV7hLDo0m6A2m7vDL/NZXmRLZPtScO2BnEyTLZBhVhySIlfzqiefhv8K9Q04BlXkFi2Dh60bfQ8/lzHo3mMsxcqF5LUePVX83CihphSL6lfo9R32SLEKzlji/mzmmQNP3EuF6kjVtAtpgRZY8LYttGfng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PTSSjSgdanlQ2BRLdGmnjGmOraXs/HieJrziVIdEdNM=; b=yhukldPuC7LUBQgH4yilAswDxow0Quhiiy/rEezw2d5moOUXD4x/XaQLaw2WFCG4mp9cYaK7O3p1asdEVIJirXUtTzHRlwHNVwOWb0KD6BStWv5BAICHf/q7kKHV5+VwQ+fqWGuNrus2ftlkzSHsZfyZU5KXMYpIC1zjXRye18U= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by IA1PR10MB6710.namprd10.prod.outlook.com (2603:10b6:208:419::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.24; Tue, 15 Aug 2023 11:52:27 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::ebfd:c49c:6b8:6fce]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::ebfd:c49c:6b8:6fce%7]) with mapi id 15.20.6678.022; Tue, 15 Aug 2023 11:52:27 +0000 From: John Garry <john.g.garry@oracle.com> To: jejb@linux.ibm.com, martin.petersen@oracle.com, chenxiang66@hisilicon.com, artur.paszkiewicz@intel.com, yanaijie@huawei.com, jinpu.wang@cloud.ionos.com, dlemoal@kernel.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, John Garry <john.g.garry@oracle.com> Subject: [PATCH v2 05/10] scsi: libsas: Delete sas_ssp_task.retry_count Date: Tue, 15 Aug 2023 11:51:51 +0000 Message-Id: <20230815115156.343535-6-john.g.garry@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230815115156.343535-1-john.g.garry@oracle.com> References: <20230815115156.343535-1-john.g.garry@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SA1P222CA0067.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:2c1::17) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|IA1PR10MB6710:EE_ X-MS-Office365-Filtering-Correlation-Id: 804f001d-886f-4131-2111-08db9d861900 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JO8rYtTsBCw0mJxqSRctSh0eZIT80/NYHzxn7Y2rkzM0FVEICUcwRhwFKXIthpTURaWeDzQJBKpw/Mr+Xd3uwmgw7Bqs81imeCX5Y4R5A+HZCHi21f/2PcJswuqIx88S+TLpfI0vYOh/OJ/tm+kRoUnERMN6nrx9esuhFiyuVnbnjcMSyH0rJD3npq1plZ4WaFFIZ9O2WMjghtjya57a3yuCG1LseWg7eyKUumHnr1SNbJb8RzNsK8V2AIjBVUCnQlOtuRILR8lRnlAVIrMf8nHS/TbamDYclVUc9f3LCoMiR++R+PMLPTSvi3toshrPu4Ol4SzLRZhZm9FgpZ9Oqn0I8HfluKFk4Zkf9btzWWbyjS6Icefxi6LjmN8ubD6EAO9LeoT/z6LvFEqHWwmcsfL8DgiXjVJnynhaVCqmUqYY+Md9T5ncjwFmN5tg/RoldpjrUU9nARhTCY41vz3vvQUd5AGuGa1weVflvlbw0G2TXVq5ulqAVZP3+Ci/heQ+0SLEO1POK+ewWULLkC6qzYOLOSlaAH/fHUdSII1hmhgm+yAzNj4hNndop2uu0FZK X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230030)(366004)(346002)(396003)(376002)(39860400002)(136003)(1800799009)(186009)(451199023)(38100700002)(41300700001)(107886003)(6512007)(2616005)(5660300002)(103116003)(2906002)(36756003)(4326008)(316002)(66946007)(66476007)(6666004)(83380400001)(478600001)(8936002)(66556008)(26005)(1076003)(86362001)(8676002)(6486002)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hNhyjdhpbB9Wymf38jlmnHc73XXog/+oUka+Pm5oa+py8Xm3/Pc1/Y5P9zdm8vuQNTQD1m3k+eT5a7ss2oMgxN7ILVP9I4w0yXX79VhKYr8HuSDDTtjv2wR40mMoMe669v/EDtdXBYX4rB0oJ5SxJNT9qu0TivEBIfH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mAjtPBSmyd/IE+fhQNPUCBoZHfXuvCwxdxXHAQPYPOBU9NMoXENe3H8txLXky07ODggzBC3nUGwVtZebGITe2vD1YLkAcB6BkvShCB4QrTPoKU88xPJfn59bRKCBICnrdydnvA1lH3eEiIvbSC+1uSEZ2LE/By4KIRkX09dKcb1VcXUs33A4jHpAzO6XElUPSxwYFesyuKBPZr72zCdGJumfdI05NWZViR6+wxtTVl+87Sdhh8IvfRJ/pyBoMXZB/A6l/+D9BPrXsqN+5wB5gT9r4RNJLAXsvPI+Xxgezvc6UUSToHMkWt1z8EruU08Ng/TJB4x5e7WlP3IU+gv+84ROCeTcZZB/nxUym2h0QAZUwCpGrNYeZ6yAX9d9+5iQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 804f001d-886f-4131-2111-08db9d861900 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2023 11:52:27.5023 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zRnb+CcpnMhpdUHBZE2r9SeYcYx3kmvJZP07JokZME+X3VRPuDLdse9KR+CtA1TLh/oelJK2fLlxwtifVj6KiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6710 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-15_10,2023-08-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 phishscore=0 mlxscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308150106 X-Proofpoint-GUID: wrsA0_ZDIIE2ri4QLEZKjpuedy3lvwpp X-Proofpoint-ORIG-GUID: wrsA0_ZDIIE2ri4QLEZKjpuedy3lvwpp Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
libsas: Some tidy-up
|
expand
|
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c index 2d29154ca8ef..ed9af2b401ef 100644 --- a/drivers/scsi/libsas/sas_ata.c +++ b/drivers/scsi/libsas/sas_ata.c @@ -201,7 +201,6 @@ static unsigned int sas_ata_qc_issue(struct ata_queued_cmd *qc) task->data_dir = qc->dma_dir; } task->scatter = qc->sg; - task->ata_task.retry_count = 1; qc->lldd_task = task; task->ata_task.use_ncq = ata_is_ncq(qc->tf.protocol); diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index 86b5d6b87282..0c103f4523b8 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c @@ -142,7 +142,6 @@ static struct sas_task *sas_create_task(struct scsi_cmnd *cmd, task->dev = dev; task->task_proto = task->dev->tproto; /* BUG_ON(!SSP) */ - task->ssp_task.retry_count = 1; int_to_scsilun(cmd->device->lun, &lun); memcpy(task->ssp_task.LUN, &lun.scsi_lun, 8); task->ssp_task.task_attr = TASK_ATTR_SIMPLE; diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index d42bfdff7812..d8222c442640 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -563,8 +563,6 @@ enum task_attribute { }; struct sas_ssp_task { - u8 retry_count; /* hardware retry, should be > 0 */ - u8 LUN[8]; u8 enable_first_burst:1; enum task_attribute task_attr;