From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796030542; b=VJuQcl323t0rzb8sfwso5m6Cj0RRLQnt8ZhdiJo+4MYsh8A0BSwUEpGgSIuvlWJOQxKX mqiVn3YKgzfyg8z1EaI/TKEl5xzQdLTmY7dc5I7dNYi73co9kYREXMCo7lH0RqHCmyzBc TXbWWHBkJ1XpEM7vZzHxGXjf/qdBuob8Rw7jdCQJuM3LaI3YbVB10jUFC93AZkHkmQzoH i9BLmJJFS+SVA6PuNmsyqt/w1LiF4+lK7RAA0Aool0Vgh7K4zRpS9CPBQjbKeOAF2HxYp TQPNivkERTZBj6PvnzhHsi4/N/dTDAFlNuMwuRwxy7HBnp6TgjTFmwKlHY+pWIjlnoQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796030542; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent:From: Subject:To:References:Content-Language:Cc:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=YzcJLLxUTFTT8ZssSG75C1KBvz4iunaXFv9AWqvb43k=; b=g6csjsgHVDCqXGfLbnFA7yR96QzFeRh08NcM/0l2m3A1pFxQmjojmCVkml3Pq2Ou3fJk ee4406RVAx81gXNDbKYfJzLnF/1TOp2Tb+kFxHr+b6/StvXTG57MZko8Tspm6b89uFJve z5vN4Fok7/7+7hlLpSoSaddjMQKAwDbcX7ZcK5IR7TILjdX7EnQa8fvpT7APQW2KVIIHq f/MiKoHayNp4dL9Uy5d7n1bxr3dorXn5jDHjJcS56hKGmeAg9/EbMg6bVPKn07kR3g1am 72ihOuTOvkbFuoVELw5eD5divXK6q/at3S9F3NFNjm3Wd/e/nH1oJwpqfl6ZSrdShIw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DoJY46rA; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5F0F606A31C; Mon, 30 Nov 2026 09:22:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DoJY46rA Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54ED11F00899; Mon, 30 Nov 2026 09:22:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796030541; bh=YzcJLLxUTFTT8ZssSG75C1KBvz4iunaXFv9AWqvb43k=; h=Date:From:Subject:To:References:Cc:In-Reply-To; b=DoJY46rA4kAGDmkum+YgDSL5tLq6ytbevZrdETJY5DUrXphq8AC3iq03I7QPuBMBA 9WJfTgk9CqjPzax9gPWipjFa+KxchooIEI3Ea9yWWYV0sRlMyPKATI8Dv2Ykj2of+U TYHKawikqagCEbumwMzMnbsdMEu4nGDsmPwLs3QkbIFBVDYM7Uw4tqvOlHn8hXQgoW ehX6ji+7Ss9ozD1mLQNl2TGOh6PMkKnfi6ogDWLpCBJUH1Re75uaoRkRWuUdaufEvP UUsZXy14k66lqVqQrhOFM5jI8RbLn+zyYdR/L8uocXD0yh+IKl7ovDjv01DmVRiXpX rmFomnDLQ0+iQ== Message-ID: <8d94f038-0e73-4a6b-9aec-0cc74ab204eb@kernel.org> Date: Mon, 30 Nov 2026 17:22:18 +0800 X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Anand Jain Subject: Re: [PATCH 11/21] fstests: verify statfs f_fsid is derived from the filesystem UUID To: Zorro Lang References: <98450cf50f0b962f4b6c2b0a16ec10c47362bccd.1791272793.git.asj@kernel.org> Content-Language: en-US Cc: fstests@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit >> +_require_uuid_based_fsid > ^^^^^ >> + >> +_fixed_by_fs_commit btrfs 72de4807ba84 \ >> + "btrfs: derive f_fsid with dev_t only when temp_fsid is active" >> + >> +_scratch_mkfs_uuid >> $seqres.full 2>&1 || _fail "mkfs failed" > ^^^^^ > I noticed this function supports f2fs, whereas _require_uuid_based_fsid above > doesn't. Since both functions are introduced in this patchset, I'm wondering > if you intend to run this test case on f2fs or not. No, this test is not intended to run on f2fs (or xfs). _scratch_mkfs_uuid() is a generic helper for formatting a filesystem with a known UUID, so it supports f2fs, ext4, xfs, and btrfs for reuse across tests. _require_uuid_based_fsid(), on the other hand, is about how statfs derives f_fsid. As noted in its comment: # Require a filesystem whose statfs f_fsid is derived from the filesystem # UUID only, so that it is stable across devices and mounts. Unlike btrfs and ext4, f2fs (and xfs) derives f_fsid from both the UUID and dev_t, so f_fsid cannot be predicted from the UUID alone across scratch devices. This test is specifically motivated by the recent regression fixed in btrfs (72de4807ba84). Thanks, Anand