Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20904117rwd; Thu, 29 Jun 2023 08:23:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4r8NAlbP06aD0cMFerG8sYmdqdxAV/enWXQo9DEavrMK6Hsc1qT3DIVDXVqaZf6ywmucje X-Received: by 2002:a05:6a20:7d81:b0:12a:cc8:75dc with SMTP id v1-20020a056a207d8100b0012a0cc875dcmr9373266pzj.31.1688052225029; Thu, 29 Jun 2023 08:23:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688052225; cv=pass; d=google.com; s=arc-20160816; b=ZGKNMudJnm6B1I3auJcNgMVqcIvn09d6C1Jc5OI2vJR7qCfTx1GRDM8GIZ+SuPM1tc SXlrPK6ig0NauzA/l3m7/k9J/UIK+kvD0blLjiDS8UtHDt7WAiGdHBxZh/D2t7VzkHMJ KQVgRxiNYy4x9tCreqamJkZ3R0vKkVq8/SCCE0vdL2oabQKYDENXLFEfGtI3L3v/0jxm PIhg08dHyKZFVCQ1EQ2AgdTaIGILlLXnXo/YLPPHrJw+JB36P4qTO06w3IahLXrJyp/G btcbKDzvVrGQAtESYT3PZLDKPKOfnGMjpwNAt+57fCLY5LR9UkUaLFJX/fekT+qzmTJu pEBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=uBnuqZyB3arxQIr4T8j1Kvb+OYCEAsmUMkPM8DWdDFE=; fh=4krwHEy2XBjO8/IeFIRKm0O6PlcHDFshpK+EFUB7ZIQ=; b=FzpajjQQeyRLblNvPuzix2lg1DCdfn5o9iXAGpMlIbQdw/BbBkUdHXtFJeLDJTZDRb gf6bJo4F07Hv07apqWDeZvhRUpvTeCZs/nanWeNISUYFcu8xCmLThd5lR2ThMjaaOtoc PlcT5AC5EXWWLI3ubPy4SRdXFXErBjnMM4eyecH1WJeFettf66nwj3JYo7Fa7If+O1EJ D0440JQGYzFLHtQfnZmDepA+syNqQBEO9/x+EJMxiQu6MyFRN3fJTy+UD6TdN2ZXYKK0 5fmgxlTI0WvxtGf7AAaU1ZhXi9CPa4LElFp6hCcsKg7gwCqMW2mGKBqsM+D7qL73Leku aD0Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=kvEBtvbF; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y28-20020a634b1c000000b00553ebb05d25si10385189pga.80.2023.06.29.08.23.31; Thu, 29 Jun 2023 08:23:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=kvEBtvbF; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232459AbjF2PCg (ORCPT + 99 others); Thu, 29 Jun 2023 11:02:36 -0400 Received: from mail-dm3nam02on2068.outbound.protection.outlook.com ([40.107.95.68]:13297 "EHLO NAM02-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230353AbjF2PCe (ORCPT ); Thu, 29 Jun 2023 11:02:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JVgR/mE5L/1RTZrPLS7OBr+FfdTpUM5ljoLWc82i/hGaQO+GfuOV+Ik/T7ydiJZyll9ArX9d5I2xJnhxWxv7W2UQe4XjW/nPkt/CBVFWdhVMYAwMBaJlW9c9djrlOoOQm6h8+MDkvHWW3oWog39nROQCtS9JbVGpudx6P3PufbjBjp+cV0t3Ibl76YJAY85qrVk/Gu0U/MnVFcqy39sKSAnScLX+2uPnP/TJumph8yDAuRt5PC/6Ijfx4ho9UawSm6J1u2IJWPIs5XW29IBjDWFdyiRzn1ZJd6lxn/PQ+s2Mn3BnUt5hxyfqtByOm9BadrfQoHPvrlVGTv64UDsPfg== 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=uBnuqZyB3arxQIr4T8j1Kvb+OYCEAsmUMkPM8DWdDFE=; b=E/M7cg++ssJdwh8BMc46j7bwewnGq9Bk9D7tS1CAvkonb7d5IZk0LLg2ogOQqYZZ+L30gyYy0yr3ut94gxuNfcd73w2vqlWNanmvbxlBsFsDXxrn8footfp7Av4GZbsdxM7FKlKTe8RMrVCNBJhfqWKPQnLx1OF1Yj/DhP6zLnD2NB7OoZtehjpcZMHqau/irjsS1pz9LqmREkdzCOPtYr2xx/7Z+0pVPT2pAzdHkF5zPJZ8ZFa9yl4kVKb8AhX3XOby2GXzAfSz5Hgd3WcsKK0h598lTJ5nZbWZ09is/1yz8nqdvm8G9/2cymTVpjhTO7nIqwS711+HP9snuBunDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; 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=uBnuqZyB3arxQIr4T8j1Kvb+OYCEAsmUMkPM8DWdDFE=; b=kvEBtvbF9vRN8tEAUACjFwygkg0H3ckicTV0K9QptY4vaQ/6ku9FQ4v6U8PhDto4qy5/JK0i909/rGH5icq9qDvYozvUQjXL9HzOWWcnunbiEt/ZYZal8EMbawJ/N/EcUWPrGuXVo555CuPIbk1r8B1oNu4St2uy5ClXhZ/7umwYW2CZ0KNWHd0iPkEqiFTH3l07fbHeN9sOALc6+Z6PCuqGl6C2a5sd85OISW7MSljf6yeojd6gWEIU4qILWwDH0eCwpr/3bzu2514pKfM0HoOeMpgY586nw79uEc/wJfvs3piOMbSHoN9lm7rzRQSRXAdF2uiKm7BgAjpgGETtdw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from SJ1PR12MB6075.namprd12.prod.outlook.com (2603:10b6:a03:45e::8) by SJ2PR12MB8781.namprd12.prod.outlook.com (2603:10b6:a03:4d0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Thu, 29 Jun 2023 15:02:32 +0000 Received: from SJ1PR12MB6075.namprd12.prod.outlook.com ([fe80::4651:eac6:ec70:dc3d]) by SJ1PR12MB6075.namprd12.prod.outlook.com ([fe80::4651:eac6:ec70:dc3d%4]) with mapi id 15.20.6521.023; Thu, 29 Jun 2023 15:02:32 +0000 From: Aurelien Aptel To: Sagi Grimberg , David Howells , netdev@vger.kernel.org Cc: Alexander Duyck , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Willem de Bruijn , Keith Busch , Jens Axboe , Christoph Hellwig , Chaitanya Kulkarni , linux-nvme@lists.infradead.org Subject: Re: [PATCH net-next v3 10/18] nvme/host: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpage In-Reply-To: References: <20230620145338.1300897-1-dhowells@redhat.com> <20230620145338.1300897-11-dhowells@redhat.com> <253mt0il43o.fsf@mtr-vdi-124.i-did-not-set--mail-host-address--so-tickle-me> Date: Thu, 29 Jun 2023 18:02:27 +0300 Message-ID: <253jzvml3b0.fsf@mtr-vdi-124.i-did-not-set--mail-host-address--so-tickle-me> Content-Type: text/plain X-ClientProxiedBy: FR3P281CA0142.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:95::16) To SJ1PR12MB6075.namprd12.prod.outlook.com (2603:10b6:a03:45e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PR12MB6075:EE_|SJ2PR12MB8781:EE_ X-MS-Office365-Filtering-Correlation-Id: 02633a7f-af58-4092-a6b6-08db78b1dd45 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vuC+kShPaVUyHtCvUoD4BE3b5R9sX1fBAIMVg58iQt0avX6QKBr9ZJgjil4nBP3pQnqpobeLnK/uASzV4EJR5FDGCsRlw4pKMD1p1vMRx2CDzQsffEDpm3hRJtxbn5R5bxxlpMDItyMKZgrGCXaHOk9AkaTZYy6uS1yvIGjve5f4bg9SYyhsilzGe0bNTZAiAMu6QUwRRJ69rpylWqcXP8uWV0VWulIJ+jZ6eJGSmq+EhyM7wKNx9sKRAfHAtHiXu1MEXEt0t8WjfjQftpWc8N3O17Tmjk3Axd2rlA8ezqfUMklQZ7ZKLakPVSLJZlcDuTOlFqdcF6wUpxY0flEGCTnF7Oke7yTLgaQPt/SBiVLeLgZECAiEtvbAj3TY+g7kZL+03XYv0KggrFYuFoJiJx9sKCiH9veIqfp+7aT8MPTGp4x0enboRU1NxxnFJV0CkGvbn33zoEfaWexNvQpEf6sz2ISQrWscZ8/QimSm/bv/4lTPrNrpuGA4Lx9QM4xDSO8BExN+mFe1P/MdMFxg5Y1BeNwqY7t9/B9K7d/cOfzykpJET2CtiXVTfscgzCBNlGJLHCbjiXoJ2eeuRPi3QX8m3LvdObSPcuapc9+aY1E= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ1PR12MB6075.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(39860400002)(366004)(346002)(396003)(136003)(451199021)(6666004)(966005)(6486002)(2906002)(9686003)(83380400001)(38100700002)(26005)(6506007)(6512007)(186003)(41300700001)(110136005)(86362001)(54906003)(4326008)(5660300002)(478600001)(66946007)(66556008)(66476007)(8676002)(8936002)(316002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?vxpHW8daRLkbic/vjFD5vK6HqSBwTvCM6qbf5QA03EIyJg+TCzzIsU4B9RjO?= =?us-ascii?Q?zP1Uvr7uOGEbob/r3HBvzVizqWzH9iJvnFMMkDmbO4GIA/d09bwM9UN8ysWw?= =?us-ascii?Q?u8LK1QKHfd101PXPyGQUJY2xfD9q4FaUsUXDGEwInyR3MvKWFvpd5adRhkAs?= =?us-ascii?Q?/oreQyNCIzggCg6Dml3DPCKriVYav6X4gRqyHgMGA76o3CJqNA0CPRHYu357?= =?us-ascii?Q?CCwYHrAPpzyVCThUliQQ3GedLUGMfbv1y+dUKvUPPAl6SsBpAuwyb/FYeDwl?= =?us-ascii?Q?ctkG8J9FfU5mqyabLjHdMPWbuO4mWs7z61qBalr/oodZFXKiO/a92WBtN0VJ?= =?us-ascii?Q?DwCWeqxR51Pog3mksqeJCNk3gTlu+HYfA5VPHmpP7/RaHlFtHPwc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GvagfEjYKgsLpLdYrTvSqznA6XFFZZxHu?= =?us-ascii?Q?ODlFkZuTSr0DQCG5eGn/B6oTH0jiPPleMjPx4deM0qK1mz5kSII1IyCP5sX/?= =?us-ascii?Q?Ff5YTUC0uvPmh61ZA6EKLp8V8isiaf/yMsjGu7a99QdGahYa01upliELkavG?= =?us-ascii?Q?VsyB9VIUMTrzdQdQyfuN/3PxFh2Sh8uuvBEiex1dpaEsDRn5FlFI8e34lqZV?= =?us-ascii?Q?ib0YMv4ERcFS4s6cotapxCyffmKGd0sG+mFun2ymIWWD5wjrVJ7zjd1gz20K?= =?us-ascii?Q?O7UPNJbRCZpF7+rAtwFSgC//t5YRFrk+92oM4ZFB?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02633a7f-af58-4092-a6b6-08db78b1dd45 X-MS-Exchange-CrossTenant-AuthSource: SJ1PR12MB6075.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2023 15:02:32.1095 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UqrzbbCHeVdk12Yq+EKrnnKrYFCEPwbtSE20B/aJJpHKOPdPBjshx9Ijbzp8FlEIGAia7+BmcxWyxQBoMtdouA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8781 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sagi Grimberg writes: > Most likely this also reproduces with blktests? > https://github.com/osandov/blktests > > simple way to check is to run: > nvme_trtype=tcp ./check nvme > > This runs nvme tests over nvme-tcp. Yes, it crashes similarly during test 10: root@ktest:~/blktests# nvme_trtype=tcp ./check nvme nvme/002 (create many subsystems and test discovery) [not run] nvme_trtype=tcp is not supported in this test nvme/003 (test if we're sending keep-alives to a discovery controller) [passed] runtime ... 10.389s nvme/004 (test nvme and nvmet UUID NS descriptors) [passed] runtime ... 1.264s nvme/005 (reset local loopback target) [passed] runtime ... 1.403s nvme/006 (create an NVMeOF target with a block device-backed ns) [passed] runtime ... 0.129s nvme/007 (create an NVMeOF target with a file-backed ns) [passed] runtime ... 0.083s nvme/008 (create an NVMeOF host with a block device-backed ns) [passed] runtime ... 1.239s nvme/009 (create an NVMeOF host with a file-backed ns) [passed] runtime ... 1.229s nvme/010 (run data verification fio job on NVMeOF block device-backed ns) Same trace, null ptr deref at skb_splice_from_iter+0x10a/0x370 Cheers,