Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2296663rdd; Fri, 12 Jan 2024 05:36:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsCtT06ffxgmukTa+fT9LgQtZpRK085Hgkm7z6JMVSL9zQE0TqLVAvmKeV5nc7uE11xAGK X-Received: by 2002:a17:906:78c:b0:a2a:b887:b9a7 with SMTP id l12-20020a170906078c00b00a2ab887b9a7mr335291ejc.153.1705066601292; Fri, 12 Jan 2024 05:36:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705066601; cv=none; d=google.com; s=arc-20160816; b=aJpL3zBxu5raJkrmZRghvpP1IFV5O+xjECQzqOjG8fs+LJ7d2Qi2HO5dThNz503asM lhkIQ0VwG2szyQ2d1W9oNQ7MD4VkbK78ZwpVheGJeOBrnKY4qjZrPmgeSfr1s205KcPg DQI3esdiluxDOcno7I6iNRu18JB9F1qFz2jgAJvP3T9aBzv81LOTaNiMvCdVrNiLs8dh 8maM7mXdWMPPVmMMTgR5XxHoH8zWYc/MCrqcrESBwLzyr8GumJkC8y1CAIDC5mEgeSLw n+9GsY3e8xjfoRoKkAJUsMRmr38nyjR6LpMKm5l1X07Nps80HJU4WhZe+T/IctnzitPb YpaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fvYIYJeLeB06paZmW4hgjS6ozliWuLUPfb3Gvt5MgYU=; fh=2Tu8eTtE05tmmKS4ZuFN59xPo3hf2Kcx1xEaxCWfBPU=; b=hqOu+uietx3sOXrJIedtZOFTr0XSkrREAViZ6GYQTml+DVxjd7EEPLakFCVp1hEiaA JPfgBNqyoW6GCZO+nKMNp349gdf9OMOmU20EZ5sgSNrDPqcpo4L5D3ItrPnFAg5zix92 9Ymll0KX2kqkTAcvYQjbamdlGNNfMQwiGeelEbsqae7OpPXPvWcwNsVHkc1kpviUaJo1 IeGrI2eOEmrUUG/9AJtz/y/uAcE/lZ620kaylLU2NIS5HstBI/9qsB3/+lTkfITnJinO pP1q2geMePW50DOaX9/5uLU2VtCW6rNDCEJ/LUulMrlxdhqI27ZuELYOmcFX0yYXopr9 5yKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Ifq/DAJM"; spf=pass (google.com: domain of linux-nfs+bounces-1059-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1059-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k9-20020a170906578900b00a2b28d51352si1450491ejq.258.2024.01.12.05.36.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 05:36:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1059-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Ifq/DAJM"; spf=pass (google.com: domain of linux-nfs+bounces-1059-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1059-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C0F011F258BD for ; Fri, 12 Jan 2024 13:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2790D22078; Fri, 12 Jan 2024 13:36:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ifq/DAJM" X-Original-To: linux-nfs@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F84E58ADE for ; Fri, 12 Jan 2024 13:36:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705066593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fvYIYJeLeB06paZmW4hgjS6ozliWuLUPfb3Gvt5MgYU=; b=Ifq/DAJM+LSJfSRPoqTG2O9Kr19rjXxk+/5S6Z3xLZVWt96AaRY1HtZ+zIOo5HuBB3YDAd yGprR0ygU+aN44gJe7exbj6xQrdSvjaAmAE2lxuYM5VAIiNwS5zrHEcH4dvyI6QrlZph5o dkGnIe3vR0tjvlgDkuEexKxcx3HpwwI= Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-557-7wb34f9ZMfiOm0Wm1IvQuA-1; Fri, 12 Jan 2024 08:36:31 -0500 X-MC-Unique: 7wb34f9ZMfiOm0Wm1IvQuA-1 Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-1d4a87da75dso43315885ad.1 for ; Fri, 12 Jan 2024 05:36:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705066591; x=1705671391; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fvYIYJeLeB06paZmW4hgjS6ozliWuLUPfb3Gvt5MgYU=; b=qOyFR474OQBrx8wRVsKUvtTNeFb05y48Ofx2kYxP9Xbs5A8NQmEbSV0AhedfLZB9wT rG05LTpWN61zCcZX9bIjYfrri/lfgVgY3JJM+wEhm9WkBe8bwgK2oBaLRwXafpw3AKk3 FR46j+GqFLP7p1GcO9edx/mgZqbtRfAwJ1G9uj6RRFymO0h1i9rRw6cGUbsz+s4jZmCq kRBX/QHQGgh1XtG0ck+O5zzDYd5AMC3WYuLYoqfwy+Ry1ZbWQSIz84beBB0ICjYDfGcS n3Ap+TB1qMr/ut2hX+jdOXgXTmnE/Wf/5UovkSL6lF5BN289gcmoioxmedjHhzNMe2Ay uzig== X-Gm-Message-State: AOJu0Yw40AHKfXcxVF7RieIYg7ik8Rk0F9JyYILjy5NWLXG+aHkJvCyU xnEFjvSFtc1/vDfI/cylnb06pIPg8+SRQhfxxNuzQ/XWFx2LPaBHkjfuPftaaNm6a4pbyIHdNHS L07DqxM4jkEdmoKc8sjHrpD/jLoXl X-Received: by 2002:a17:903:4296:b0:1d4:e36f:7498 with SMTP id ju22-20020a170903429600b001d4e36f7498mr713088plb.21.1705066590805; Fri, 12 Jan 2024 05:36:30 -0800 (PST) X-Received: by 2002:a17:903:4296:b0:1d4:e36f:7498 with SMTP id ju22-20020a170903429600b001d4e36f7498mr713077plb.21.1705066590537; Fri, 12 Jan 2024 05:36:30 -0800 (PST) Received: from dell-per750-06-vm-08.rhts.eng.pek2.redhat.com ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id d9-20020a170902aa8900b001d54c61690csm3131070plr.287.2024.01.12.05.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 05:36:30 -0800 (PST) Date: Fri, 12 Jan 2024 21:36:26 +0800 From: Zorro Lang To: Jeff Layton Cc: Anna Schumaker , Trond Myklebust , Chuck Lever , Yongcheng Yang , linux-nfs@vger.kernel.org, fstests@vger.kernel.org Subject: Re: [PATCH fstests 2/2] generic/732: don't run it on NFS Message-ID: <20240112133626.k6iaqkmnn5ngmzx7@dell-per750-06-vm-08.rhts.eng.pek2.redhat.com> References: <20240110-fixes-v1-0-69f5ddd95656@kernel.org> <20240110-fixes-v1-2-69f5ddd95656@kernel.org> <20240111204931.oqbub6crymt2misb@dell-per750-06-vm-08.rhts.eng.pek2.redhat.com> <1a2ad4e0142c6a80a0930c9d4841facb75a8f93b.camel@kernel.org> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1a2ad4e0142c6a80a0930c9d4841facb75a8f93b.camel@kernel.org> On Thu, Jan 11, 2024 at 04:13:11PM -0500, Jeff Layton wrote: > On Fri, 2024-01-12 at 04:49 +0800, Zorro Lang wrote: > > On Wed, Jan 10, 2024 at 01:27:28PM -0500, Jeff Layton wrote: > > > This test sets up two independent superblocks with the same backend > > > server, and then does RENAMES of the same files in the two servers. This > > > is basically trying to simulate the case where two clients are competing > > > to rename files in the same directory on the same server. > > > > > > This test would usually pass vs. an NFSv4 server that doesn't have > > > dfdd2630a7398 ("nfsd: fix change_info in NFSv4 RENAME replies"), because > > > the client would end up improperly invalidating the dcache for the whole > > > dir after most RENAMEs. > > > > > > However, this test doesn't (and shouldn't) pass on NFS, because the > > > client has no idea that a rename has happened on the second mount. The > > > expected behavior for the NFS client is for it to use the cache timeouts > > > in this case, which is what it now does with the above server bug fixed. > > > > > > Exempt NFS from running this test, since we don't expect it to pass. > > > > > > Cc: Yongcheng Yang > > > Signed-off-by: Jeff Layton > > > --- > > > > This case is written for a nfs fix at first. If nfs would like to skip this > > test, I don't know if it makes sense to keep it in fstests? > > > > > > It might make sense to keep this test in place for stuff like cephfs, > but if dropping it altogether is best, then that's fine with me. Oh, I forgot this: Reviewed-by: Zorro Lang > > > > > > tests/generic/732 | 4 +--- > > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > > > diff --git a/tests/generic/732 b/tests/generic/732 > > > index 785aac58f361..5b5087d5accd 100755 > > > --- a/tests/generic/732 > > > +++ b/tests/generic/732 > > > @@ -22,9 +22,7 @@ _cleanup() > > > } > > > > > > # real QA test starts here > > > -_supported_fs generic > > > -[ "$FSTYP" = "nfs" ] && _fixed_by_kernel_commit fdd2630a739819 \ > > > - "nfsd: fix change_info in NFSv4 RENAME replies" > > > +_supported_fs ^nfs > > > > > > _require_test > > > _require_scratch > > > > > > -- > > > 2.43.0 > > > > > > > > > > -- > Jeff Layton >