Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp570759pja; Thu, 19 Mar 2020 07:40:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv5X+xI59pGfN1Os8Zo0EnNjuTxxSyqYAWpKpTptUWy4O43mCZbzXmQP5gUy4xm1uZljSki X-Received: by 2002:aca:7517:: with SMTP id q23mr2607386oic.23.1584628826921; Thu, 19 Mar 2020 07:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584628826; cv=none; d=google.com; s=arc-20160816; b=Ooh7sKAisWPSsL+TsqYmOL5unxAc1E+t2HbmoBQ2SfleSD6UT8753nne9BAouFLTPO I7IfZ1yI1BBJa8VPn5rtyhWoT1fhj0LwpiNx7qpwrw7oYeGJoStlUOcE+yz8fM6TFaUI uXI/A3gj1bGoX8KOv7rew9XKEWbY9RGv7k+sxmKgdOycYSH19j94E5mX3GmHHod5cFak Rg+6//fwd8NcZVDdWmQhBU4G0NqNbgbFIrLxOSPST0iB3QDnLe7BkU32vii2wOCFjHuQ c8FIZ0LeG5RC3rGRGRKrgl62QCGvNuzvLPSZtX94Ud/NDPUHCYai3b6HazMEolHOqzik fcHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:from:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date; bh=Nl67iTiffWiy3+BrXe5PkEwwV9wWLKxi/dXG/mIF81E=; b=Z0JGYp0UxizBtDPMyQsPuDQkk0pmZ6JBxKQB+BfURsEuh4ygEZPa0qM00chwucYuoM gwpanPc90HG155AyfcFMHjYI8PmrdJZ9gji3jGFlb7E7VukVQZaksc1/hzMYs0MgPp98 wuJ0/6OnjPvuU2HXTarXspd9E+9WmnkC9mtTJTp/Ukw1aB0g2gsA+YepT+EltGHMC1ml xbaj6fjkdGSNt1Oa5upVU1KM78HpDyJGNmDVsgNmsKOedDzfp3SK/pP7edxNLOm/D4VK 3CJVinmyZcHZmsPGoC0cBgeQU3Iv5/HzLj6Mmr8ZFuVgIwpliekBq6yeO7xRWtwFcgnW PYhw== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i133si1168947oih.80.2020.03.19.07.40.10; Thu, 19 Mar 2020 07:40:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727178AbgCSOj5 (ORCPT + 99 others); Thu, 19 Mar 2020 10:39:57 -0400 Received: from fieldses.org ([173.255.197.46]:46684 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726943AbgCSOj5 (ORCPT ); Thu, 19 Mar 2020 10:39:57 -0400 Received: by fieldses.org (Postfix, from userid 2815) id BC0D483B; Thu, 19 Mar 2020 10:39:56 -0400 (EDT) Date: Thu, 19 Mar 2020 10:39:56 -0400 To: Frank van der Linden Cc: Anna Schumaker , trond.myklebust@hammerspace.com, Linux NFS Mailing List Subject: Re: [PATCH 00/13] client side user xattr (RFC8276) support Message-ID: <20200319143956.GC1546@fieldses.org> References: <20200311195613.26108-1-fllinden@amazon.com> <20200317230339.GA3130@dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200317230339.GA3130@dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com> User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Mar 17, 2020 at 11:03:39PM +0000, Frank van der Linden wrote: > On Thu, Mar 12, 2020 at 04:09:51PM -0400, Anna Schumaker wrote: > > I'm curious if you've tried xfstests with your patches? There are a > > handful of tests using xattrs that might be good to check with, too: > > > > anna@gouda % grep xattr -l tests/generic/[0-9][0-9][0-9] > > tests/generic/037 > > tests/generic/062 > > tests/generic/066 > > tests/generic/093 > > tests/generic/117 > > tests/generic/337 > > tests/generic/377 > > tests/generic/403 > > tests/generic/425 > > tests/generic/454 > > tests/generic/489 > > tests/generic/523 > > tests/generic/529 > > tests/generic/556 > > > > Thanks, > > Anna > > I ran did a "check -nfs -g quick" run of xfstests-dev. The following tests > were applicable to extended attributes: > > generic/020 fail Doesn't compute MAX_ATTR right for NFS, passes > after fixing that. > generic/037 pass > generic/062 fail It unconditionally expects the "system" and > "trusted" namespaces to be there too, not > easily fixed. > generic/066 pass > generic/093 fail Capabilities use the "security" namespace, can't > work on NFS. > generic/097 fail "trusted" namespace explicitly used, can't work > on NFS. > generic/103 fail fallocate fails on NFS, not xattr related > generic/117 pass > generic/377 fail Doesn't expect the "system.nfs4acl" attribute to > show up in listxattr. Can be fixed by filtering > out only "user" namespace xattrs. > generic/403 fail Uses the "trusted" namespace, but does not really > need it. Works if converted to the "user" namespace. > generic/454 pass > generic/523 pass > > > In other words, there were no problems with the patches themselves, but > xfstests will need some work to work properly. > > I can send a few simple fixes in for xfstests, but a few need a bit more > work, specifically the ones that expected certain xattr namespaces to be > there. Right now there is a "_require_attr" check function, that probably > needs to be split up in to "_require_attr_user, _require_attr_system", etc > functions, which is a bit more work. I just took a quick look at common/attr and all I see in _require_attrs is: attr -s "user.xfstests" -V "attr" $TEST_DIR/syscalltest What am I missing? --b.