Message ID | 20240524084829.2132555-1-john.g.garry@oracle.com (mailing list archive) |
---|---|
Headers | show
Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96551129A6A; Fri, 24 May 2024 08:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716540539; cv=fail; b=uS0k5JpNot0DtGtDz6og3v2BHFzjFZ9oMRZMjqm9oM4V4fkAuAhqJo5ZVSJfPBAQ2G0vgvwMQykVhbBZCbzd6u8pQ4Tn++PVcdTENm6M3mJOU2R5nsp4iNlvi8WFGQXySYMlhERgRthDRlf4bak6uMq7lEM7XPXQpiI6HKNc9SE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716540539; c=relaxed/simple; bh=INwNfQHfX2pIh2poyZ+VCP6END1TzhVzaCyXzs3/7LQ=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=PiCFqj4iCscv+KqZUq7OSDMX6kpGgcJt9tHmKGzFvQLudHehXwG+I5xhVy1xao4pGkoLJi5jjM0WmDhGJ64whTASHJ9JWcgYraaYmfqC6Hegb2SCr/6guj0hV5NVZcyUfiSL5qKMPhFOhMgDHPITQuOedTUpEo+a202b6iWp3Vg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=nOQ67Ijj; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=faOIEql1; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="nOQ67Ijj"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="faOIEql1" Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44O8i9kR012541; Fri, 24 May 2024 08:48:52 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-2023-11-20; bh=AbhIAwQsjY4uxbuen0FsVNqRTns8+sSofjvaUpkCwAI=; b=nOQ67Ijj0OulFljEYuSXAWq4mxR6mTt+vas351T4HG1vNFVw9fPKAvCZu74qyHidPQ+z MELc8nhawxXdUjQSrGMBiOTUqKTYMkmNQRC+2duqB2ZKsVLyCBJuEtbyO0VU3jLRZzlF NKiYo7MN4J/0frzKDdZnDRaJzRfVe8737FGyR3NkpE4eti25v9VyiFZyirOg5LWaTB55 ToXodd8FsvWUgUus3PPidbxX6GAWS7NT08ozcdmrWtu08v7tvX12j119Xwb3CeROvaAr 72QUZo/ZSomc0E5HlR1J+l16mYmEQGbtwISkHrM7U67xBf+sJjDRgLF7MQugQLRoAFoj Lg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3y6jx2kwjm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 May 2024 08:48:51 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 44O84Yiq002592; Fri, 24 May 2024 08:48:50 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3y6jsbmrrq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 May 2024 08:48:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hr/m0XSNeacQB256Of6aQMd7gREZX3F8lGz9vj0dKZAyNg4LI2FsXYbkG0NIMqB56SxqLJiQqbqoPUuZt9x9qv09pPdrm8/5emGbwH61l6vcXQEkwuqDkS49Q81WNVLG1cUYn3f5xNWo3xbPO1XBcJmBcx3iwYkraTzi0EegU7NSzadvcVKaM9qhr8vyF4BrCxHwpC6rKlXzRNetoo1Mfn5WHSH/eiYEdb99HfTOZuXmLW1zVz0TW2OZLMBkqEHGTPtXk2LRvMlJMvY0cQqfn9FuqAZ+CSgUjTeA3Fk3ihp2zXiYd2hGqkeaYF1IfGK4OGkVv7L78CI7hHQbLPhMfA== 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=AbhIAwQsjY4uxbuen0FsVNqRTns8+sSofjvaUpkCwAI=; b=EB/bB2q0AX41so4FrSh2KyMOO8rfTG3ttv6sAp31gAjLsHWqSWJQ/lQDbxCMosP2YIUHSx5c/kkau+PT/5o+FLVwyjm8BojCu3rVdaO31dB3XsyEv+aD2bX7BcVQD9R02Bh2ABFdBAgk304Gq8SS04Pbd8X4nvx6FTYGt7+CX4Mkov3JLUr/kmbG/hw1i8xhPe2Vx/r1sZeEojH2xG8Fq/zlqi6NCFAsjMRAJ8izsSBMXmSpEudKRA6ew3I+pHmsFLH9PMvP9o7LLnFDHhBOUmq+/5XFpizsowvyC23LQZbms5dLzg6yhzFg8XO0XeA4OCe81t2WygLVtuzdgzWgQA== 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=AbhIAwQsjY4uxbuen0FsVNqRTns8+sSofjvaUpkCwAI=; b=faOIEql1irLF2fV7UXZb9RAqrpGEp+epdEWVMsIXc7fWy6YM3eApaWXLH3DgZ98/wZUxTDibA8E/DBTvX8kEt+qiWHXbddhtavg0EN12d4PqEfuAAmU5zw+E0B9uVreOxQyPuGN1cjhtV5hUALGRzM3QjI2PwN9ZkXZ2SfxNrSc= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by CH2PR10MB4357.namprd10.prod.outlook.com (2603:10b6:610:a9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Fri, 24 May 2024 08:48:48 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088%5]) with mapi id 15.20.7611.016; Fri, 24 May 2024 08:48:48 +0000 From: John Garry <john.g.garry@oracle.com> To: axboe@kernel.dk, martin.petersen@oracle.com, James.Bottomley@HansenPartnership.com, hch@lst.de Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, himanshu.madhani@oracle.com, John Garry <john.g.garry@oracle.com> Subject: [PATCH 0/2] block, scsi: Small improvements for blk_mq_alloc_queue() usage Date: Fri, 24 May 2024 08:48:27 +0000 Message-Id: <20240524084829.2132555-1-john.g.garry@oracle.com> X-Mailer: git-send-email 2.31.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR05CA0059.namprd05.prod.outlook.com (2603:10b6:a03:33f::34) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: <linux-scsi.vger.kernel.org> List-Subscribe: <mailto:linux-scsi+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-scsi+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|CH2PR10MB4357:EE_ X-MS-Office365-Filtering-Correlation-Id: 28db69e5-01f3-43fe-edc7-08dc7bce5424 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: 3dYCTv4P810QQas140+5M0bSIk8BlkcgQVKfXNwFiL62mZhh6J96f2FUiKhYDvmxFs9hJSfhUp1qdxFiQAXhc6od5aTQ+zw/SBB9srdUmjp4v2SNxDrkWILD79FVdbwxC0PjzzDr+HIiZFOtSYrMGsVKC1T1aJ4nNIE/CXNfy8sHVaoJhggluwDrBbmas418z25i6LYUCGAVUtMZYEuEMHLliI3NzthQcxSjhNClxOgB7RNA/UPCj1eGjKCMXIiVHDgDGR2tJQJgytge3BSW/RKqux5LazpTmrywfcKlL54AzG2BnE7bM06cG6P9X+GkHpikRH7+IFpJ+heE1LuU9v9/l4bMAQksGDRwPkUlBCZv8WScT0r1+eBU8qUYxKaewIjuBjA7T3I6lpC3X+xG/v++qKG9V8p2iyoHgsyQj+izGdEzSyqq7IfK0Ug7VYfxacD9StYUOMTb9/smrT2uFHiLLzZP7nHKoUmFUfTom7wB0hktLPcxhXDFyu5eIrrzcTo/obrfX914k2iOogCvVs6xvjM8TkA6llrZne/bYvPHWRxEQ3ajH+bfNtOJ2TAlYc8za2WLiWWwONhtUieKPnAP/kqmy+rVa7mIqnFicJ2pCD0cRwbm3nrN8MiyUqfjREyRw7oH1aZ2J5U+uP8q2dx2WoK1lzUNFvs4bw4PCIwA+68YDR1D2O2lewodCQD3Y72SlL36qJakf5iWzNvKRwksatdmr2hGbJ8ilLtViAs9s0WW/Bg4LFc+MQP76tBp7NhKlR9E592GeESo059JAcXTjHA5Xyx9q8htARRytaPcC7X1Tw4EP/tRerfr4s/60ENnnOF6RXtHLi207flBCcgloH9C/yisQJ0Uu3c4bCZ+C97eRcQvwIG03d3qZqqgWY7oxfl+p/PVlynDISy5JJzf3gUbUiOuXad0zUEkKqzDI2yd/COLOaHZtx6nfdrqAqq3Sx/q9i+H8htG4D0h3LfODiCF0gXrvceNzJAlpWrlr+l3NEF6yaFVXAUsN/PZkpq5X3rGbKGYEbjiFTTwkAcnzki6WOR1zvtHUxWnkHMOxRaO0ZXLBYkv5MVRlnqCFKMUHP6nv5auKyXfu0tdNgktr++cRlRFvsEN9VzSSoV3Rkpek1lW4x7CYaX4btQ9NX8Q7hmEKXsjSI82orPvWmvcUbScDdTl9dqH03ApVniBOwNYq9qTpSKsgq9PbaY/XaSDhHoAdIQ8tA0yxy+MWzSWcgC2f7u1f2X1etR8+rRuwj0zah3GHWICwU6Apw4P 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:(13230031)(376005)(366007)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +G9VrgK/j/kLWz9q2iJ79QgSvpA+UrNQljcArYl7bjQaxUfe3gk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ZHup+4iK0EPQkef+dTUm/qbO6eZVMrFZQ4VLZ9KSTFv9Sb1WUlK3coW1nVpsdy6D1c+BYHat97qjYHg/DpGwvkz+/h8m0NApxDy5iwJU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28db69e5-01f3-43fe-edc7-08dc7bce5424 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2024 08:48:48.5874 (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: /dfMQvw7YubKiZocxOj3BJ4BVJkIlw6rBQKLCXY0hi9ejgakeBsYFyTFqy4FL/hScYBgC0YLahMImst+dLQapg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR10MB4357 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-24_02,2024-05-23_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 suspectscore=0 spamscore=0 mlxscore=0 adultscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405240060 X-Proofpoint-GUID: 8xtxbZ-oG8Hw5ff5JyovUIR_6TrPZrcn X-Proofpoint-ORIG-GUID: 8xtxbZ-oG8Hw5ff5JyovUIR_6TrPZrcn |
Series |
block, scsi: Small improvements for blk_mq_alloc_queue() usage
|
expand
|
On 5/24/24 01:48, John Garry wrote: > A couple of small improvements to not manually set q->queuedata. > > I asked Himanshu (cc'ed) to test the bsg-lib.c change as I have no setup > to test. > > Based on mkp-scsi 6.10 staging queue at e4f5f8298cf6. > > John Garry (2): > scsi: core: Pass sdev to blk_mq_alloc_queue() > scsi: bsg: Pass dev to blk_mq_alloc_queue() > > block/bsg-lib.c | 3 +-- > drivers/scsi/scsi_scan.c | 3 +-- > 2 files changed, 2 insertions(+), 4 deletions(-) > Changes looks good for this series. I tested basic driver load/unload, as my setup is not connected to any Switch. Tested-by: Himanshu Madhani <himanshu.madhani@oracle.com> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
John,
> A couple of small improvements to not manually set q->queuedata.
Applied to 6.11/scsi-staging, thanks!
On Fri, 24 May 2024 08:48:27 +0000, John Garry wrote: > A couple of small improvements to not manually set q->queuedata. > > I asked Himanshu (cc'ed) to test the bsg-lib.c change as I have no setup > to test. > > Based on mkp-scsi 6.10 staging queue at e4f5f8298cf6. > > [...] Applied to 6.11/scsi-queue, thanks! [1/2] scsi: core: Pass sdev to blk_mq_alloc_queue() https://git.kernel.org/mkp/scsi/c/e7c09df178f7 [2/2] scsi: bsg: Pass dev to blk_mq_alloc_queue() https://git.kernel.org/mkp/scsi/c/41b757425203