Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1768324rwl; Sat, 8 Apr 2023 01:16:52 -0700 (PDT) X-Google-Smtp-Source: AKy350ZOhCIRIgNVUy9+20+FriblepKZu61uAbwDMde7SmkUEJfoJ6ElojzwPms97KAgLqC0YYCE X-Received: by 2002:a17:907:9693:b0:948:a1ae:b2c4 with SMTP id hd19-20020a170907969300b00948a1aeb2c4mr2177560ejc.6.1680941812098; Sat, 08 Apr 2023 01:16:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680941812; cv=pass; d=google.com; s=arc-20160816; b=IbfCyf+J4hOtNWOiRnig4VzoOOxyfqAYly3WWOFNV7DqN4jlQUoioC5neECMyiBy8p yeMzYduwDE0PZrBcVCFRpIEQ9hezwpygXLtYsU1p2p25ZegkID0cJj66sPZOlPAjGhSP Psurhyi/B+zy4J+2OmNDZvvSlHFDJ/nFmNoMuQPhxkAu5YcGwikixm34kx+hjV3Amyhv DNjvwzTYQGe/ss6VrsGIyV4NtdhebGii4QRN01SeAhUa9BX0qQjUJFefBtmKwQFxitPi NKJ2f2mqdZR5kOjaSl5nW+tJU9P5P7rvKPxT3BSUnWKv840beT6P7EtBcg/pWWGPo7ZR 5Jbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=CmqLpgtwx5Fb148kbmNDCVWaATvuYgwYRIZXPJZ7How=; b=NlKLvmRqjgJp8iqU77nlBURvLMbHbTcrI/L/CvWmxnyJKECRiNypaitsNQWJ9nSbfl C1Z3wYpeMygiLK6IVgKnUlyQZ0XZBJQftHVr/7aCZ5hXGFLzznN9nrx5t/ZhVkDqoSW/ Nd5LZu4xzGV3fGL4dcP7m9LLfaRb7PKIIgYKiFY1Gdmp5nmCykQ3BZEJ52ELouaKWaXc vxLUlaUjXAXoL4Hd+t/jM1SGBBr68V1s4M8Qvipzo1FKxNfwU7UA5RdeMP7mtPwfNwTQ BeEG1i3bPub8j/1mi3DObd+iafzmfdXFX6EazqoJhRwrv9FRzpWWfAvSjMW85JUFkJFm /eOg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=sIoS1Qs4; 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 c23-20020a1709060fd700b009497c0571b4si4550086ejk.26.2023.04.08.01.16.25; Sat, 08 Apr 2023 01:16:52 -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=sIoS1Qs4; 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 S229778AbjDHIPk (ORCPT + 99 others); Sat, 8 Apr 2023 04:15:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjDHIPi (ORCPT ); Sat, 8 Apr 2023 04:15:38 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2050.outbound.protection.outlook.com [40.107.94.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C0D410248 for ; Sat, 8 Apr 2023 01:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VG5mmV02AtuijFdnqXI/0eMsNxTQTjGmAOrpg6Ziirfq9ncdiRijPJuoazdZdRegIehvt12TvfO7FAOxM7aiGkYpYgdiJhUIrpscO/Wh9BxlYWHgu+UKeK7H2RcL0j9uE5quqSKbwKLaccN0R+oZl8RZp3ZA0F2wR9vMItQKfPc8Yo0ueoW+YqPckUerwC7gdFP1VY+M52qJLlGDqc+9B7MmZpJKUh5//d4B1MbV6S9GorPbzAG6QvjiIfgJofvpxMDc3iLcK0mQvimzbPXfcKq4ZjoDgE9+O9U3ruMnglJFlT9MkyUf53mfi2rmZoSXfxQojAQNmhIvSvpK9BtD3A== 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=CmqLpgtwx5Fb148kbmNDCVWaATvuYgwYRIZXPJZ7How=; b=K3kRXGaLob1hqYAxGardiWYZE1izfB6gg6paQydDUDhpk6vDYrpY2Hc9PsMMndLLUZ/PWWBegKp1xWQmP0M6vgFPN5jKF56CUjzBVy5Iium55eNc9jbYAMxYRtymC+3N/Z53GdVEtwPDG6o13gC4BT4celKN5nvbU77zg9mdv5ZBC51jnGLrySHajj7ljEos0XQB0CIaXvTfmOSeMv2+VAX98BPOkF/eDWAUSEqLfZfCFJscaPZghJnl63ZnGB5ItRVqM33jLmadyyXm2FOs7JSbYduDj8WYgbuiZfLHJdMmrtLjggx8NXegEqEQpd0oM9oBLozlNP2d395ArVTAww== 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=CmqLpgtwx5Fb148kbmNDCVWaATvuYgwYRIZXPJZ7How=; b=sIoS1Qs4oVqi8Csu4jvf3hhzHd1Apt1T37Vh1svIpl26cuB9yZ4jCUhvmjhOT9DRNZioToviwdPXdq7EbtG9ln6PCpEElPLR6SE5/E7Z5OFc/ktavQxtUQBKE/y1/FjtfkpSAXCYTErzeyPU3xurkR2Q0SBuvbNr1qKe6+aD1N6mAUKYb8HfA0NVHYS7g1LrEclKQ3cGiXi+EhZt+Wev6XbWzCmtvnb4SnFyvDjrh2jYq6Bozz7CsPVgS43QhP2o255VeGylGEqik4UctDSigf/OCTJGmtpkcCH9OhMbLkF2xxMyITwUIKGgin+p1Pd0QOyQYMU90/Bnr1+v/LNgVA== Received: from MW2PR12MB4667.namprd12.prod.outlook.com (2603:10b6:302:12::28) by SA3PR12MB7949.namprd12.prod.outlook.com (2603:10b6:806:31a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.35; Sat, 8 Apr 2023 08:14:46 +0000 Received: from MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::6b01:9498:e881:8fb3]) by MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::6b01:9498:e881:8fb3%4]) with mapi id 15.20.6277.034; Sat, 8 Apr 2023 08:14:46 +0000 From: Chaitanya Kulkarni To: Lei Lei2 Yin , "kbusch@kernel.org" , "axboe@fb.com" , "hch@lst.de" , Sagi Grimberg CC: "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "cybeyond@foxmail.com" Subject: Re: [PATCH v2] nvme: fix double blk_mq_complete_request for timeout request with low probability Thread-Topic: [PATCH v2] nvme: fix double blk_mq_complete_request for timeout request with low probability Thread-Index: Adlp7D0a6eHDJ2XCQ12f5YXOFDMnBAABHCCAAABgHQA= Date: Sat, 8 Apr 2023 08:14:46 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW2PR12MB4667:EE_|SA3PR12MB7949:EE_ x-ms-office365-filtering-correlation-id: d1f31ad1-fe57-4e81-9538-08db380950c8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mzj6hXEnBTK1TIAcyqZAkpUZcGZHVka3zLhSgfeNXCLJL9AakJqg7/4VXVqXNXshEdtdWH5h1oPNSw7URIqF4wCQtUW2K42OVJWieOcVhN4wXJzp9FzqGuZ2wj7kyi3SBXwuMjZm8urxufwmRLvqHxkJ+/LZUdof6s/UeIIAevEtTiSEF8hVe3KuWMTUlbMaVnw8v/dpc96zPrHPZkSxaN0qWMkJyMW5QVRfOt5X9PqE0W2cvIU2uli1Wl9MIuqCueyDzsP0QBoqP9+OyhQvejRdFwhdgVQfvOTA2nubfOAX+nAMka6mP0RggyMfSdDwfap1YZme/K75/weQGfSwS1VW8S97XyNoz/JhozBx082jlTdMGgE7Iiv+TDWCbYT6ER+6/IHXAGDc2Ao19oZksRcYi2Jcq2PCb2ath/hHplYzP8279LXqgYe1KJAm8tk6DRvB2kuEz6DY1gxBALNkZ4YpyAIAPMqhMLSSTO5HF2lJ8CdsooZjnJ9aqA0o4yiKJsi+zoxAWPxhy4foQDRcd5REBpooi85oV1kVtlnwe1k9GMqAM1bD034FttQS2enJJr5rSQaU/kTsLqP/ELXzTi92InjKEsOnvtXN4FJfak8aHu+7I/bkALV2F3XIzSrzF2Aju9us1g73VqzhWWspxd5FQDdZ8Ty7jMsx0cXPrxCszanaWT9+Nc7XVwgiigO9 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR12MB4667.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(39860400002)(396003)(136003)(376002)(366004)(451199021)(86362001)(31696002)(36756003)(91956017)(110136005)(316002)(41300700001)(76116006)(66946007)(66556008)(66476007)(66446008)(64756008)(8676002)(4326008)(6486002)(54906003)(478600001)(71200400001)(5660300002)(2906002)(8936002)(4744005)(38100700002)(38070700005)(186003)(122000001)(53546011)(6512007)(6506007)(2616005)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dHFuOG11U3ltd1VwVGxEQSttY1grdENER2VQb0JDbG1ISWhWUmsrUFAvUHNE?= =?utf-8?B?cnQ0VUZ2OGNJdDRjYVoyMmh5OWpPWGlJTmlPck9GTHRoVG9DVWV3WXVGK0lK?= =?utf-8?B?RnZlRWN0UmxsQnk0dE0zQWZ0NnpDQXhrcHFlUk9IeDFhS1pjZ1VWMDhlVXdZ?= =?utf-8?B?RWtFc3MvZFhURGgyWHZDWDNJWjVlcFNvODRLVkhwdjVOVndIaTBwcFMyN1ly?= =?utf-8?B?TWQwQmRLTEpycVpQdlo4OVZTbUZvY3F3REpZcXJRSGR1UXVIZUc0cjY5bEV1?= =?utf-8?B?S2JjSHdlU0RzdU9MTWRNdjhaQ201dzg3UDg4ZnRhRVZsMjdubG1jZFFJUEZS?= =?utf-8?B?L293MmJaT2pNejBLbHp2anZkYW5xdlJpdm9oMG44ckREUGlTUDAwRVNnTThn?= =?utf-8?B?RWU3ZkJJTW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= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB4667.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1f31ad1-fe57-4e81-9538-08db380950c8 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2023 08:14:46.3852 (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: bUQ5sTpsdvG63YqKqdQPsPfjTr8Mh7KCC5MRmKOexQCkF6mbDi9XaMfFdMulKebduIWPKGjRsGeIdLlsJ79UJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7949 X-Spam-Status: No, score=0.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNC84LzIzIDAxOjA0LCBDaGFpdGFueWEgS3Vsa2Fybmkgd3JvdGU6DQo+DQo+PiBbIDI3Nzcu MjUzMDkxXSAgPFRBU0s+DQo+PiBbIDI3NzcuMjUzMTAyXSAgbnZtZV9mYWlsb3Zlcl9yZXErMHgx MGEvMHgxMjAgW252bWVfY29yZV0NCj4+IFsgMjc3Ny4yNTUzMDJdICBibGtfY29tcGxldGVfcmVx cysweDNlLzB4NjANCj4+IFsgMjc3Ny4yNTU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