get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2228761/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2228761,
    "url": "http://patchwork.ozlabs.org/api/patches/2228761/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/8afe801010f2c444a47a87225a8ead03d68ab71e.1777281778.git.asj@kernel.org/",
    "project": {
        "id": 8,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<8afe801010f2c444a47a87225a8ead03d68ab71e.1777281778.git.asj@kernel.org>",
    "list_archive_url": null,
    "date": "2026-04-27T10:19:37",
    "name": "[v3,5/9] fstests: verify f_fsid for cloned filesystems",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "09130709698a7d8608964aa5b8a32531eb427de6",
    "submitter": {
        "id": 92722,
        "url": "http://patchwork.ozlabs.org/api/people/92722/?format=api",
        "name": "Anand Jain",
        "email": "asj@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/8afe801010f2c444a47a87225a8ead03d68ab71e.1777281778.git.asj@kernel.org/mbox/",
    "series": [
        {
            "id": 501620,
            "url": "http://patchwork.ozlabs.org/api/series/501620/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=501620",
            "date": "2026-04-27T10:19:32",
            "name": "fstests: add test coverage for cloned filesystem ids",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/501620/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228761/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228761/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <SRS0=6JYG=C2=vger.kernel.org=linux-ext4+bounces-16112-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=iGVtO6WD;\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=6jyg=c2=vger.kernel.org=linux-ext4+bounces-16112-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=iGVtO6WD;\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-16112-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=\"iGVtO6WD\"",
            "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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g403m687rz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 20:21:56 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g403m5j8Mz4wHs\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 20:21:56 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4g403m5d2yz4wKQ; Mon, 27 Apr 2026 20:21:56 +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 4g403j1kslz4wHs\n\tfor <patchwork-incoming@ozlabs.org>; Mon, 27 Apr 2026 20:21:53 +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 E37533019770\n\tfor <patchwork-incoming@ozlabs.org>; Mon, 27 Apr 2026 10:20:13 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 7966D30CDBC;\n\tMon, 27 Apr 2026 10:20:06 +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 3710130AAB8;\n\tMon, 27 Apr 2026 10:20:05 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 34A10C2BCB6;\n\tMon, 27 Apr 2026 10:20:04 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777285316; cv=pass;\n\tb=nRCue217cmDapfSC+FxuCJrQFAZJZUWdYWr7wMYCUYlHFdE0ax21OwCyub7Oe+yVXLasm0t4kg978iNhNbyDUi1nIHCkmVQ4xcLRqEqjJsAQ1Z8orX2pCbxig4Wb/PokTXikVb6xZUdmlUmIoY3YJWUpApPObEyNk+XGjW7IKasCf0DXtyo2Igh7qIRUntVzm0LvBTOLgLaY65dN3FU4NVyY9K77phi+Ehdb5jYwU232B7d2sFgd/Wm18c8SSSAOwcLY0A1qYsqHELDE4e2ViXXzEeg+/56XiDATl3i53/y2wGS/2puC3yrrqqNYGTS82WC8qFzhhpWCaLGQOiTzIw==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777285206; cv=none;\n b=o4j8ytETTvlMo4KORL4Z5/8e+RFs9eTIRYf+pddLEaITE9aaRUw+TKIDdfxd2iXqEnhB+5FvaBrada+sM6no5XdDacCdjhtxwVKaxxceLvJtRze4a/MVNl5lkV+7XhGtdWOEDbKS4IGc+EtArPbesmsClhDex6ZVpPXio99mrXY="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777285316; c=relaxed/relaxed;\n\tbh=uP958JZKu09W5jEhvm5ZRADDUDrK3YI5jpT3L7SNoa4=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=eY9mIl5SYdTI3/QO7vazjf9tXWKB8RZH+0GwOu54aYXRM9wqKiUaaeNzlE3L/Q+vVKDwDV0tDv1H+5/hP085dW3adXw/+DEUImQ0ckBbGaouimpr9kK+0EEhFU0gGoSq1Dn8Fem8hNNRTWAm3jnDbg9YLaGTacvWngdycsePWhXZvr67CXddozGzKWmcOQZGvj5VaKOw2WZOC0vtCqGO8defFE1tm3suYBkxSwDeltgnMQsdPzjfik3OoafZogs4ztFzSMLwUEd+zI3ZwX7I2QVjIGKO4nq3TOdQ70QV+o+Kpuu7VuIe4S1bSvQKoMWtJY4I9DD09YBbqn543lX0Kw==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777285206; c=relaxed/simple;\n\tbh=VwZRCisy/qfCCWVJ0a6E461W3POyJm/hXSbpwzUICM0=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=LpebCWZ3XRlMaq2sQhELx4rhYdE9DVDwQRDqZUNoXVZS3b4S0sMHZ2BOk3y/hwHHy8Gc1/7rNAR6Hqyxter1EVtswq4GyTbi87Wd4UtCX0urCCl+sQ48VNphdkcVPnpzlOhP/MOO2YALe+ixwb3avS0LOCmr2TpyzqBVmV0P8DQ="
        ],
        "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=iGVtO6WD; 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-16112-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=iGVtO6WD; 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=1777285205;\n\tbh=VwZRCisy/qfCCWVJ0a6E461W3POyJm/hXSbpwzUICM0=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=iGVtO6WDaAMNO18PAQV1ExHzfFMMKiSIY08HZd9RLASaoUp6qoZaX4TM5ffcA7XJG\n\t 9Q/40piNGv0iiLInrV2mAfGkeDCf5ZIULfoHg6BaGW7lHYLms2CM1COKOKSmM0AyfM\n\t TrdP4QSbchZlBvRwnOdSAoQsPy4fJ5rqNpceq0WyaBwr75FaWHQzdKLQjViQaIvW2X\n\t 9pJ4OFSchq+t9hQc5q5WSeQxTk/sL35ujzDbxMTVIeIslf2Vb0aRpkb4N2NbdbyfUh\n\t L/IxMrLpDqJPEz6N25+hu36KAMY0wn8rnmi6kqVpDsxjUJx85nbxybMyuqBo6RIzO4\n\t AYd80R52625MQ==",
        "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 v3 5/9] fstests: verify f_fsid for cloned filesystems",
        "Date": "Mon, 27 Apr 2026 18:19:37 +0800",
        "Message-ID": "\n <8afe801010f2c444a47a87225a8ead03d68ab71e.1777281778.git.asj@kernel.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<cover.1777281778.git.asj@kernel.org>",
        "References": "<cover.1777281778.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     | 61 +++++++++++++++++++++++++++++++++++++++++++\n tests/generic/802.out |  7 +++++\n 2 files changed, 68 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..83e75dcd0d78\n--- /dev/null\n+++ b/tests/generic/802\n@@ -0,0 +1,61 @@\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_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": [
        "v3",
        "5/9"
    ]
}