Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1307091pxk; Mon, 31 Aug 2020 15:56:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3TDZ7h9fKxcUbDTFfxdBhLzAzevQ7lzqGyM0vMlTDc/JFv0TljoFt07DHDsyvBg2gHURy X-Received: by 2002:a17:906:1542:: with SMTP id c2mr3113758ejd.533.1598914614402; Mon, 31 Aug 2020 15:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598914614; cv=none; d=google.com; s=arc-20160816; b=x1/RHzFXtzMJ5YPFeAqRla49B8s1IF2mW0PlbiGMMxgJlbEnudUVUlIfyX4Cr+mLjD IAT0NnWmPQrRltUDp+FwnfvTnETPJ9rQm9q85+jKRenuZF1Tmm4PnpliJ0Cf3PuwekBw yXMJpr8uvOjHsITkqk8BGtpalBasZTDXm8i+8PNEiCmzpu/DZ93G6xosTV2UuMfZ8Axj 9OTnsf72oUy2H2s26vJaPK2nVyGy/a7HNPChXdc4joSBUE+IiHNJaQ8tpCDhWeMryDGr /o/pk7WFdLECT6vaiwNjnQ8zPhbDEaJ5MnKEX2a03rquoJrFSswbF6qP1QVieskNDPto vNEA== 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:subject:cc :to:from:date:dkim-signature:dkim-filter; bh=dZ+oyj3pA/Zxf3Lugmr9xSstH4oPo+ldtgiHw5o/LoE=; b=sn1wxtvbGOdmT9K9DIXhLFrgZ7do83YQNrrgsyoIuxFYhQtqjIGt0ECKawsXdUfd3A rAVyZnxh1wHCE06cZ5Gv1qMrrSgr9Jx/F+DJY3Npz+Il12x6mCKfCj3Yjaf2/cPWl6Uc 4Qh/mizVtpcIrJOLf39wFg/1IekuBvsrhmCX0ZD9BqCTQSk1iIjoV33kJ0yv7Qoz/HwT kGUw8E5QC07lUeDIaDlDkNbyE4HyN5+ErFGHqVwQjHQUVHfn+vDKumEU40ICUqcn4Zx/ 3uQNZHDvC2pjkhTLYFe1AstSmc3NwQqZVJmw6+gwGZCEEjTvJZYjjv+7Fv4g2TvBo3qj pneg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=LE6qm3aG; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pj10si1546185ejb.398.2020.08.31.15.56.30; Mon, 31 Aug 2020 15:56:54 -0700 (PDT) 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=@fieldses.org header.s=default header.b=LE6qm3aG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728957AbgHaUk3 (ORCPT + 99 others); Mon, 31 Aug 2020 16:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbgHaUk2 (ORCPT ); Mon, 31 Aug 2020 16:40:28 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CB4FC061573 for ; Mon, 31 Aug 2020 13:40:28 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 78F226EF3; Mon, 31 Aug 2020 16:40:27 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 78F226EF3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1598906427; bh=dZ+oyj3pA/Zxf3Lugmr9xSstH4oPo+ldtgiHw5o/LoE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LE6qm3aGTY+HYgIlHxGbUYTp8ns1EPg6sS0btTesH+VuEQrdbr4nDt+sDWkYK0dpm ru1050v/UsiY35877jpyeis8NduGPuCD3geltStuLWBY4c2PLW/rqwgDD53coZaFjF zvtdzNkoLe+Fd9XwJNrLp4lsQ4lva4tNAciSrRRw= Date: Mon, 31 Aug 2020 16:40:27 -0400 From: "J. Bruce Fields" To: Frank van der Linden Cc: linux-nfs@vger.kernel.org Subject: Re: [bfields@home.fieldses.org: all 6970bc51 SUNRPC/NFSD: Implement xdr_reserve_space_vec() results] Message-ID: <20200831204027.GB19571@fieldses.org> References: <20200831190218.GA19571@fieldses.org> <20200831193109.GA9497@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: <20200831193109.GA9497@dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Aug 31, 2020 at 07:31:09PM +0000, Frank van der Linden wrote: > On Mon, Aug 31, 2020 at 03:02:18PM -0400, J. Bruce Fields wrote: > > > > I'm getting a few xfstests failures, are they known? Apologies if > > they've already been discussed. > > > > --b. > > > > generic/020 - output mismatch (see /root/xfstests-dev/results//generic/020.out.bad) > > --- tests/generic/020.out 2019-12-20 17:34:10.433343742 -0500 > > +++ /root/xfstests-dev/results//generic/020.out.bad 2020-08-29 13:03:29.270527451 -0400 > > @@ -40,7 +40,8 @@ > > > > *** add lots of attributes > > *** check > > - *** MAX_ATTRS attribute(s) > > +getfattr: /mnt/attribute_36648: Argument list too long > > + *** -1 attribute(s) > > *** remove lots of attributes > > ... > > (Run 'diff -u /root/xfstests-dev/tests/generic/020.out /root/xfstests-dev/results//generic/020.out.bad' to see the entire diff) > > > > generic/097 - output mismatch (see /root/xfstests-dev/results//generic/097.out.bad) > > --- tests/generic/097.out 2019-12-20 17:34:10.453343686 -0500 > > +++ /root/xfstests-dev/results//generic/097.out.bad 2020-08-29 13:07:00.070382348 -0400 > > @@ -5,18 +5,16 @@ > > *** Test out the trusted namespace *** > > > > set EA : > > +setfattr: TEST_DIR/foo: Operation not supported > > > > set EA : > > > > ... > > (Run 'diff -u /root/xfstests-dev/tests/generic/097.out /root/xfstests-dev/results//generic/097.out.bad' to see the entire diff) > > Yeah, they are known. Thanks for the explanation. And I see now you had a more exhaustive list of xfstest results here: https://lore.kernel.org/linux-nfs/20200317230339.GA3130@dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com/ For some reason I didn't manage to find that before. --b. > > Problem 1, as seen in generic/097: xfstests assumes that xattr support is > all-or-nothing, and can't deal with NFS supporting the "user" namespace, > but not the "trusted" namespace, which it will never support. > > Problem 2, as seen in generic/020: MAX_ATTRS is set to the wrong default > value (too large), which means that the test will trigger a generic Linux > xattr bug: you can set more xattrs than you can list. E.g. if you set enough > xattrs to have a total name size > XATTR_LIST_MAX. But then listxattrs can't > list them anymore. flistxattr(fd, NULL, 0) (a probe listxattr) will then > return E2BIG. This issue has been around forever in the xattr code. > > I have some changes to xfstests to fix the tests, but I need to rebase > and re-test them. > > - Frank