Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4128653pxu; Wed, 9 Dec 2020 09:03:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQgCtPIBq34dkV7u6gKYm5pjfrKKJfGisdy1dZu//AK93Zi14a2HDqB6J1/RvgeGoZHrIP X-Received: by 2002:a50:d685:: with SMTP id r5mr2977537edi.248.1607533416678; Wed, 09 Dec 2020 09:03:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1607533416; cv=pass; d=google.com; s=arc-20160816; b=k1MihWaMQc2AAN685qF8WVqxxTlaLIp5bnMaOyjcY0og47meUS0hRG9BJ13VehwIx5 39A5FkvLaDp0B7FDaGvzvoHH/fc6E/MNNFy1lVbBBB3XFFHyoV4pFtWZQmfYq4a7jF1s IwzC+31XTAmrnt0ajsL7RvpLB7d9hAOhK6NQFdINioG8ee1YrGTVckZo1F5Wy9m7sJTg jKaD+dCCOIIxk4hn2qtHqv2NcKfiUmX0+fWoUFKV6e5vs8bEPdigvsEYdxg74+233TMq qo6J4QnuFnW2FfFErF3TClct9f76QbiOWI0AiRLhZYMo6B3SOdC15WKyGSxF/0nMHBJ2 8KNw== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=m1rhBJLvXLi2Xt9+p7uhqQYn6QRt+fchJxw06c9cb/I=; b=dGilgz9BIa9WwwZDlKnkRzKj83qkvOKyX+T0ciS87XKokX5PEp8FOAXDyeiw8LL3+m zXIAaKxAVhAnegrpeMB1ntInY8dBGn+1f4rI4dcMLDKaQ4ohs04bnuToip0Nym4RS+b7 98VbKkk/IYgVmWwTUa7ZWy086r79AOWOHVQA1pPJbbrP9zB7WEALLAP7t+MfEUxtFDVc AxzHPEAcd4zjtXed8XjDFiXQFo3GCJrazFGeWsXzE0GLjKMuuBP8eHhgdmn6lFop3hn1 Pw64pN7olltm0HhHSPPOuc4wCGfRf/UjXlsImCBDJ56IiSasm1VUgpNGQKPqP0vUhj4W 5dkQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=bQNS3YDd; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c20si1146481edw.222.2020.12.09.09.03.13; Wed, 09 Dec 2020 09:03:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=bQNS3YDd; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 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 S1730885AbgLIRB6 (ORCPT + 99 others); Wed, 9 Dec 2020 12:01:58 -0500 Received: from mail-co1nam11on2110.outbound.protection.outlook.com ([40.107.220.110]:60256 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728082AbgLIRB6 (ORCPT ); Wed, 9 Dec 2020 12:01:58 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fX9AFYnjUl/RqmAis6MNt/wUJggbI7RH1k23yuwI0bMy6vHmuKkaF731lS6GHoYjud6yLmeVO4lujIFA047gj2eNspcIfvITyBMDAVeNYKAwLm+TGcHa4MuSx+3ssq4gzi+PjQn7n0Ak35AYnIdS5fW+dge7FlO0bi6NJeZJl7iE1xeajIstEQXiqs05cpN0js4VvjdlSH7FL/VwkKpgl6ZzYZ3lV+fpZoelUZThm8EhxQvV8h93VAghpU6zOfzNPIV0oOM0c/qFt4DEZPZQXinQMte3JuAgTk7GUXXwYuFdQ9t8jX2u/UHbLdg08HCbBKWGd5Eqe+ixGVgoPIHBkw== 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=m1rhBJLvXLi2Xt9+p7uhqQYn6QRt+fchJxw06c9cb/I=; b=hHyYE6EdN6JG/+NuagPLI3/+GnAHS1jw34Ce/sahyYZF4uu+f20VlbBJLzeRAadbDJF8id6Lxu9mvfygWW/Kan0iTflcBUngyVNVXY0ASmEYeYGs7wm50QjGz/CbJu72A5wl67Vjq2vvjG+l0mscbTGEKLv7LAmnTchRA7TUOtGXyBZuKbYx4xKiP8UnP9bfmpaKFBrw3r0yM9H0EErawHAi0Bf132VrMr2SXJHAkxiFg1j9glznqScNxC+OFGy8nHa90r1UfngrN8+1N+vgnbqCinlk853stmluXCzqY7eqhaEf5DusrfGwfMwVtYqSioC0xJcnITNaK7rpuAETMQ== 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=m1rhBJLvXLi2Xt9+p7uhqQYn6QRt+fchJxw06c9cb/I=; b=bQNS3YDdxlHY2WH/juywcCOq9bFsZ/hDOWvCXco6jfwBGsGiZpYSsUdMwFO4HTPKyDI8dC/7xrNVpAsz7eynYNZTL9BnJx05Zytsz3dK0bzX1eYFzB7Ft1JWouyGINmSIuaCORLoa9XdYz8KipW0J+TX7U5RiqxnuWdjZbrFPE8= Received: from MN2PR13MB3957.namprd13.prod.outlook.com (2603:10b6:208:263::11) by MN2PR13MB3152.namprd13.prod.outlook.com (2603:10b6:208:136::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.5; Wed, 9 Dec 2020 17:01:03 +0000 Received: from MN2PR13MB3957.namprd13.prod.outlook.com ([fe80::e989:f666:131a:e210]) by MN2PR13MB3957.namprd13.prod.outlook.com ([fe80::e989:f666:131a:e210%9]) with mapi id 15.20.3654.009; Wed, 9 Dec 2020 17:01:03 +0000 From: Trond Myklebust To: "chucklever@gmail.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 15/16] nfsd: Fixes for nfsd4_encode_read_plus_data() Thread-Topic: [PATCH 15/16] nfsd: Fixes for nfsd4_encode_read_plus_data() Thread-Index: AQHWzjqrXvJmu+c15kOF+vAO2VLZ76nu8PAAgAAGQYCAAAU7AIAAAN4A Date: Wed, 9 Dec 2020 17:01:03 +0000 Message-ID: <2f9659232d159e2992960ec5000bca4275412fe2.camel@hammerspace.com> References: <20201209144801.700778-1-trondmy@kernel.org> <20201209144801.700778-2-trondmy@kernel.org> <20201209144801.700778-3-trondmy@kernel.org> <20201209144801.700778-4-trondmy@kernel.org> <20201209144801.700778-5-trondmy@kernel.org> <20201209144801.700778-6-trondmy@kernel.org> <20201209144801.700778-7-trondmy@kernel.org> <20201209144801.700778-8-trondmy@kernel.org> <20201209144801.700778-9-trondmy@kernel.org> <20201209144801.700778-10-trondmy@kernel.org> <20201209144801.700778-11-trondmy@kernel.org> <20201209144801.700778-12-trondmy@kernel.org> <20201209144801.700778-13-trondmy@kernel.org> <20201209144801.700778-14-trondmy@kernel.org> <20201209144801.700778-15-trondmy@kernel.org> <20201209144801.700778-16-trondmy@kernel.org> <4BA2AAC7-C4F5-4740-B10F-D34022A58722@gmail.com> <55246c5db6ec550827f1f230bd980760db28a689.camel@hammerspace.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [68.36.133.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3c681662-c566-43a6-92ae-08d89c64031c x-ms-traffictypediagnostic: MN2PR13MB3152: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EsFzeVrOSiJMly8JsK27WxyZuwAJB1/wwob8RpW57QCcq6kmC67gKnQ64Ma2y0QcY1Uy3b7zfIO2kwvrm3Jqg6Zs1CvJWo36BylbTlY2QCfSNC49o6gNk7QpeEAsDnMG3RsESvCzxkzqNiIVrG3QG6HTCacqkDGks2FtG7CJCLwoAxfwwi1N+1I6jmL0fUXUl/F9Hv330GVJkwM91AkZaF6yXs3QufCoG/YOsw2u5F3+dkPS5iSxBvWVlMNctLPoB4vYmASIZ9eYXMFxF/M7dgbyE/0m/Qwq4Q8DAaTsdvJAcjQUjRcKl3PjBklQE5UZAVzonGQcJNoF6BFK6Gf2WQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR13MB3957.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(136003)(376002)(346002)(6916009)(26005)(91956017)(5660300002)(66556008)(6486002)(66446008)(76116006)(6506007)(66476007)(4326008)(36756003)(71200400001)(53546011)(86362001)(66946007)(64756008)(8676002)(508600001)(8936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reURU?= =?utf-8?B?RU1yVXdRK0o0NGNQeElOejd4dTBGMXU1ZE5uaUN6cWllalVta05yTFhiTllJ?= =?utf-8?B?UUUvcG9Vbjc2ZzBCaWlxQ1NvSG1oN0JpQi9MTnNhanBJbG1JMEFPZThkU09n?= =?utf-8?B?ZDNHWDdnYWR0QnhtK3dYUHN6dlNqS3FlMFpKMGU3d1A0VlRRR0Y5dytTUWY0?= =?utf-8?B?b1pEK3J1V0xVYjZ0Q0s1OVFqVE5SV2pyMVRBUmVGS05lcXBoZVkxRjZaL05m?= =?utf-8?B?R3NIQlJ2Qmx6RFFrV0Rtek9tMUI3clBOUFJnb2ZXREI4cXk2UUpuTjhpeU9E?= =?utf-8?B?MEZzdWF4a09iY0VuWEljVCtXdFVZUTBNejJVZWxrZnNtVnVlekNiYW8wVE80?= =?utf-8?B?L0lZOWQrN09TeTZuaEhKQUpoYmdXTzdQL0xWcmRaU01vWTkwUlFRaGloZDkx?= =?utf-8?B?Z2Uxa0ZINFpNT2VSa0dSY1RhV21MN000L04yNko0N3liVzdsQ1l4THlWdW5v?= =?utf-8?Q?p2dspSyoSUZZFmM3km7Yf/ll6tGr9WsQP1?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <43E9E71AA6C55640864E38FD2FA50981@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR13MB3957.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c681662-c566-43a6-92ae-08d89c64031c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2020 17:01:03.4945 (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: NMS9H8si6OA1n64duqIzvmJUiezD2s3T9UGI8pAdumIFszA7MyTy04fiCdzJoyURsSYTBPE71BcXNCJ4IVgHig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3152 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gV2VkLCAyMDIwLTEyLTA5IGF0IDExOjU3IC0wNTAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4g DQo+IA0KPiA+IE9uIERlYyA5LCAyMDIwLCBhdCAxMTozOSBBTSwgVHJvbmQgTXlrbGVidXN0IDwN Cj4gPiB0cm9uZG15QGhhbW1lcnNwYWNlLmNvbT4gd3JvdGU6DQo+ID4gDQo+ID4gT24gV2VkLCAy MDIwLTEyLTA5IGF0IDExOjE2IC0wNTAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4gPiA+IEhleS0N Cj4gPiA+IA0KPiA+ID4gPiBPbiBEZWMgOSwgMjAyMCwgYXQgOTo0OCBBTSwgdHJvbmRteUBrZXJu ZWwub3JnwqB3cm90ZToNCj4gPiA+ID4gDQo+ID4gPiA+IEZyb206IFRyb25kIE15a2xlYnVzdCA8 dHJvbmQubXlrbGVidXN0QGhhbW1lcnNwYWNlLmNvbT4NCj4gPiA+ID4gDQo+ID4gPiA+IEVuc3Vy ZSB0aGF0IHdlIGVuY29kZSB0aGUgZGF0YSBwYXlsb2FkICsgcGFkZGluZywgYW5kIHRoYXQgd2UN Cj4gPiA+ID4gdHJ1bmNhdGUNCj4gPiA+ID4gdGhlIHByZWFsbG9jYXRlZCBidWZmZXIgdG8gdGhl IGFjdHVhbCByZWFkIHNpemUuDQo+ID4gPiANCj4gPiA+IERpZCB5b3UgaW50ZW5kIHRvIG1lcmdl IDE1LzE2IGFuZCAxNi8xNiB0aHJvdWdoIHlvdXIgdHJlZT8NCj4gPiANCj4gPiBOby4gVGhleSBj YW4gZ28gdGhyb3VnaCB0aGUgbmZzZCB0cmVlLiBJIGluY2x1ZGVkIHRoZW0g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