Message ID | 20230327074310.1862889-1-john.g.garry@oracle.com |
---|---|
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 B63EFC76195 for <linux-scsi@archiver.kernel.org>; Mon, 27 Mar 2023 07:43:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232671AbjC0Hnz (ORCPT <rfc822;linux-scsi@archiver.kernel.org>); Mon, 27 Mar 2023 03:43:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232632AbjC0Hnw (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Mon, 27 Mar 2023 03:43:52 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96AB61FCB; Mon, 27 Mar 2023 00:43:27 -0700 (PDT) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32R7Z4Yw021839; Mon, 27 Mar 2023 07:43:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=bYy/CN3hRhvz7ZLe3tT0l6OUd4yhW/dc7gOQ7vrqL6U=; b=dUpk4BhaMk6fji023fVodRHev/J1Eroj7UtHyIUgxOzufGfBrVtOlc6oIf3Pai1rkOkG I4Rr2kAJLV45ekr82OZHZ/z5fC2bu2pUESUjCa9Kc8cFRaOeOFaIZ8kHIYHiDpGfKaer uZi3NPYrNAibFqFavf0MlCB7xAXTo3GHjuqvrzQEO+Crg4sN3AXkdVJFK8hZufFBSS0y 4r1zke9bWNEpbAqXrw0QGaqmNIhkDtZHRL9MCyXjG+9cIAN/xxe2JgeRwsV/ToW+SnbH xNeiJDzaIx3k1zvgKF+C/zpi+ulbXj+exDKKTsHYyku41yliNStXql04+1Tkdl45VpdD Bw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pk6vmr13c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Mar 2023 07:43:21 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 32R70cQa027409; Mon, 27 Mar 2023 07:43:20 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2045.outbound.protection.outlook.com [104.47.56.45]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3phqdaw2r1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Mar 2023 07:43:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E01aFkn48yBK8HSs2o6xDgnIAPHMonp5pRduMZ0c8brr7vKSMWGAjI+JO+IYjvcWIDF75iwAZiFpmNijVGXxHor8qHIFh6ImlMtVtdz+U66PlbVmdXa5ZjY6zEH6uRIKCCWZMMXG046jG7yJqm3JQBtf/Zry40kpPyQsaxbX9MFfVAlG7obeYQDFqT8pcOlOeJe66Z0sv0JynA6ns7nMs7G36AKpVa6Egqt1X5kPh3VF7eLjGvTSHTT3Nb/c/lJ9ZCZbvZTEVpaJvN40ifEpkuaFtyHmcbxssKIDmbjUjUk+ptbioFWQYeg2LVhx0kd52LD0beFNqWGku09O1u41wQ== 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=bYy/CN3hRhvz7ZLe3tT0l6OUd4yhW/dc7gOQ7vrqL6U=; b=PTk5IneS0+Yvu4jJENmY0YPKukfrrpYjBwWCqQA7F/tnZuFGE88FTJBJKwFGNnnoAocXVsMVk4acSyfSLPx0G6ejRRZTDBCP9N71kzzrwlyvZmFw4lgZN3QviJNKRfQkutCsWvKi7hsEiwWGpJO8mt0fubyoxWFQTOUzBitBjP0OtCf8nJtZ8bE5F8UyYpgoDwvZpHY4tKC8grzYZwOnCwKkL3hgW8cvbNaIS1eTWHrDdY6xsqPrPD2bCDnBGWLo7yXkmaDs3vQ52KmZZiCUeMXw2Yal2X1cpQq7PnDVHnp0e4F8HVYUzAmoof6AoW0yI8AaoBmbVb1N1chGmMErRA== 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=bYy/CN3hRhvz7ZLe3tT0l6OUd4yhW/dc7gOQ7vrqL6U=; b=qJVNfUfKRrnASe4LOBAB7pfQuVb5P/C+kMA9Y4ZWqAnGzRT01fb8BP+sjTjKpqrSt3Cn3wOwcZhijsyQO49ceLB0IQjqaajRUgpjawpRLD9aawfWtQe/nyR+OW9PlPEcmzxYdjnTPm5KzKThD+K7kHhZISumWZy0EPubsfeno4c= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by DS0PR10MB6728.namprd10.prod.outlook.com (2603:10b6:8:11c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.41; Mon, 27 Mar 2023 07:43:18 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::7276:bc4c:17a0:7267]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::7276:bc4c:17a0:7267%4]) with mapi id 15.20.6178.041; Mon, 27 Mar 2023 07:43:18 +0000 From: John Garry <john.g.garry@oracle.com> To: jejb@linux.ibm.com, martin.petersen@oracle.com, dgilbert@interlog.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, bvanassche@acm.org, John Garry <john.g.garry@oracle.com> Subject: [PATCH v3 00/11] Fix shost command overloading issues Date: Mon, 27 Mar 2023 07:42:59 +0000 Message-Id: <20230327074310.1862889-1-john.g.garry@oracle.com> X-Mailer: git-send-email 2.31.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DM6PR07CA0066.namprd07.prod.outlook.com (2603:10b6:5:74::43) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|DS0PR10MB6728:EE_ X-MS-Office365-Filtering-Correlation-Id: 7d0945cc-cfc5-4cf7-267f-08db2e96ee6d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kIpaKL1L04kTC9H6Nnb4WAU7HXwu8iP2c4l2W3qVBYaY79jgW//p1kb/RR2RZfkGdtSCAjjYQBnAwEzRjvoeI7yFGMHG3NZBYyQ/LhRAXYceyWSwmug9jwTPyDgnuytJq79fUfB8EMoCt8eXi3tblYUc5CiqqOqq16ZQkoqicaqfb6w/uBa+rFXhQV0SVOEVwQXVDnyfZOeexD7HJPl8M/7v7Y8/cGJjnf5mfImKYVTVbJPYbbptMg1X3NujKqTAs2PBoY26t1WfIwKPf4h9L7GHAXfc+f8X4nynaQwhpcHxQt/1WDS7p1XGNK8ZoeS2rImWUqzlEnaqHOw3lOWaZSFCXW551R2fouMPrytYhI04Jwj0FW/OSWAQ20HGE9NofBy9adMzHUTi5nfUlMqkqBYKNuheghMSTbrs0S0lu9hy0G+CvOS6cKaJcJ/X2OSEDTTIfbAq+1vEmSzinWqZMJjjTgRoJWtadif8BilMc95KPPVEfJo6fXxjVfjBncXs7M+vhdOQrTe85R7NHVz/rC88YWynChX2LF/8d8PDCjRDjEBTeKA1/Gmrd91S4/Iw 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:(13230028)(39860400002)(376002)(346002)(136003)(396003)(366004)(451199021)(36756003)(478600001)(316002)(186003)(8676002)(66946007)(66556008)(66476007)(4326008)(41300700001)(103116003)(6512007)(38100700002)(2906002)(1076003)(8936002)(6506007)(5660300002)(83380400001)(26005)(6666004)(107886003)(2616005)(86362001)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oj+twqUrpkYYTFliiZOr/CtFZtFsq0CCbsN8dsenkUC8WNnj2zBFsM7BBvYQhtLXcQRCFNKxY35nnqswvLsLOZ2VFFpNTHip9JaTQEv/UiP1qdTWWCBUD/9z/rzYqzjQVWFC5CzmiDgvYUqLBGTUgwE0Z8o0kpBnnKz/R3Z6Cz1X3uwZdnT/TI4s7EHLrgw726aycmvMzrVu8vlbksVyCnC2xjIaZ+/II3IobVxdzCZt3IfOQek/hoIIgQYCchzIk4CIXC8SNOr+ZbeR76knz80YzVFTVeA6Yn7KkPSCLiPumxTn9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E90iWU497aB7O9c8naqPtKFu+pqh1es3X7yNBVK1WgV0RG+01wae6UjO/qJc+nRyF6ojfG20Fraj5gKn6uv218Jt+zPY7VQr9T5d2h3oqziHmHFP+lRb6XrUaQNaFDm/JlGfN8qkP4wZMOUiRXYlQwFNfE2TM9imLim+zfx1gU7175Kq9/wGBYnFspS2r64lGXcxv3RyM7w8hHhUyfTsJUSq6ZTa+EQq7hT3DCgaAPLBP3uXm2Rz6J4ZeQ== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: /f6CkJdtRojCvwF91pNP1yKhdiaC9jQs2oJ4ukAhsxl8pYjr3NymntawG6nwXDhLI4tKqTZMr/iz+gLDPc+VsHig6U7aBiWCRbqqKifLcE72qBAmcswBfP9UG7GWfHY4nTqyIQdSySDddyl2DO4V8JNLQuKBjGcffkRtcxmNo0FvRnGeN7rqM6rslK0/EFlEl+PJFCJ3z38sE0ieIvN7y4Qp9d3DdBVl8ij5aai69PbC2HMk3hdWIY6b/LMjuWtsglI0niz3CZSlkBQrHqxzDN86i4/aokBI6xqcWliBW1yoUFIsui5DKXgOyCkEkdFw+ozO34f27quot9OMrw2XuIC9No59mEo0I+KwXYe7RpsD/Gu4tgasV4oJBSGXYccIDz7aONVRR6/XXYy0fvbYlDtrkp1dSpygALCaLXasfTRfFwuFtjYy5JUYBaC0DOAWspECRSIoU93rZoJzi5JNJH3FcsnmosNu/bIgEswuyylInUAfRER2He9l30h17+kgZMJWOkKQU1+59w05437YFXVcM0RtZh6hKV2Q1N+F3JpttNhYKPe8OBP76brgezZE/i5x32vlLGzS8b6Sy1EMDvAfmUgnDvs5e57VCMaRQmDS33VZeXrEkDoEciga6Bg2XcwMOsJRH/idqizXA9A9ty83n3ibcSBYpBLd3znCqsf/u7V/0iE+qtFFUAwx+Owk66qwFv8YO9jD8o9rVvsRhBdcoqbIE62lXfFh+T6bc5eoXXRmu0Y2TZr/K5ZrPUVLOwclW5jZ4oH3GnQMUeHd2VQeyVkr9JL2H+15g0S/kOQDYzZmvhc/F94xnXq14aaWoqYrwxrSLjR4gNuSzZ7CCoQcVbRMS7kRwjY2txHBVZQ= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d0945cc-cfc5-4cf7-267f-08db2e96ee6d X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2023 07:43:18.3628 (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: xE2mhbsMYMhKJLlD9IkztTmFDG6UWCnrSFhBH+tT3eoCwKj6fvMkKYDgsVCIUg1ENBxEtEKaAxJhM6ucy2WxYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB6728 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxscore=0 mlxlogscore=992 spamscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303270062 X-Proofpoint-ORIG-GUID: jTUllu3xtGiLyQzCYjFfqL_qRutyWtsc X-Proofpoint-GUID: jTUllu3xtGiLyQzCYjFfqL_qRutyWtsc Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
Fix shost command overloading issues
|
expand
|
On Mon, 27 Mar 2023 07:42:59 +0000, John Garry wrote: > It's easy to get scsi_debug to error on throughput testing when we have > multiple shosts: > > $ lsscsi > [7:0:0:0] disk Linux scsi_debug 0191 > [0:0:0:0] disk Linux scsi_debug 0191 > > [...] Applied to 6.4/scsi-queue, thanks! [01/11] scsi: scsi_debug: Fix check for sdev queue full https://git.kernel.org/mkp/scsi/c/6500d2045d52 [02/11] scsi: scsi_debug: Don't iter all shosts in clear_luns_changed_on_target() https://git.kernel.org/mkp/scsi/c/00f9d622e8b2 [03/11] scsi: scsi_debug: Change shost list lock to a mutex https://git.kernel.org/mkp/scsi/c/0aaa3fad4fd9 [04/11] scsi: scsi_debug: Protect block_unblock_all_queues() with mutex https://git.kernel.org/mkp/scsi/c/25b80b2c7582 [05/11] scsi: scsi_debug: Use scsi_block_requests() to block queues https://git.kernel.org/mkp/scsi/c/a0473bf31df5 [06/11] scsi: scsi_debug: Dynamically allocate sdebug_queued_cmd https://git.kernel.org/mkp/scsi/c/1107c7b24ee3 [07/11] scsi: scsi_debug: Use blk_mq_tagset_busy_iter() in sdebug_blk_mq_poll() https://git.kernel.org/mkp/scsi/c/600d9ead3936 [08/11] scsi: scsi_debug: Use blk_mq_tagset_busy_iter() in stop_all_queued() https://git.kernel.org/mkp/scsi/c/9c559c9b4748 [09/11] scsi: scsi_debug: Use scsi_host_busy() in delay_store() and ndelay_store() https://git.kernel.org/mkp/scsi/c/12f3eef016ea [10/11] scsi: scsi_debug: Only allow sdebug_max_queue be modified when no shosts https://git.kernel.org/mkp/scsi/c/57f7225a4fe2 [11/11] scsi: scsi_debug: Drop sdebug_queue https://git.kernel.org/mkp/scsi/c/f1437cd1e535