Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B9C7C43387 for ; Thu, 3 Jan 2019 16:27:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 29CEA20815 for ; Thu, 3 Jan 2019 16:27:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b="qOHlrrV2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730848AbfACQ10 (ORCPT ); Thu, 3 Jan 2019 11:27:26 -0500 Received: from mail-eopbgr810127.outbound.protection.outlook.com ([40.107.81.127]:6549 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730795AbfACQ10 (ORCPT ); Thu, 3 Jan 2019 11:27:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WPmanqhntbULIqxIYHdEr6OHQ9yFihw9Gk4aCQfM8j4=; b=qOHlrrV2nBOu7V6WuEW8lF4shl/weRnDyBjlhzgxNRXyqEH/kyXl2NQuOwZcKJk2hiqrLyFKiXyiFEf19gMtHNYQ6O8yzONSL/jXfCNL8jje4ILYABZCwe8j5GcH8ayKd1eD1BA02enpr/B16rrXN2ajkQ50+RNXwE3vcn6ScJE= Received: from SN6PR13MB2494.namprd13.prod.outlook.com (52.135.95.148) by SN6PR13MB2576.namprd13.prod.outlook.com (52.135.96.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Thu, 3 Jan 2019 16:27:19 +0000 Received: from SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::7dd2:1e4f:2de1:eb27]) by SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::7dd2:1e4f:2de1:eb27%3]) with mapi id 15.20.1495.005; Thu, 3 Jan 2019 16:27:19 +0000 From: Trond Myklebust To: "tom@talpey.com" , "chuck.lever@oracle.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 1/4] SUNRPC: Ensure rq_bytes_sent is reset before request transmission Thread-Topic: [PATCH 1/4] SUNRPC: Ensure rq_bytes_sent is reset before request transmission Thread-Index: AQHUou4ciNJmIo9Omk+8lSTAAKbkzqWdrGSAgAAKCoCAAAN5gIAAApyA Date: Thu, 3 Jan 2019 16:27:19 +0000 Message-ID: <17c7208aee3dff40cc4d446c1c1f1000d8a1b041.camel@hammerspace.com> References: <20190102225313.2097-1-trond.myklebust@hammerspace.com> <20190102225313.2097-2-trond.myklebust@hammerspace.com> <1B5E1F96-246A-43AB-B9CE-FA41C595ADFF@oracle.com> <6e18b8ce25652bf17d6d1fa95c3a6127767cb45b.camel@hammerspace.com> <32eef80d-9129-3284-2f9d-15b9ca3930ec@talpey.com> In-Reply-To: <32eef80d-9129-3284-2f9d-15b9ca3930ec@talpey.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-microsoft-exchange-diagnostics: 1;SN6PR13MB2576;6:IlhO+OXwYdVmgvc3stRUpGepeiQDcPyFd3hcNAyBDPkd5XFF0oXhTxcm2FUN3+14IEpTQQ/btyOLcxN+0PsPKtl4NAUdd1y060JMH1YAi0iumcA3uKMm3DlSRWBiyE7CCBmCXaL+WNIMr3BvPCUmNnxwCmegyUCbqkit+PrGCAsGhH4J44oLjDbHio7ziHehm8FLquTYJ7iFOzxaWABAZxln/GSNHibZfaD1QmIEkUf81ahDoK/cF9ZoV2VuUi+RjzIFvFAR/N0voHxuCg/Y8ufjpiYXunSFihbvmXswiyF7Q3oRpW/7RLKbKQow0lltTwN7DXIntFJAEVNyU/bwnFPOzKlWMlTjnCR9jYFI+NXWtk5/59HpGor0ZOq4TnQo+jms4RXGMYDiOPrVgndva/0hRCA8Uu58BPDi8Abt2jM0OI7PW9GoCsSU98w6pQ0UwlR7hPnydDWeGUIcU4WcMw==;5:z34VMC5gXIinvE5l2Tuh48yL630gkPCG2elIvGq3GHZgbRV+DJi6awJC7vEt9TsWvbuhPlaQ5qYKHrk0WcNRflwTIyWiSyp3xEq9f8n8XVHx27KeCOQe73ksC2Ma7b+7OHAd2B0Kes4ATfabiX/kHrGFGsQi6M/OQULp9pzYRllkmYd1RW+RHGbL8lZzK/piLhEnsWkeuw+J/xOVc7pmfA==;7:bo9q/++jrKJL58zPMJJ2npZ5P8zfM08eq7RHUWfcDsT6e/4UIiaU6C+QWCYgxuwm8fbXFB/fogn5J+FD5oz7eIV0/MJc2ZPSBZjWGt3RWdxOzJzGhrolftoMAbH+dzDNgfCGcpaKnMCRKRlU1sgV/g== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 661404a8-28dc-4979-7bcf-08d6719854e1 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020);SRVR:SN6PR13MB2576; x-ms-traffictypediagnostic: SN6PR13MB2576: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(3231475)(944501520)(52105112)(93006095)(93001095)(10201501046)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:SN6PR13MB2576;BCL:0;PCL:0;RULEID:;SRVR:SN6PR13MB2576; x-forefront-prvs: 0906E83A25 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39830400003)(366004)(346002)(136003)(376002)(396003)(199004)(189003)(110136005)(118296001)(14454004)(97736004)(66066001)(2906002)(4326008)(316002)(7736002)(446003)(81156014)(25786009)(6116002)(3846002)(81166006)(11346002)(229853002)(105586002)(5660300001)(86362001)(15974865002)(106356001)(478600001)(14444005)(71200400001)(2501003)(256004)(53936002)(93886005)(8676002)(486006)(305945005)(6246003)(68736007)(76176011)(8936002)(26005)(2616005)(6506007)(476003)(102836004)(6436002)(186003)(36756003)(71190400001)(53546011)(6486002)(6512007)(99286004);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR13MB2576;H:SN6PR13MB2494.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ncH+WG2s/UKWBSp8Zp6osSUpAbzVn6vAicrUMeOrRkNM0yznFxdFWtb2Qv84EApOiqAw3mayjFOWQv4CV+N4vx9+Jk1lM2+xXMfLdaBie2Q1IvH8abzM9+Em9ioCVArl0Har0iFkIJexHvsDeir0gQ288BNDnNwkIjmPmTp2C5XuPXWGwYjXY7Ba17H5V2ZhgrOcKt7sExsPJrU7voSv5u3jGhnZqXemhlKukY+L6qE62yezxMwV1mZA5r2aKlbXYJvTZl6wmcYunZ1bQ2zl+c0M/+KuPcKxZXM7+h6+6Rz3IXUWOTGEuim+OmUnU6MH spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 661404a8-28dc-4979-7bcf-08d6719854e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2019 16:27:19.1284 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR13MB2576 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVGh1LCAyMDE5LTAxLTAzIGF0IDExOjE3IC0wNTAwLCBUb20gVGFscGV5IHdyb3RlOg0KPiBP biAxLzMvMjAxOSAxMTowNSBBTSwgVHJvbmQgTXlrbGVidXN0IHdyb3RlOg0KPiA+IE9uIFRodSwg MjAxOS0wMS0wMyBhdCAxMDoyOSAtMDUwMCwgQ2h1Y2sgTGV2ZXIgd3JvdGU6DQo+ID4gPiBIaSBU cm9uZC0NCj4gPiA+IA0KPiA+ID4gSSB3YXMgY3VyaW91cyBhYm91dCB0aGlzIG9uZSBiZWNhdXNl IHllc3RlcmRheSBJIHNhdyBldmlkZW5jZQ0KPiA+ID4gKGZvcg0KPiA+ID4gb3RoZXIgcmVhc29u cykgdGhhdCBycV9ieXRlc19zZW50IHdhc24ndCBhbHdheXMgemVyb2VkIHdoZW4gaXQNCj4gPiA+ IHNob3VsZA0KPiA+ID4gYmUuDQo+ID4gPiANCj4gPiA+IA0KPiA+ID4gPiBPbiBKYW4gMiwgMjAx OSwgYXQgNTo1MyBQTSwgVHJvbmQgTXlrbGVidXN0IDx0cm9uZG15QGdtYWlsLmNvbT4NCj4gPiA+ ID4gd3JvdGU6DQo+ID4gPiA+IA0KPiA+ID4gPiBXaGVuIHdlIHJlc2VuZCBhIHJlcXV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