Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp490670pxb; Thu, 19 Nov 2020 06:32:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGwe5MrbsqXFczfdRk+7JEqb3z0zWumFui5iYUfX3y3DhsPKrnq9WnkN/LvYV75v9sE+Aj X-Received: by 2002:a17:906:4059:: with SMTP id y25mr28758044ejj.498.1605796325411; Thu, 19 Nov 2020 06:32:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605796325; cv=pass; d=google.com; s=arc-20160816; b=T1OQ0SNG3KmALxxbgL1E6kmKl9iSGDVdK8jsWbPikGqXiCOtTn3EkWldSCexNsHVVT DjR6Q/mHIaqmsgcX18z4DGdkLkEy+mldB6t8vv3CRSS7ovR7Jubl2zq/+QpR5fDDHXMW 91q+dPSY7CWzXiii3Lw9gw6YRM1KTIyOK5YGUFZa6m5bj9BkV8I2Vl+W7e4LDpDAs1pi QdD5prUZmQggPxcy/9kCKqBODE1XUy14IODO/tzQ4v7nZR9RwrLOb9jxPv67uGr2p19G 3W9/uJW55HzJnTpiiUcHkFzkgnFZNWDmW4k3vsl5T8vNXt49pn1WIOs1khIsNCCp5ydQ H9eA== 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=ejEFV1rfgPAsNVvpkUkXXCmSI87ZQSnpyHFUJvscNtw=; b=kg0Ce9sxYpJ7VOFzBZRH4u8gfE/bThn5+DvKUBU7BFaAGsQbRpPyc8MN3sVa1FNq0Z q3U5ghHTeXi8j76zFkfJTnFjwOhv15S++YNRQmKu9/KyOgylIH62jCdouNgs13uy7uy5 tWSB9YJi5WKMtdNZlwvM/brLW4CmneyF+fEf2x52ZRmxI+WBiwpPGisZKZwXfpY8GZwN QSwHlWpHobNQwowPMAOkQ32V6CjlAxTDILg09+Rps5GsOFw24RzkPwD6T12n0ENSD+W7 DuhLrozWXU8qRkSr++bxIWTnL/VmRKicaHVjDlgRJiyf9ghA3n1GVRepxdFsjH+/sNfD 8tEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=Xti1sqBx; 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 y11si5444667edm.309.2020.11.19.06.31.22; Thu, 19 Nov 2020 06:32:05 -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=Xti1sqBx; 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 S1727709AbgKSOaO (ORCPT + 99 others); Thu, 19 Nov 2020 09:30:14 -0500 Received: from mail-bn8nam12on2096.outbound.protection.outlook.com ([40.107.237.96]:11616 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727473AbgKSOaO (ORCPT ); Thu, 19 Nov 2020 09:30:14 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cMkkKvyvBFlRuHg7w/mvaIti/VMDdubV1DrEaGkff4yEtd5tjHFSWb2+cPwFCxTksHpuT2PB6N3S3hTotKSD/j2Y0zAisx/OBvAqXeqeTsEnPgy+Hhpf1WjXdKrsCZQ08BxdPIfICsukogVqiMGNjflRjI/JVOwg9K0uftuJHeHRXp/27qc04Jwu+nJJgAWvmF2C4B5wCyPDBvP3oTGPtBtRmhJQhY23OOCs12XKEOpsdv04D1/yLOusPpP5tuE8gEW1eJV9+URkQSKeG72zr4zRvbxteKKEUPQuyBrXrlt57rOK44yV9NKmws3RtNrQlQOgFXrvOGvCadJT8H8eLg== 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=ejEFV1rfgPAsNVvpkUkXXCmSI87ZQSnpyHFUJvscNtw=; b=dCB+2/ZPxF8uCvM4c3xMshXo/Vp1Wh2a7VGjAl8fybuN+y4qRv9kgBDxIHsb7qNQwN1JCDet/04IxPqd3ULJ233qjQfqddM/GHdAo2HB5e3dM6h0FsXX0pBqut5D9FUH7+e//FmywxMq1RtW4EkQTPOynCNcI6Gy7iQaSyOMftRbD2DfJlUMSSuPNbapTjcr89tZbNfSNjJNx0WMXbjJ4qcC4oRsGORdHxWsGstOMGeXSS/Vf5Spib6t1FzxnbuzW87hNCRKufp8VgHh0BNkfw3Ojitzn3G57ttuI7X+QKZm+/XqpY/oPBv/EUzcEBOkKDaQeUGbVXI360gxVPv5KQ== 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=ejEFV1rfgPAsNVvpkUkXXCmSI87ZQSnpyHFUJvscNtw=; b=Xti1sqBxjbyRTE1t+IJEUZyCG50/7As6SZc3cynKJABWyfEs/edoNDxdMofps9gSw1zB9Jt/u9s5uSc4rG3JI6+kATXRUj6Fcz9aAyd/HXWASbZ7vQvquB/e9Kc2INQnDDOG4LmcS4bjlR/0e4qxm7g4ShdZvh0e5N/6cXUC5To= Received: from MN2PR13MB3957.namprd13.prod.outlook.com (2603:10b6:208:263::11) by MN2PR13MB4101.namprd13.prod.outlook.com (2603:10b6:208:268::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.11; Thu, 19 Nov 2020 14:30:08 +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.3589.016; Thu, 19 Nov 2020 14:30:07 +0000 From: Trond Myklebust To: "chuck.lever@oracle.com" , "trondmy@kernel.org" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 3/3] NFS: Avoid copy of xdr padding in read() Thread-Topic: [PATCH 3/3] NFS: Avoid copy of xdr padding in read() Thread-Index: AQHWvfkXUHuTZLUV8keMpBIY5a4z6anPgYwAgAADcYA= Date: Thu, 19 Nov 2020 14:30:07 +0000 Message-ID: <57b085d32f624986412770d10cc4daa8211ee0f4.camel@hammerspace.com> References: <20201118221939.20715-1-trondmy@kernel.org> <20201118221939.20715-2-trondmy@kernel.org> <20201118221939.20715-3-trondmy@kernel.org> <42FFB4EC-5E31-4002-92FC-7CA329479D78@oracle.com> In-Reply-To: <42FFB4EC-5E31-4002-92FC-7CA329479D78@oracle.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oracle.com; dkim=none (message not signed) header.d=none;oracle.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: 0623a199-e3b1-4b9e-d526-08d88c979d4b x-ms-traffictypediagnostic: MN2PR13MB4101: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4c4ggbTQSZxhda5A5CTJq/a9JVIbvDKV1hVU7YxRqmKD8mX9mIUN+2deY5BWkwlaQx+VoncKIGQnLMLiKJm5MDhMmT4iGMfA7L4j+1M1DMzw9Vbh4KHQKm/9pvCUNmJTaPpX3G498Rxpav4DyvFKM2mvIrkL4tvG+KC1NqFpfi7r2IJfvw8YTi2YknIe+HIaoFIyDFceeKbnjFFsKoAMR7aEbA1SepkQA+LC4KNJRUa94/RWpHIzfYm1d57K2yEAWLSYo9oNyBuxSsSmttoMo8X0wnMSNDKNT0hm58/N2zu8BiUWfJHYGbrUSIjmhehZRCqRSKfXJNQsTOTXMmBgyQ== 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)(39840400004)(136003)(346002)(396003)(376002)(53546011)(6506007)(4001150100001)(83380400001)(316002)(4326008)(86362001)(2616005)(8936002)(110136005)(26005)(186003)(6486002)(66946007)(5660300002)(76116006)(91956017)(71200400001)(2906002)(66476007)(66556008)(64756008)(66446008)(8676002)(36756003)(478600001)(6512007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: CGd/IhEShuFKmxIh9RmAi8TbhE9Sa38JbAo/PhP6aY07SbG7Xy5InBOKReFZeTYbdsFA0C3OejTDPWBFMyQPBh6un62LVbo6UqwVgqYnf+Cjspkvz2dm+H4qjNwRQuAol0VRtFfgIHfaYI1ylo/3YyPPF0xmotqPAImByVO0Q98FOebdXplLwvsV0weV3aMU7y/K3FRFlhIapmEELs8A26jIVkvGT+dcMXf2hrJ/kk8Bc5ZPbvqBB187aLUoeeVnZFCwvo+w72C2K5NQMwm7g9wwUyLAk2Oqx7psMYNgrfOUOhKlRQbE9r/yco3uSpXFxKvJj8cum03ZaMtP4p4SBiFuEkVsgF0zpt1v56bEXFib53GmwsikXReZ07VL4XASKjpBuVr3o3ZvuHnQXw1l8ukOzwsm4xJa/qXoruSAq2j6rp+TnUMtMwdcVlVbE49dveiqpJTe0suWfgt7/ueA4cxaVX3FZ8vVW54eoA2i8lLmqyxmUXszvBhtl6fnpb2dcIXEaSveqU3nIt+SUfjJgJsXBR2fSHL2iT3bkgyC3+j71QQfJvytDpc2VFi4BZhkspeyaXy3Ck5xAjAv2B+s4VZ+772JgmLTe2qdl4bhLy90Fq95sUtqCMdaotKIFvc/rRo96819oh4Z2lhKq3f1ag== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <1637333D89C63246B05EE4515D744948@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: 0623a199-e3b1-4b9e-d526-08d88c979d4b X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2020 14:30:07.8713 (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: NcfjE1dF8gHhIKUwufPJXdWPBmyp4mu31e7ShhwY86bV6MWCVbY09igIJ9EpZiOI7tq4xq3wu712Bb6vniB65Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB4101 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVGh1LCAyMDIwLTExLTE5IGF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