Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1066823ybb; Fri, 20 Mar 2020 12:45:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsunTrBXp1qqRWcNRsCJ1itQ7Dmog2HHlqexfEPiFCAYPN5iTD//BHRLdnW+wfm233MS77I X-Received: by 2002:aca:3544:: with SMTP id c65mr7596940oia.160.1584733518014; Fri, 20 Mar 2020 12:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584733518; cv=none; d=google.com; s=arc-20160816; b=OwktUa/u/5/TI45qG5ACGD6ROItofQHNTqbj9ppa7sMeltLCMT92GBtpZHQPeppZp8 /Gr5aaM/Wa98vnf7bKe6z6HLvyRP83eqx9TeRlxFwQx82RsCnuaTZS8D8SMz1QoR5lwM qVv9CZ5AJPeZHvb/k20W98jpOh5ZskRU95uzSt9Z6nSBfJMWpF3O2vxuQTAYnNFcF8NR 1h1ZCod9V/Qq8PVxza/qf53GaZSMxQ7woE27AKh9gRcQsgOkFr/v7ZCKas9R3S8Peu55 bRmOXPTF1qSG8/cekJh8KrqJ9qkc88oyK4yzgbOQD0zkOkMsNoPnLYD1ctsmrpX2NTlO 65Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:cc:to:from :date:subject:ironport-sdr:dkim-signature; bh=hCk0+f7C2b5TFbmIog853xS9XgpzP9SyFKxk5zx0ez0=; b=H4brepIB5tX/Dg3W5iNmZbQGMntmuWsr5zD4nHv/y7o7FMRI/vHQ6cbmRSwGMOortG VMCv9hvoERkgBUNaNmz/GfjwMg0wrpyYPeqiGjYynp9kupqRuNi9Ce10yKyfGioDW8g2 Q/yG0HWe8PhAVDbozD62M/Y5inHpePoPox2iHrrk6ELaNfOonziVn3Ns9LKBeW1ttf1h OZi1Shb2XN4KoaCPkpXKjwmZgYRQPfjTSy71jrxk7QWu+n9gA17U1P7xd8kHUFalP2Ol J4AFapmy3mjF1eY3P4pPpxtF7ciINsZ8IvdRYe1WLqpl0jKeyvqmIZ7Qa7O6uYF20arJ Cd1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=bArwFKJz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si731847otn.210.2020.03.20.12.45.00; Fri, 20 Mar 2020 12:45:18 -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=@amazon.com header.s=amazon201209 header.b=bArwFKJz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726783AbgCTTo7 (ORCPT + 99 others); Fri, 20 Mar 2020 15:44:59 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:50115 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726738AbgCTTo7 (ORCPT ); Fri, 20 Mar 2020 15:44:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1584733498; x=1616269498; h=date:from:to:cc:message-id:references:mime-version: in-reply-to:subject; bh=hCk0+f7C2b5TFbmIog853xS9XgpzP9SyFKxk5zx0ez0=; b=bArwFKJzip3x/2hPSZ4qYyGn9+//du5ba6AYLdFfsEYNfH2XN1gA7MKS Lm+M9PVA6t3U0Sg9hujm7pYObrFurbZqiBzrchGmA4YqnkH/NiknV8YGR yPU/WHvJ9n8WWU4w6FO3vvaOOC/n/oPuVClo5HWk3SDKOQKazg9I0yvvW U=; IronPort-SDR: VIJALoh4PtUpgqSG4y2WNUICarHwhronqPBSX3BzT/X/23GXOsf5tcdmZQcD6TnsRcnfRPeSq1 J7oBoNtz4qAA== X-IronPort-AV: E=Sophos;i="5.72,285,1580774400"; d="scan'208";a="23431618" Subject: Re: [PATCH 11/14] nfsd: add user xattr RPC XDR encoding/decoding logic Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1e-c7c08562.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 20 Mar 2020 19:44:46 +0000 Received: from EX13MTAUWC001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-c7c08562.us-east-1.amazon.com (Postfix) with ESMTPS id E1A112415A3; Fri, 20 Mar 2020 19:44:45 +0000 (UTC) Received: from EX13D02UWC004.ant.amazon.com (10.43.162.236) by EX13MTAUWC001.ant.amazon.com (10.43.162.135) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 20 Mar 2020 19:44:45 +0000 Received: from EX13MTAUWC001.ant.amazon.com (10.43.162.135) by EX13D02UWC004.ant.amazon.com (10.43.162.236) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 20 Mar 2020 19:44:44 +0000 Received: from dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com (172.23.141.97) by mail-relay.amazon.com (10.43.162.232) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Fri, 20 Mar 2020 19:44:44 +0000 Received: by dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com (Postfix, from userid 6262777) id B3D30D49F5; Fri, 20 Mar 2020 19:44:44 +0000 (UTC) Date: Fri, 20 Mar 2020 19:44:44 +0000 From: Frank van der Linden To: Chuck Lever CC: Bruce Fields , Linux NFS Mailing List Message-ID: <20200320194444.GA7991@dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com> References: <20200311195954.27117-1-fllinden@amazon.com> <20200311195954.27117-12-fllinden@amazon.com> <6955728A-CFCC-40FC-9E02-671255EDD45F@oracle.com> <20200320164737.GA19415@dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com> <65ACAC76-DBBE-42D3-ACED-AB2290D0FC31@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <65ACAC76-DBBE-42D3-ACED-AB2290D0FC31@oracle.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Mar 20, 2020 at 01:34:53PM -0400, Chuck Lever wrote: > > For my peace of mind, "from_stream" implies there _is_ an xdr_stream > in use, even though the function does not have a struct xdr_stream > parameter. Perhaps a different naming scheme would be wise. Sure. I'll change it to "from_vector", which matches the name of the "svcxdr_construct_vector" function. Not 100% correct, since it's really a vector + page array, but it seems better. - Frank