Received: by 2002:a05:7412:3210:b0:e2:908c:2ebd with SMTP id eu16csp872838rdb; Fri, 1 Sep 2023 06:44:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyJ8nEvO6lMil+5rEQfv2jdANvUhWUTWvLX2Do6csoFCZ2N86FGOj9Yq/q5MQSPrauli6h X-Received: by 2002:a17:907:7608:b0:99c:c50f:7fb4 with SMTP id jx8-20020a170907760800b0099cc50f7fb4mr1793973ejc.1.1693575855711; Fri, 01 Sep 2023 06:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693575855; cv=none; d=google.com; s=arc-20160816; b=N1XU4QrvxBu5W4fGPoVzZLf1xbuVtdG/amlUd1yeHi/A3AKnMdiuDZAbMeEM7oe/QT 6J3nbX6sdqpKY6C6srgnzwV2SA95049Xff46hDBqOsfhyvDOdwA173PozGplfnRMh9cH F/hUOHi4bnkMyYmZVizq+QFD9RKSJ2tJ7BeB7Qk2PnxSOas+LX7UTcoPqV8bZtITxrO+ 1eIUrH818jh4G1Hr/gOM+iNcOxb9bSJ/ICLH7dfgGODocfXtDiqUnmcTPJlg2I+5ffYm jzfls3KmTizKZMfqROEjSjc3hnh+etS8THqWHB89A9H0/sBK15QxZ9PI/BUUuHfTRgvY LsbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=jhPHFUoIE6ioOsLcSzY+SqPrk0iSnj7JNOH83S3a9OQ=; fh=Pjd2PPfL8dXKgRIcS0LIOZG9uGO7CwWel1kLDacG9IM=; b=ai1Q84vdMk+4+eoa6NdFwBUw5d+Z4dPFlMeriwVTdUyGxWasnDoiP7qTNBhusgw3lF 67z1I8r29/RixaGQKIxvshoP8MU1LKQjXk4PJ2mzOeBJjt4UvSOQYXDB1Y6B/hMZXL5B abZwSNENh9S5Vfb9qt1NxdZFVlTvY7HTPncrjEHjpZLw51XzijDQXXJLRQJk4MkHXS7h NbsDRke9i9d8cvh+ytqVfY+YuAm69NtarYfeZilsE5EkdxlJOTcZ2krclkYrMg4z4zkg vJXXwH9DNKT0sy1+i+I0oFI0TNuJd9TH+h/HlWQrHghuAlP7C78MZW+zrtd0crKRLWIx AWcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="jnfvN9/j"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rv20-20020a17090710d400b00991ddce682esi2691429ejb.305.2023.09.01.06.43.34; Fri, 01 Sep 2023 06:44:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="jnfvN9/j"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347853AbjIAKVt (ORCPT + 99 others); Fri, 1 Sep 2023 06:21:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236336AbjIAKVs (ORCPT ); Fri, 1 Sep 2023 06:21:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186F2CC; Fri, 1 Sep 2023 03:21:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A1A1E60F6A; Fri, 1 Sep 2023 10:21:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9A03C433C7; Fri, 1 Sep 2023 10:21:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693563705; bh=8+zgMsIxNVky1b+iU/hk4UlHtrkhcGXxHQtE/5ecxoI=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=jnfvN9/juxHF1g7sw9iOEkDiurOqSzr5zZX3FnveI01BzvhiuTUfW19omq51bf9RM Vj0ml/Vu3lDF8q2+AZCOb2CYBDt7chen8iy7NAFyJg9UpUgODx58sKIEQdixsJXlmd Mk2Sv0x32/0AyMy1sQxw65biT26zqtoP9jNuPY6qzHKwJJXmYgqwkb91aFNJ+7g0sZ x4fSDk6FRDzK4dF4v7BsCa+y/Yuqeck6YJgTyA0atdpMkjt72BSS0wfmwXJJeDGWsA TGp1tVpVbnsAqSl4HUZ3Dq3alCuKoqLD/QrzG3bQy9jZKZ5OTMSlSkPhD8wt0UxYAM NBTjQ7V3PV0pQ== Message-ID: <8db2e22a71ed9c658945bd3d7f0a4b6cad7db1d3.camel@kernel.org> Subject: Re: [PATCH fstests 1/3] generic/294: don't run this test on NFS From: Jeff Layton To: Zorro Lang Cc: fstests@vger.kernel.org, linux-nfs@vger.kernel.org Date: Fri, 01 Sep 2023 06:21:43 -0400 In-Reply-To: <20230901051439.j5jduasrkmh67g6g@zlang-mailbox> References: <20230831-nfs-skip-v1-0-d54c1c6a9af2@kernel.org> <20230831-nfs-skip-v1-1-d54c1c6a9af2@kernel.org> <20230901051439.j5jduasrkmh67g6g@zlang-mailbox> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, 2023-09-01 at 13:14 +0800, Zorro Lang wrote: > On Thu, Aug 31, 2023 at 02:40:28PM -0400, Jeff Layton wrote: > > When creating a new dentry (of any type), NFS will optimize away any > > on-the-wire lookups prior to the create since that means an extra > > round trip to the server. Because of that, it consistently fails this > > test. > >=20 > > Signed-off-by: Jeff Layton > > --- > > tests/generic/294 | 4 ++++ > > 1 file changed, 4 insertions(+) > >=20 > > diff --git a/tests/generic/294 b/tests/generic/294 > > index 406b1b3954b9..777b62aec9ad 100755 > > --- a/tests/generic/294 > > +++ b/tests/generic/294 > > @@ -15,6 +15,10 @@ _begin_fstest auto quick > > =20 > > # real QA test starts here > > =20 > > +# NFS will optimize away the on-the-wire lookup before attempting to > > +# create a new file (since that means an extra round trip). > > +test $FSTYP =3D "nfs" && _notrun "NFS optmizes away lookups on exclus= ive creates" > > + > > # Modify as appropriate. > > _supported_fs generic >=20 > I don't know if nfs-list wants to skip these test cases on nfs. Anyway, i= f > there's not an objection from nfs team, the _supported_fs helper can use > a black list, likes: >=20 > _supported_fs ^nfs >=20 > If a test case doesn't support nfs totally, you can use this and give it = a > proper comment. >=20 I think we do want to skip it. This one consistently fails on NFS and is testing very specific and subtle behavior that is not required by POSIX. I can respin these using the _supported_fs syntax if that's preferred though.=20 --=20 Jeff Layton