Message ID | 20220216172945.31124-1-kch@nvidia.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-block-owner@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 E8E11C433F5 for <linux-block@archiver.kernel.org>; Wed, 16 Feb 2022 17:30:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234744AbiBPRaY (ORCPT <rfc822;linux-block@archiver.kernel.org>); Wed, 16 Feb 2022 12:30:24 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:56904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbiBPRaY (ORCPT <rfc822;linux-block@vger.kernel.org>); Wed, 16 Feb 2022 12:30:24 -0500 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2065.outbound.protection.outlook.com [40.107.95.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58020205743 for <linux-block@vger.kernel.org>; Wed, 16 Feb 2022 09:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OhXgbhPvGiTjixuQDrv1Ot7Ks9cNxlbTNKT9CKbtFsAwHAu9oC7cFKkqlADGdeQLk+eOzHBQzDJepX2pVKG0RQ5TfVusIcT2m1Qent8H5+M0AWFZgS1QAQto4zJ+HZtsKJZVyjy7ueq46H0e+Btys5fL6z/PHyz5zuyHzyopolmw9dg7U3jf7QAqpyK3Ji8ck4pbaQHfL1fWeXsfVqB6xPhmbw38KLiso3z6OI3z/vpwvBOkyWfeLaBdqV22Ho62/0nTxEbyLu5xWEsag2K96G8t0MnwLBLvPNjL7nvPwkDQKzIpucjhEQcOoVo+yBnIcTk/NfI0dkGe9hOzOEcAzQ== 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=+0GL8h1U22E+gbpDoMi5JGss4sK6G11RNxP7/2eAqTA=; b=bbyd5LWEgoKSmAvW3INtQd0linkSazIWPZYkrPT6jGPDd0WEqdwJ3kUFpSYHzClr0WSpb12ZUfBnl1LyKBfJ+s4LmkNHq/yM2tDBRsCr2yNVVrEWOizOmWK+b99JmZT9O3CRKlkRfOBXs9cRtUqDVTzZL9uv8vIPuRwpei2ICSVbioA+LYPd5LbLUGWtJi34E0tTUtGY5whvePaAzEWg2s6FrntZaU0I3eYwghLD5bSxdz9gXD2DJXAotPEGsPuSgCnGJ1WMAjfMgRfxSyHBC7v/qbT3IBENab+8hY5pS0BFDa85l1zAYA0hlbl+U1BIyhiplRskApzNQG2vkfGeMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) smtp.rcpttodomain=wdc.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+0GL8h1U22E+gbpDoMi5JGss4sK6G11RNxP7/2eAqTA=; b=L77EPTe7ESY9A9L4ahmtzXKdzSW9eyLqWiX6nexsHJq4xdiJ2MXc3hKuaUMWmc6qbykHyQ7Y2UEfBvZlnX76CwxcHYU6nByP+X5NvVtyAtU8QSIQikF6LSv5AEev0AlmgFxR7pFu3AGOaH1DLbJTMY2ItsemwQ4i84rCZ8nJKOGZ4SXErKgAdqSVV+m83JtIxs/ehcaxh6+jJsStOGBj3luIhVN2GksoA70TynmI28WF8t9lcogLnEaUEyihcBi7wWDYhe11mjC954m0UNKYAjiLL0ETuWeJ809bNfSp3N1a0gSxU8j3nQYRV7u+fkc7aDJZgd/RVK8MJJi+Xhop7w== Received: from DS7P222CA0022.NAMP222.PROD.OUTLOOK.COM (2603:10b6:8:2e::25) by BN7PR12MB2740.namprd12.prod.outlook.com (2603:10b6:408:23::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.12; Wed, 16 Feb 2022 17:30:08 +0000 Received: from DM6NAM11FT026.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2e:cafe::b4) by DS7P222CA0022.outlook.office365.com (2603:10b6:8:2e::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16 via Frontend Transport; Wed, 16 Feb 2022 17:30:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.236) by DM6NAM11FT026.mail.protection.outlook.com (10.13.172.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4975.11 via Frontend Transport; Wed, 16 Feb 2022 17:30:07 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 16 Feb 2022 17:30:04 +0000 Received: from dev.nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.9; Wed, 16 Feb 2022 09:30:03 -0800 From: Chaitanya Kulkarni <kch@nvidia.com> To: <linux-block@vger.kernel.org> CC: <axboe@kernel.dk>, <ming.lei@redhat.com>, <shinichiro.kawasaki@wdc.com>, <damien.lemoal@wdc.com>, Chaitanya Kulkarni <kch@nvidia.com> Subject: [PATCH V2 0/1] null_blk: cleanup null_submit_bio() & alloc_cmd() Date: Wed, 16 Feb 2022 09:29:44 -0800 Message-ID: <20220216172945.31124-1-kch@nvidia.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 04066f1f-a5b5-4e7e-b9c7-08d9f171f9e1 X-MS-TrafficTypeDiagnostic: BN7PR12MB2740:EE_ X-Microsoft-Antispam-PRVS: <BN7PR12MB2740C3DDB340CE610F150185A3359@BN7PR12MB2740.namprd12.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:1002; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ji/YgWYUvBVnOhUdgBuvJKU7OwsoCBHImGmJJ8rDBAtzSOq9UBfXQfQ/muHgBIbqcPeR227fI+tV3CA/+grlRxvoqJHFZKMFyRI5hTaih3jFnZD+GdH/XAeEpNfr/92KDUX66+FxMOizoG15qVhZWXr9AZRl8TCareBbT6Fnt1hCszUK51t2FjwbDTmEQ3THfx8RMtlMJy2PUkkoBy8J6Mo12L/Wa9LKiC6PjBKF5qKI8+ZznEXi+0hhk2HC/bKS3dLLziBBrwHjN8pT/WdM02+H8MnryErna4TVSkpprDTKBcqlqD3G8xYpKRbRakV5Eoaz9UhUuOXBYYtEr6rb4OGZ42onTOkNhvNtG87Uw6xufCf6mSJ+tO/ZCzKhHzS9EY9GX8NQMv7yiTc4fDG9/7pkf/d8tH174r11cTomuf4VupnVnun3IG8f7Wq+HsDgTVmmNRM9fXk0osF3cdfw9qr9ALq+IrIqgOCjvRvRgUfbePBkdp/AL7RxkIgrGHZj+bBPpWYkChDBn8HvLZQiwHv1kasBT8UbLTkTRFxW9S4jEMmfkP6Ga+Je8ZODxf3t0ioL3KBvWPSfhIepyyWTAa+odoaF1f2VdZFNDJ1q89KXyGhhBf5NkIPx/HtRXxODxx61oERd5ln8Q52i2NrBQizH7eI8mm2jVqtZx8qg4Z+aO7cMqa/PLdvH7ym7aiHFp1I3abjnmRpWNi9phUWkag== X-Forefront-Antispam-Report: CIP:12.22.5.236;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:mail.nvidia.com;PTR:InfoNoRecords;CAT:NONE;SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(8936002)(336012)(40460700003)(36860700001)(5660300002)(47076005)(426003)(316002)(83380400001)(7696005)(6666004)(36756003)(70586007)(2906002)(107886003)(30864003)(16526019)(54906003)(508600001)(81166007)(356005)(1076003)(186003)(26005)(4326008)(8676002)(70206006)(2616005)(6916009)(82310400004)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2022 17:30:07.4304 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 04066f1f-a5b5-4e7e-b9c7-08d9f171f9e1 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[12.22.5.236];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT026.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR12MB2740 Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org |
Series |
null_blk: cleanup null_submit_bio() & alloc_cmd()
|
expand
|
On Wed, 16 Feb 2022 09:29:44 -0800, Chaitanya Kulkarni wrote: > This has alloc_cmd() cleanup that removes statically hardcoded function > parameter and removes the need for the local variable on the stack. > > Detailed test log is below that creates 5 memory backed nullb devices > with queue_mode=0 (NULL_Q_BIO) and runs fio verify job, here is the > summary:- > > [...] Applied, thanks! [1/1] null_blk: remove hardcoded alloc_cmd() parameter commit: 55143a783f07e0914dd36b3f238fb1ede337e1f8 Best regards,