From patchwork Tue Oct 3 20:50:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Christie X-Patchwork-Id: 729204 Return-Path: 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 EDA4EE8FDB6 for ; Tue, 3 Oct 2023 20:51:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241067AbjJCUvQ (ORCPT ); Tue, 3 Oct 2023 16:51:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232223AbjJCUvP (ORCPT ); Tue, 3 Oct 2023 16:51:15 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC91FAB for ; Tue, 3 Oct 2023 13:51:11 -0700 (PDT) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 393I56AP006407; Tue, 3 Oct 2023 20:51:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=OwQ6YP7BusLriMe90lEOm/w53nK7DGJrxlPmYW3GcOs=; b=jaaNA7B3qtm9UBy0s4vaf5tKYnaG/euHBZOjInnaBqxPoVCHnIsn6dUrRadhI/3iY2mT 5oOByyfzczYdbwqRE+j6aecaBcUJLf3dwpfKzHUCE3sPo3GmOYdNuZuk2w5GPgRrRZ9d bk2sCZG8X76ATJQxuXfBOXovPCz4uH2y3Dtx7OKtm5Jy62tTeL+ic5Wp8fQNOxP4GruK mwgVH/gMS0zysDehhpEDJdP1b9iv3OhilVRMPKiTitU+IAY/czh6ztYvr8uQUxQDH1o4 2+D4wDmqj69Q03WCwMqVffkIAAPsR19aceer9ax7BClEHz3+ETwgCRK5SDoGkcf4BIb/ wA== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tec7vdnqa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 03 Oct 2023 20:51:01 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 393K0bYu025731; Tue, 3 Oct 2023 20:51:00 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3tea4d11hd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 03 Oct 2023 20:51:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C+R0AxSulu0lZM0heR2CNK9zaeLArfKr2I8HG0pjwvxhXct5pnMU50mEE9Xt3cAghHQhaelLQw5OvGJVWEXRfR8Z5G+BJ1j7XOl7ZRLEp/7WE6KDv6DzB4RWgSyILezmkd3Dp3vYEU52ht0OrclOToVFtS9wkRNiUPCfy/g2do1oC/B2jK5BZOTy/gprdmzWlOapQ8Vt+rDAPVWsEw4us9jzbmh8u+dD+F/WEozzaBoOLYPKpmbBd3ogLAFVUvoc0NlJcAbv4NhpoTM3iTduB9A8lrVitjfgz+X7G+3BIUHGHhDcpbqWL+NFmZkQZti4WLYSA2Ot06PLBvpfaVx0eg== 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=OwQ6YP7BusLriMe90lEOm/w53nK7DGJrxlPmYW3GcOs=; b=e4v8T5nKioC7eKrRWkHZZSnnPly1ap4DPWN993ulAX9gccU0ENBhVNtkvN1gUybXszzYSFwiaXXACo86ub7+q5dZ1sMLhVMYItI5Q5z/LepfWDD3BJcoWDJiSeKDRd8pJ2DgO7NEzFNfpkb99LbCccuo/4z8Gkp7XYstFRXOKT2IH6jsBEVvxfpM2BmxSVsm2JgDOoMTmp18UdDtpJymMGQuLajKq8218zUvbxSHGJ3DCbCG4v+UpAAN7CyUUL4n2IwXGf2dMEli/xjDbLfDBhZBbS/z3C3tgqnnrFApe3mWTuqrVkm1t5/xYKaPi6OT103l3ekhP+dsaOPZFqfrfA== 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=OwQ6YP7BusLriMe90lEOm/w53nK7DGJrxlPmYW3GcOs=; b=H8JsNG26tdcRk5frWMvkj0R6kTfgQ5WwsK98EyxFcsJ1NhZzdV+DSkK6rcEyIM+tKKQUP6J0lGkafh7SuNQaV9uFWWan2SV5MYUEiZ1RK+HNjO8ndPlvo3RFUCiZb2f1fsJWskb0gOrI8i5mCRISdoUEev1Y8onlhzbIJqnJhFY= Received: from CY8PR10MB7243.namprd10.prod.outlook.com (2603:10b6:930:7c::10) by IA0PR10MB6794.namprd10.prod.outlook.com (2603:10b6:208:43a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.33; Tue, 3 Oct 2023 20:50:58 +0000 Received: from CY8PR10MB7243.namprd10.prod.outlook.com ([fe80::37c3:3be:d433:74e8]) by CY8PR10MB7243.namprd10.prod.outlook.com ([fe80::37c3:3be:d433:74e8%7]) with mapi id 15.20.6838.028; Tue, 3 Oct 2023 20:50:57 +0000 From: Mike Christie To: mwilck@suse.com, john.g.garry@oracle.com, bvanassche@acm.org, hch@lst.de, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, james.bottomley@hansenpartnership.com Subject: [PATCH 00/12] scsi: sshdr and retry fixes Date: Tue, 3 Oct 2023 15:50:42 -0500 Message-Id: <20231003205054.84507-1-michael.christie@oracle.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: DM6PR06CA0022.namprd06.prod.outlook.com (2603:10b6:5:120::35) To CY8PR10MB7243.namprd10.prod.outlook.com (2603:10b6:930:7c::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY8PR10MB7243:EE_|IA0PR10MB6794:EE_ X-MS-Office365-Filtering-Correlation-Id: 696257d6-5c4a-451e-812d-08dbc4527160 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iQT/4YigEnpdfZ9oeEBK/leyQlpg1dDls9L45XoCKdnSO4QBeKCxLM3nsC0O+FwKn/9oKULRB+5Snx2MRA4Tbq0O7gf1AXhGwLkd9r88RpJBceLUeuMnoFyzR3rSxwzcju22cgZpYcgmA5YSEgEhOijsam6/Rwl9YHIXoZuseSulsvkE31Ehj4gHGQVN2/fpwwNQ5iz5A7H84m5z2tniDIgCrPNSTKTStOzKggUcRMrAkXjVMpKkdSnNaQodZlJf4wM/rIuYHgNJ0f8bPZsHRPwK+p6iHY2xjWFRuNQLn+mhds8xRBlYhTr91m5x7abNw7GLal/oj82pWqE6zmw7Zx0R51I5fxzk4VZrSNZwq329Q5eaLet/AzJay/shrmoAy0+GkJXvzkuHqRBRNE4hp1+/1KxlZ5eGl97Yi6eJLQ1ABAQkCDgyxZPOW7Ire0yYfWtOvzw2AmRT/757hN0nUx8zTty+yduhtlHtv8Havrgi+asZDzop1xHXG6uJpw37660NsBBscBD4nOj7TaCeKg5oZxB6AW8zivBmXlF1HOUc8m1PvZFAvR0zQ2bXb3ml X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY8PR10MB7243.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(376002)(39860400002)(396003)(136003)(366004)(230922051799003)(1800799009)(451199024)(186009)(64100799003)(1076003)(41300700001)(6486002)(2616005)(6506007)(316002)(6512007)(66556008)(66476007)(66946007)(8676002)(8936002)(5660300002)(26005)(478600001)(6666004)(4744005)(38100700002)(2906002)(36756003)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Mpep6efZla4NkN1YvYdFMD7IHK8D0ZS8pjEGTispTFUSVCZd8jtTYmLS49Bxfd+RwGdP/xcd5QSdyDUMG1WOtSf5S61DFNx5lrOt7xN3GisevsRYkPbouPu5M9CmvgIpXjq+1QRUNX3ba/ZWtHAI9ZkNW8qz7SniGImwOwsaKIEe62ivdfFIpVAev/YBhouH1p8Ctpv0p8qWV5lqR3AL1DsOgb8LVEfDO5KRDubKWAlcPCp0/MOS96016ad++vvAbwA2Y4D++guCWfgvs1EelHU4F920St2WndxBEWAmfyZYP+ipkPhgpckNWLSbzPrB+QM+B6Q2MGKWEBQ+Qsob3IJgTNLetzIB6mBQtzDRRcFGlk3s9E8OvmCBmQJjO7WgT5aDNQBXMWINGbY5H+2SMVxRA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80MeXn4Kk89YHx9VpiJu/q+zSrks X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 696257d6-5c4a-451e-812d-08dbc4527160 X-MS-Exchange-CrossTenant-AuthSource: CY8PR10MB7243.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2023 20:50:57.3980 (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: cfmxyPdKQXJRkzXZR9cpbqYIA7JiQgRAiKOrG8pdb8zdTW022vrc1rymb9oWYv+zYfkRSwVpCA8zGBfJECiEnPikMIQ8AJQ0sfJdYxUBcaw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR10MB6794 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-03_18,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 spamscore=0 mlxscore=0 malwarescore=0 phishscore=0 adultscore=0 mlxlogscore=905 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310030158 X-Proofpoint-ORIG-GUID: SLTa5XAiSXJ694dcQNRuDubfvNiLn2xx X-Proofpoint-GUID: SLTa5XAiSXJ694dcQNRuDubfvNiLn2xx Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org The following patches were made over Martin's 6.7 scsi-queue branch. They only contain the sshdr and rdac retry fixes from the "Allow scsi_execute users to control retries" patchset. The patches in this set are reviewed and tested but the changes to how we do retries will take a little longer and require more testing, so I broke up the series again.