Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2180484ybp; Sat, 5 Oct 2019 07:10:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8akfiQH7qLTYE4z3t7PBkV9tuTcKNjk3CfpPEfeB4LoUUlBB6REVid1Sp0hcfxZuuX0p4 X-Received: by 2002:aa7:d7c9:: with SMTP id e9mr20622433eds.237.1570284630001; Sat, 05 Oct 2019 07:10:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570284629; cv=pass; d=google.com; s=arc-20160816; b=uhhvsfpQwmnvaSqgd1o/6am22Wp7irbo9J3xlBcQSmmGWc9MM68ZMLfm5L70PS1v81 s9fBsB5OrsurS7vjY37l+KaJVwcw4aLpzcOrQtLc5YYNlBgD6noiIucYsPIN/+iS8B4g 2YF/k/JasFLLEq7s2mTjhnW3jX/Zppct2Pia44weULEyj+4ADLeMdgI4G0NypPUefTbF aVxmBXe+L/+pUGtObqrsLZdCRvoWnyGi1yuEHe+lLgEalIWXHKGqF0tY+tgZDCenWWQr J7Damqy7QL79L4QBohJ09HH4goqB3Q9oDFAPUg8HYGA0XOmsjCk2eSVUhnhot5DMwwDm JbOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=ypmD9LsLN/01NGrQZteqUudJGVxK/spw2t3xFw2KpDM=; b=wg2JXoH7UJBJJhbSxhzUJsLiHgCYnfxcl569tNpxA19E8vTNNxM6io9+At9lfoz+vG CyAf96tik0agn636jAmxS0RoUX2rm9J2EjzEIXhns8hzo9y1pLWjImI/TeKzhNoUmxhC qS7i1pvu9Xs0kpavQaiMJc4whmInfltoKcFtm8XbAOWM/0TRzt+cZbTKIkqTAJeE7fCG 1apTzQAoMOCNGqb9Av0Lp0sjmaNCc2QNB6IPR+hm6XZllkkgvDJbYOOU+739SClpmADx 6Bb1bzoFyeePW01naQ+LAF0Uy4JkuvPdT6+pNEhmqd3ZFzyI5sIdAwGB62hiafS/EXWW GXtQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=f1LWdO84; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14si6110946eda.411.2019.10.05.07.09.36; Sat, 05 Oct 2019 07:10:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=f1LWdO84; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726086AbfJEOHV (ORCPT + 99 others); Sat, 5 Oct 2019 10:07:21 -0400 Received: from mail-eopbgr780101.outbound.protection.outlook.com ([40.107.78.101]:56672 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725963AbfJEOHV (ORCPT ); Sat, 5 Oct 2019 10:07:21 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IonuP3JT7UCdXh14upaItQumilB8hkJYBQ+rnxc2KNXlyTPgtjgb77VD46npSKUkeKmnTMz57q0q+yqMmJdtUCWJhs6s2EhHyCltH95FWFQCceh0J66tOcSVG6uZM+vVlmRxLh0mLlrUKmKhQ7Ngc4G8QPnR4L0akuhBKIJPD72wXWxbTuw3llPOpoYDiqAJ6W4NTb6GTWkr4NmfvRXaK6MpAU/T2LVn5+APcOCAXv21urfo6XieFZdV0e1xrMvaPBPcqBKWPKqID9Xe/TpqMXcVPjjBde+MTAF1F1cv3Ghi9RXiJ5ulWO3jkrQbTz39Cp6FwNJQAE2X/HAuEWHoBg== 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-SenderADCheck; bh=ypmD9LsLN/01NGrQZteqUudJGVxK/spw2t3xFw2KpDM=; b=jAa0EZsysvQWmoY30/UZ0QPe5h8sZ+ha6uPSrygF8aoOyEX2CBdJyXzCVRTX7U4tRVoxlWJco5Wy7UPEDFvGYD3JVOo7LR4JOGrENKmoTPOzv4yBRK/kA5364zOaUvfvqN+MvgijObSCyVIZTzZ4e5xMxWP+1gOTxv2H8Iv+okVOYkVqAs/iV6y4brA5qVOvLj7hoUgOnMkWMyqJ1/GhVprxuNWuMY/Z3IFKE3TduCvaN7uN9Lcr3qddZfcW9a2NA/SDH/cDxX49OveDv/FnrzpBbgn3eUst5gUmjjX6EVfthBt/sK77STersD5LAPjKywVhxbOAJuVZ+Nw+kbdCvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ypmD9LsLN/01NGrQZteqUudJGVxK/spw2t3xFw2KpDM=; b=f1LWdO84efBBdy1kyi90IOwpuE8TOd7kDj5j3IxqUho4QMpfdiOddBS7VqJx31WzTqdyjft5DsUZX6ua/O8le/Xuy3CPmVFTvB9IF1sciNoZkCHGDhoMbz28ODq4tewYhLHA1TeOV/3fO/DCTnGpccP1WoB65WMqf7KOMcv3WBY= Received: from CY4PR13MB1847.namprd13.prod.outlook.com (10.171.165.14) by CY4PR13MB1128.namprd13.prod.outlook.com (10.173.180.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.11; Sat, 5 Oct 2019 14:07:16 +0000 Received: from CY4PR13MB1847.namprd13.prod.outlook.com ([fe80::c922:bc8:f4c3:cd1c]) by CY4PR13MB1847.namprd13.prod.outlook.com ([fe80::c922:bc8:f4c3:cd1c%5]) with mapi id 15.20.2347.011; Sat, 5 Oct 2019 14:07:16 +0000 From: Trond Myklebust To: "linux-nfs@vger.kernel.org" , "zhangxiaoxu5@huawei.com" , "anna.schumaker@netapp.com" Subject: Re: [PATCH] nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request Thread-Topic: [PATCH] nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request Thread-Index: AQHVdDLYBQhYO0+XeUeeglb5KXlRoKdLVoQAgADNdgA= Date: Sat, 5 Oct 2019 14:07:16 +0000 Message-ID: <5c50a4be3562877a5d96523e943b9976a3792e23.camel@hammerspace.com> References: <1569479378-128669-1-git-send-email-zhangxiaoxu5@huawei.com> <08ce0101-e8df-509a-f3e5-07063aa5492e@huawei.com> In-Reply-To: <08ce0101-e8df-509a-f3e5-07063aa5492e@huawei.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=trondmy@hammerspace.com; x-originating-ip: [68.40.189.247] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 969333cc-8bb4-4234-a5a4-08d7499d53e1 x-ms-traffictypediagnostic: CY4PR13MB1128: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:612; x-forefront-prvs: 0181F4652A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(376002)(346002)(136003)(39830400003)(366004)(189003)(199004)(91956017)(8676002)(305945005)(2501003)(66446008)(66946007)(66476007)(66556008)(64756008)(76116006)(6512007)(66066001)(99286004)(14454004)(6246003)(8936002)(36756003)(26005)(7736002)(186003)(2616005)(476003)(118296001)(486006)(446003)(11346002)(229853002)(2201001)(3846002)(478600001)(76176011)(25786009)(5660300002)(81156014)(81166006)(71190400001)(71200400001)(6436002)(316002)(6486002)(6506007)(53546011)(2906002)(86362001)(102836004)(6116002)(256004)(45080400002)(110136005)(14444005);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR13MB1128;H:CY4PR13MB1847.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Cvhb/D4+9YOO6pu5nvsKG/qW6cn0K6joNKIlz98v/uyVzffb8a43SN71Jov2d87d5GbataswEjdtA9lvUpaZ7HFKnUH7o+rhEgDvHDuaqe3INrj5/ISOjyWRKxWPSWbBDpUSgvBrEg6G+T3NfBAZitTuKaLUjnwQ42Ofx8IxSmrIe6jAJnBnS1t4INLtcy9f8i28sXNmf6kawXrXxmOBOeDjMBUB2w1Y7TyIL/Ip5v8dIQHW3+XyGDpIH6hb5XblW9im7y14Tsgn8VppuAtpCsFNiDEQkVRLBOmNilt8PaV65ERMwfImYz50Lq2FEM8gLugWaQWYQAxMWcQK51WNM42zz0qwXrNdibF3cNK1mWTLpe5ffzZzL4aX7GPgZ57r0PUubE0qga1NXZnZ2vCKsamMrwQNy5uqmdzQ8YovWww= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <79BB0FF92B97E44B91541C65634BDDCC@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 969333cc-8bb4-4234-a5a4-08d7499d53e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2019 14:07:16.0715 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: sP9cIPeV9RI/eGB/vlAFJl96ZQpsujJMm1IrQkzzNPBBxn0BwEvQfd+cDRjkcBIswN9ZjbQa9owHd84YkxRt7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR13MB1128 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gU2F0LCAyMDE5LTEwLTA1IGF0IDA5OjUxICswODAwLCB6aGFuZ3hpYW94dSAoQSkgd3JvdGU6 DQo+IHBpbmcuDQo+IA0KPiBPbiAyMDE5LzkvMjYgMTQ6MjksIFpoYW5nWGlhb3h1IHdyb3RlOg0K PiA+IFdoZW4geGZzdGVzdHMgdGVzdGluZywgdGhlcmUgYXJlIHNvbWUgV0FSTklORyBhcyBiZWxv dzoNCj4gPiANCj4gPiBXQVJOSU5HOiBDUFU6IDAgUElEOiA2MjM1IGF0IGZzL25mcy9pbm9kZS5j OjEyMg0KPiA+IG5mc19jbGVhcl9pbm9kZSsweDljLzB4ZDgNCj4gPiBNb2R1bGVzIGxpbmtlZCBp bjoNCj4gPiBDUFU6IDAgUElEOiA2MjM1IENvbW06IHVtb3VudC5uZnMNCj4gPiBIYXJkd2FyZSBu YW1lOiBsaW51eCxkdW1teS12aXJ0IChEVCkNCj4gPiBwc3RhdGU6IDYwMDAwMDA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