Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1203513lqp; Fri, 22 Mar 2024 08:15:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWB9aa9YobpDYts0m4Wbrs9/E6OmH8gU2DwPvQ+U+RfhD9az6HRTonvdzWzSwlrHia1VqwZ5nZ0E8M1eY3APdhbAnUbRKG75L8sQvk+3Q== X-Google-Smtp-Source: AGHT+IGqhSk3ZwlaDqDO0hMM2V4QwLnrkBfu6YiULR+p+g7PYlTGd//NVdzcPH7D5FaXgLRPoYYR X-Received: by 2002:a05:6a21:338b:b0:1a3:afdc:ff5 with SMTP id yy11-20020a056a21338b00b001a3afdc0ff5mr244783pzb.10.1711120536004; Fri, 22 Mar 2024 08:15:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711120535; cv=pass; d=google.com; s=arc-20160816; b=mTG5UESzxHsEw9qEqSuWBC/q89FIG8d2zaaDeB3xJfFacQ7KWmJ/L0tsI2+mro9pHo hxvmCm6Vh/J5h+trQ2v0qSo8frppb3h8E+slywFSDrF08Hy9cMPmurvRLjPpKFxdHrEs bCuTexHthlvQ/muEAAJDqkDoW5QBvk0e1WJ1UbNsctXNUQndLd5JDYQ2R0UMETRHQ72Q YvsCZ71DiaaBt1Xu09TtfzAnqnQyahNIqT34oF6w+EgiOSqVT8eR8I9TmnQUz3gHe4CS zBFPPGzgQdC0wRh8fsIpoeLQZW6TEcKsxL77sPijpnBp4+tjP1gZn2KFlfAuKl02ec2r yy7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=JGUDGPE4hhNxmN7jBYQ45M/WYMEsQIE2W1GGmTd3Cjs=; fh=1r6IK2wi1/QPf/Rfbwx3/YT85zfJHHjIFgKuR8CthA0=; b=QdD+elkV0NCWJej7fEeIA7R0fZisSSoVF99AFRMDsvVAvVclGyQaFBIJIhrprXkYqg 5NegCzsfZTrxraqSqvWTADmihjrjy1Wt3K1C6YQqqaOGQ3rsXFIjtKb+hNpYlZnF6Tx9 l8F6BQ2QKbqxFPQQQrsTuJxYJvfOK9Y7OqxCMN60kMJKePBnM1CX4uhriUoAictercFn u43haZ99nR9YsHG1eevMOzPKAV1/03+O7MLBenmVwDXbDI6kwUZaShM2TIh1pcsHyLGZ ja8DfSNhIrHhcf6Cxn+lBRfAbYX/r0xW0P0tSPY3izW1bi5qPvlKqlQ+l/DcCgUsLf1t MQAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@iotcl.com header.s=key1 header.b=sKaRPkDZ; arc=pass (i=1 dkim=pass dkdomain=iotcl.com dmarc=pass fromdomain=iotcl.com); spf=pass (google.com: domain of linux-nfs+bounces-2446-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2446-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=iotcl.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a189-20020a6366c6000000b005e4ebb3d849si2241549pgc.304.2024.03.22.08.15.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 08:15:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2446-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@iotcl.com header.s=key1 header.b=sKaRPkDZ; arc=pass (i=1 dkim=pass dkdomain=iotcl.com dmarc=pass fromdomain=iotcl.com); spf=pass (google.com: domain of linux-nfs+bounces-2446-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2446-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=iotcl.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A9E3E281FFB for ; Fri, 22 Mar 2024 15:15:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 582C44D134; Fri, 22 Mar 2024 15:15:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=iotcl.com header.i=@iotcl.com header.b="sKaRPkDZ" X-Original-To: linux-nfs@vger.kernel.org Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (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 589073C17 for ; Fri, 22 Mar 2024 15:15:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711120532; cv=none; b=RU88EjnOWaeMhgt/SufyFs1hXd+Cl3bXhcCQoCuY6JT892RY5hK1hXZW5Fm1p6wocZ49ZARrjtXpkbihURgoXP/DGj2wZAVHGrDH+AE0aqiDaCGhMu/gsBhSUsvYIyHdQyA45TN0n0gvo5z1lPChyTltRw7Bl2qE8EB9z5q+lhM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711120532; c=relaxed/simple; bh=JGUDGPE4hhNxmN7jBYQ45M/WYMEsQIE2W1GGmTd3Cjs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=HIY8pIz5s+kCF6RWkUoMVQSKhHZzKvN4LNvgXMfQG4bRphcuJFTmbVeSjrQDd24NwYdhEy+h1eHvYx6kcbkkoq15ZnEpLIUKv+XybtAm9pcIhcXHSjE6C1VPT92i3UIYnBxGn0LxWCR3V53ED7G1kjvlBnK65VlW61lMXi5tIZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=iotcl.com; spf=fail smtp.mailfrom=iotcl.com; dkim=pass (1024-bit key) header.d=iotcl.com header.i=@iotcl.com header.b=sKaRPkDZ; arc=none smtp.client-ip=91.218.175.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=iotcl.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=iotcl.com X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iotcl.com; s=key1; t=1711120527; 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=JGUDGPE4hhNxmN7jBYQ45M/WYMEsQIE2W1GGmTd3Cjs=; b=sKaRPkDZZugChjK5bhNpnoL/K9FPUDwgH9lCPbKRuCnSZHnGqjzmJ86rlipuotFbRaMpan ZRNKpnF6OEorS/FlaJMaI9DNl6uZX30BzPQcNHg8keD3TiAsLvIk8rW+VWvpV7jPcyzVpk i0HdeabbIQAiToktYwlIsy6tic+49uY= From: Toon Claes To: Patrick Steinhardt , git@vger.kernel.org Cc: Chuck Lever , rsbecker@nexbridge.com, Jeff King , linux-nfs@vger.kernel.org Subject: Re: [PATCH] reftable: fix tests being broken by NFS' delete-after-close semantics In-Reply-To: <8ac5e94a3930cdd2aee9ea86acda3155674b635c.1711035529.git.ps@pks.im> References: <8ac5e94a3930cdd2aee9ea86acda3155674b635c.1711035529.git.ps@pks.im> Date: Fri, 22 Mar 2024 16:15:12 +0100 Message-ID: <87frwiuwlb.fsf@to1.studio> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT Patrick Steinhardt writes: > Fix this bug by skipping over any files that start with a leading dot > when counting files. While we could explicitly check for a prefix of > ".nfs", other network file systems like SMB for example do the same > trickery but with a ".smb" prefix. In any case though, this loosening of > the assertion should be fine given that the reftable library would never > write files with leading dots by itself. I'm fully supportive of this, as this will also fix any issues possibly caused by .DS_Store files created by Finder on macOS, although it's very unlikely they will be created in these tests. -- Toon