Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2229319/?format=api
{ "id": 2229319, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229319/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/90f96625adafa29945c30a35c08ac290a7eaac6a.1777357321.git.asj@kernel.org/", "project": { "id": 8, "url": "http://patchwork.ozlabs.org/api/1.1/projects/8/?format=api", "name": "Linux ext4 filesystem development", "link_name": "linux-ext4", "list_id": "linux-ext4.vger.kernel.org", "list_email": "linux-ext4@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null }, "msgid": "<90f96625adafa29945c30a35c08ac290a7eaac6a.1777357321.git.asj@kernel.org>", "date": "2026-04-28T06:42:55", "name": "[v4,5/9] fstests: verify f_fsid for cloned filesystems", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "08d3b0e7aa2befad30547b9ae474f6a6619d41af", "submitter": { "id": 92722, "url": "http://patchwork.ozlabs.org/api/1.1/people/92722/?format=api", "name": "Anand Jain", "email": "asj@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/90f96625adafa29945c30a35c08ac290a7eaac6a.1777357321.git.asj@kernel.org/mbox/", "series": [ { "id": 501769, "url": "http://patchwork.ozlabs.org/api/1.1/series/501769/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=501769", "date": "2026-04-28T06:42:52", "name": "fstests: add test coverage for cloned filesystem ids", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/501769/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2229319/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2229319/checks/", "tags": {}, "headers": { "Return-Path": "\n <SRS0=G5aK=C3=vger.kernel.org=linux-ext4+bounces-16140-patchwork-incoming=ozlabs.org@ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-ext4@vger.kernel.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "patchwork-incoming@ozlabs.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=bbNeyRLL;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org;\n envelope-from=srs0=g5ak=c3=vger.kernel.org=linux-ext4+bounces-16140-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)", "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=\"2600:3c09:e001:a7::12fc:5321\"\n arc.chain=subspace.kernel.org", "gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org", "gandalf.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=bbNeyRLL;\n\tdkim-atps=neutral", "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16140-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"bbNeyRLL\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4W9X6VXyz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 16:43:44 +1000 (AEST)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g4W9X2ydYz4wK5\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 16:43:44 +1000 (AEST)", "by gandalf.ozlabs.org (Postfix)\n\tid 4g4W9X2vRbz4wL6; Tue, 28 Apr 2026 16:43:44 +1000 (AEST)", "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby gandalf.ozlabs.org (Postfix) with ESMTPS id 4g4W9S6Ncgz4wK5\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 28 Apr 2026 16:43:40 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 6F76F3010B3E\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 28 Apr 2026 06:43:27 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id E550D351C20;\n\tTue, 28 Apr 2026 06:43:25 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id A37A4175A72;\n\tTue, 28 Apr 2026 06:43:23 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id BDE68C4AF0E;\n\tTue, 28 Apr 2026 06:43:21 +0000 (UTC)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777358624; cv=pass;\n\tb=chmBbWwWFizk2s5Bbz0S03vo40MqUuhOjeL1YFHFI6QHXhvW/V0CyZAAqoBhhA17JMysT5odkvf1sWf5hpNp8/DrX1LkJzIS+CQf/Zxy/uaSq7kQxPs26TReZb8bfC+FXTbD5DGPlLIUE02sZ/Rd/tzu/VOznvaHrwyNWAn3CbhBcS9Taj1qTTtMxJkz5zJEMrBcmxCySIUZbBw19EzynnAT9JCiaMLTPDk85oISCi7HSiV16Qetgw5etwkg22SJWSIwBp0vhqyaXfHs+KfQTDLcGlRWazD6IYHhklrNQ1f2NMvzZTow5tRiG2WMgKDbMTnQX/Acq85BIfLivHltrA==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777358605; cv=none;\n b=MVqqzkampC9nMNjzB8i1flsMzHvt5W/1SpTlmhsFZAlJZDkhahsE4t2c8IGW+wgbLTNs+dZPYVf38ucMSx9PKzn8o3fnq1QQFG8WxPTuCXs3oG2FXqI0SrPaH2Zm5+UH37qZtgaom/piyMIaNPErSGOH1b7QLeLMmAF+w3mRTek=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777358624; c=relaxed/relaxed;\n\tbh=PxdU5PmUAGtDPc2wjha/eSzkOvbJceSH1HNXrNDiSws=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=E3YyhwjrTLG/TWyni2xRRzAgsjQowGH5AT3JHday8WgtgXU65OUtJDBT1xawRFMAeMWZQ2dnVh6creUvYX1nHBjJlv13Wla7O+ggBUx6wi0SjFxOgRcMcfXhYXsZtiXGaoH6wgjILIXYWfxUDEY6UFXUQBlGRDVFp1CTY/FFcvX0cm08+DzXzMlyVJGoqGwZ95CruopmgcYJrKnV766NYI9cb5PXO+zlrwJOWuP4y8iAEmWk4nTMpbGz8cuX05lKQo76D+o2OA/RSYZ9SJXVwKB80rmAOw0BTF+GWOMkY+nIFWEYwnQr7NXewSgMxSGRA6Z7UEONAt/kbd9LVkGjyg==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777358605; c=relaxed/simple;\n\tbh=k4GyESEu7MP2NHXYX6ENRfo8qnkcpYjGLDdXL79AQF0=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=W9b19X4uuWc9I0dvVBa8ZL5/oDB8+vdRRWOhfG4e3DxAs2GO55zfPbaubeJy8c7rh2iYE6eVPLOv/1zH6IIAoB2pS+Vo8bt9VBX3/1PjQRdXbKCOetHBL7PMYcC/qQX9WKWLyJ0YEuNJoYgjfJXAATGEaAs5M4fMOEY45BMefks=" ], "ARC-Authentication-Results": [ "i=2; gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=bbNeyRLL; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16140-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org", "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=bbNeyRLL; arc=none smtp.client-ip=10.30.226.201" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1777358603;\n\tbh=k4GyESEu7MP2NHXYX6ENRfo8qnkcpYjGLDdXL79AQF0=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=bbNeyRLL2O9GoK2WqxffCi0ZMfV2XhGMUmu3cAE2Go/td+frvlrFI52joml6RqDM5\n\t iYsoFd7apsPE8fiYawTvCWnkqFt0g60O2hryKLThdepAXgT3zKjo467u9e3nUJIFPo\n\t d/jmpMBtRCobfml1s4oIX0+sm5LDdCAk2k0hlWtOVpCLf4OB8jQGdJu/X/sPlBSjSD\n\t M3u6kvX/3TiRWtyEksFTMHiE9t0TCg7yhW70p1ZIw8bZfHXR+X1mGgJ0BkrTaXgzjI\n\t HnBGnqufnZBSbZ1A5gXKSCIpfc9Mv5gH6B24/Z3WxJw3qVAYunUpmSklawi/FXM9Xi\n\t jUq90qMqCFzAA==", "From": "Anand Jain <asj@kernel.org>", "To": "fstests@vger.kernel.org", "Cc": "linux-btrfs@vger.kernel.org,\n\tlinux-ext4@vger.kernel.org,\n\tlinux-xfs@vger.kernel.org,\n\tlinux-f2fs@vger.kernel.org,\n\tamir73il@gmail.com,\n\tzlang@redhat.com,\n\thch@infradead.org", "Subject": "[PATCH v4 5/9] fstests: verify f_fsid for cloned filesystems", "Date": "Tue, 28 Apr 2026 14:42:55 +0800", "Message-ID": "\n <90f96625adafa29945c30a35c08ac290a7eaac6a.1777357321.git.asj@kernel.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<cover.1777357320.git.asj@kernel.org>", "References": "<cover.1777357320.git.asj@kernel.org>", "Precedence": "bulk", "X-Mailing-List": "linux-ext4@vger.kernel.org", "List-Id": "<linux-ext4.vger.kernel.org>", "List-Subscribe": "<mailto:linux-ext4+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-ext4+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Spam-Status": "No, score=-1.2 required=5.0 tests=ARC_SIGNED,ARC_VALID,\n\tDKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,\n\tMAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org" }, "content": "Verify that the cloned filesystem provides an f_fsid that is persistent\nacross mount cycles, yet unique from the original filesystem's f_fsid.\n\nSigned-off-by: Anand Jain <asj@kernel.org>\n---\n tests/generic/802 | 62 +++++++++++++++++++++++++++++++++++++++++++\n tests/generic/802.out | 7 +++++\n 2 files changed, 69 insertions(+)\n create mode 100644 tests/generic/802\n create mode 100644 tests/generic/802.out", "diff": "diff --git a/tests/generic/802 b/tests/generic/802\nnew file mode 100644\nindex 000000000000..31044695f3a8\n--- /dev/null\n+++ b/tests/generic/802\n@@ -0,0 +1,62 @@\n+#! /bin/bash\n+# SPDX-License-Identifier: GPL-2.0\n+# Copyright (c) 2026 Anand Jain <asj@kernel.org>. All Rights Reserved.\n+#\n+# FS QA Test 802\n+# Verify f_fsid and s_uuid of cloned filesystems across mount cycle.\n+\n+. ./common/preamble\n+\n+_begin_fstest auto quick mount clone\n+\n+_require_test\n+_require_block_device $TEST_DEV\n+_require_loop\n+\n+[ \"$FSTYP\" = \"btrfs\" ] && _fixed_by_kernel_commit xxxxxxxxxxxx \\\n+\t\"btrfs: use on-disk uuid for s_uuid in temp_fsid mounts\"\n+[ \"$FSTYP\" = \"btrfs\" ] && _fixed_by_kernel_commit xxxxxxxxxxxx \\\n+\t\"btrfs: derive f_fsid from on-disk fsuuid and dev_t\"\n+\n+_cleanup()\n+{\n+\tcd /\n+\trm -r -f $tmp.*\n+\tumount $mnt1 $mnt2 2>/dev/null\n+\t_loop_image_destroy \"${devs[@]}\" 2> /dev/null\n+}\n+\n+devs=()\n+_loop_image_create_clone devs\n+mkdir -p $TEST_DIR/$seq\n+mnt1=$TEST_DIR/$seq/mnt1\n+mnt2=$TEST_DIR/$seq/mnt2\n+mkdir -p $mnt1\n+mkdir -p $mnt2\n+\n+_mount $(_common_dev_mount_options) $(_clone_mount_option) ${devs[0]} $mnt1 || \\\n+\t\t\t\t\t\t_fail \"Failed to mount dev1\"\n+_mount $(_common_dev_mount_options) $(_clone_mount_option) ${devs[1]} $mnt2 || \\\n+\t\t\t\t\t\t_fail \"Failed to mount dev2\"\n+\n+fsid_scratch=$(stat -f -c \"%i\" $mnt1)\n+fsid_clone=$(stat -f -c \"%i\" $mnt2)\n+\n+echo \"**** fsid initially ****\"\n+echo $fsid_scratch | sed -e \"s/$fsid_scratch/FSID_SCRATCH/g\"\n+echo $fsid_clone | sed -e \"s/$fsid_clone/FSID_CLONE/g\"\n+\n+# Make sure fsid still match across a mount cycle, also reverse the order.\n+echo \"**** fsid after mount cycle ****\"\n+_unmount $mnt1\n+_unmount $mnt2\n+_mount $(_common_dev_mount_options) $(_clone_mount_option) ${devs[1]} $mnt2 || \\\n+\t\t\t\t\t\t_fail \"Failed to mount dev2\"\n+_mount $(_common_dev_mount_options) $(_clone_mount_option) ${devs[0]} $mnt1 || \\\n+\t\t\t\t\t\t_fail \"Failed to mount dev1\"\n+\n+stat -f -c \"%i\" $mnt1 | sed -e \"s/$fsid_scratch/FSID_SCRATCH/g\"\n+stat -f -c \"%i\" $mnt2 | sed -e \"s/$fsid_clone/FSID_CLONE/g\"\n+\n+status=0\n+exit\ndiff --git a/tests/generic/802.out b/tests/generic/802.out\nnew file mode 100644\nindex 000000000000..d1e008f122bb\n--- /dev/null\n+++ b/tests/generic/802.out\n@@ -0,0 +1,7 @@\n+QA output created by 802\n+**** fsid initially ****\n+FSID_SCRATCH\n+FSID_CLONE\n+**** fsid after mount cycle ****\n+FSID_SCRATCH\n+FSID_CLONE\n", "prefixes": [ "v4", "5/9" ] }