get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194145,
    "url": "http://patchwork.ozlabs.org/api/patches/2194145/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260206215400.GC7703@frogsfrogsfrogs/",
    "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": "<20260206215400.GC7703@frogsfrogsfrogs>",
    "list_archive_url": null,
    "date": "2026-02-06T21:54:00",
    "name": "[v1.1,1/3] xfs/018: remove inline xattr recovery tests",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2249a3407c4c89a045461b2d9020017d189624da",
    "submitter": {
        "id": 77032,
        "url": "http://patchwork.ozlabs.org/api/people/77032/?format=api",
        "name": "Darrick J. Wong",
        "email": "djwong@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260206215400.GC7703@frogsfrogsfrogs/mbox/",
    "series": [
        {
            "id": 491341,
            "url": "http://patchwork.ozlabs.org/api/series/491341/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=491341",
            "date": "2026-02-06T21:54:00",
            "name": "[v1.1,1/3] xfs/018: remove inline xattr recovery tests",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491341/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194145/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194145/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <SRS0=3sRT=AK=vger.kernel.org=linux-ext4+bounces-13607-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=davn8wgC;\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=3srt=ak=vger.kernel.org=linux-ext4+bounces-13607-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=172.232.135.74 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=davn8wgC;\n\tdkim-atps=neutral",
            "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.232.135.74; helo=sto.lore.kernel.org;\n envelope-from=linux-ext4+bounces-13607-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=\"davn8wgC\"",
            "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 4f77CR5h9Yz1xvD\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 07 Feb 2026 08:54:11 +1100 (AEDT)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4f77CR4CLGz4wBJ\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 07 Feb 2026 08:54:11 +1100 (AEDT)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4f77CR3tlcz4wCk; Sat, 07 Feb 2026 08:54:11 +1100 (AEDT)",
            "from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])\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 4f77CM6ZDrz4wBJ\n\tfor <patchwork-incoming@ozlabs.org>; Sat, 07 Feb 2026 08:54:07 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 47E953012502\n\tfor <patchwork-incoming@ozlabs.org>; Fri,  6 Feb 2026 21:54:05 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 0CB473128B0;\n\tFri,  6 Feb 2026 21:54:02 +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 C3E7326D4CD;\n\tFri,  6 Feb 2026 21:54:01 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 4EEF0C19423;\n\tFri,  6 Feb 2026 21:54:01 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1770414851; cv=pass;\n\tb=GqAw751dnODUxNrV+aKrz750knD09GdFhaEatP8jvcVJ9FyFGc5lN3Bz9enjPfE+nYalRyucLKzBrIVM9JuUekxAX2nIzMrM567nKOtppinLpZB1IiEs6vvRyv092FZFhhPDlin+nOr8IXXh9VFjkssOlV7Ow+GZZ7+5QCrM8I/qK2U6BoD+qxgxdP7LtvisEoUxyN8VuYNRvOybsTmWUicK3gdQVIU6KfPlca95kQPRWbhMGwrrGd6EASrzjfAoGvYWTXTVnPQYJ9pFrbSEg/ZITvXEAEjjJetIxfzlfe/ARv8FcQ5rvF/8IGNc7nLhrEp2uxxz5XghkRAQyYXLmA==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1770414841; cv=none;\n b=p553oeRG0trBWCod9VdRaTppFZNWIz+Y03+s0pRVNbaVAuJhd597KYPDxags7+XbQp0Y8dgf2d3HyUtQQtTg54tBncjuNTzRfvrH0YORWYlKlJIs/RrJ2ya+9lHogN+5X80J2UL7rxDGhTiPGfm5Lm89UsH07j++WcvK1zF1LJo="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1770414851; c=relaxed/relaxed;\n\tbh=u8KI7vI3CAl/OFMXg9vfUpfFJt+fj2Xm88n/PTV0GYY=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=CP+iW9phl6SUIwSHBPCLbRJsZ44Q3AcYpNqMRCR3kKnBhOzNg9MuEoc3+xGD4vQRuWI4J2LXuDQF7lj+EBqD0lgdkZH05t7y39yY+eGFQVIv+hefcKxCYRColfbWr6twMsJZIqo7S+EwMlKV6uiiDwdkRZDkLu32neT1A1E/tvCqe1A/WU0BgmZW31Z6ceQlNo4vji/awhXUyIiOyugZHLajVvV2i2Q1DE0QSFHY1FyOHAsSIMdaBn34GvUG9Ah0XGbLqM13G+jLsDnJ70R0+geCfmgmR57EEhrXgGKZeKilyTvMjg3a4/jX6wRPwXlLGH+Goi60aCieQbgB0rVd1Q==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1770414841; c=relaxed/simple;\n\tbh=h2F02Qz4bAEK41GQKS7KGtmFOs0X2EOM1L/wN7L8rls=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=YNaw6r0pVdoZ+0rhL6dK4kBpUgZNW0t/lcX0Dhe7krGeWg/nkdh0XXn5IXdr61iLZO9uIHcnu+bA3Q8LZAMt8P6rkhykjqrIZzBSC2bgqf4wNbypSjFoZVbdmflqjvzGkVkUyMkIxbQIFgxZvbxk9jISNPYLCNqOfWekWrXWps0="
        ],
        "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=davn8wgC; dkim-atps=neutral;\n spf=pass (client-ip=172.232.135.74; helo=sto.lore.kernel.org;\n envelope-from=linux-ext4+bounces-13607-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=davn8wgC; 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=1770414841;\n\tbh=h2F02Qz4bAEK41GQKS7KGtmFOs0X2EOM1L/wN7L8rls=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=davn8wgCDzNUVMs4MTkm8SYleHqDVxhRreSQK1lpmqlpPY5KeHbQWgcpQF63Ncypl\n\t z/IM5mCmJLLy+WdnE31yLUqs9A1Lih5/1PqiCD8e2MFl+KwQqQ+4/IwVsC0nUjOOA8\n\t vO2bdMutV1tzRIPfouqbVeU4BIoTgfw1hwn8nxcoS/pl8mKtEYz4+Y63jfgm22n29V\n\t DsJeM7/wUtpn/j/DGFAyiE4wptLsPJ0+0caCjuDISv8troO8dMl3NWfyO2A+NR7SoF\n\t fZdrzmmMnW/QOytuDRPpGx65+pM0s7scdJt/YjeaM+Vhta2+Tr9FaUpUwECcJa6v4M\n\t wifstl1BN9xGQ==",
        "Date": "Fri, 6 Feb 2026 13:54:00 -0800",
        "From": "\"Darrick J. Wong\" <djwong@kernel.org>",
        "To": "zlang@redhat.com",
        "Cc": "linux-ext4@vger.kernel.org, fstests@vger.kernel.org",
        "Subject": "[PATCH v1.1 1/3] xfs/018: remove inline xattr recovery tests",
        "Message-ID": "<20260206215400.GC7703@frogsfrogsfrogs>",
        "References": "<177005945267.2432878.7105483366958924034.stgit@frogsfrogsfrogs>\n <177005945298.2432878.17951687824065765554.stgit@frogsfrogsfrogs>",
        "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-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "In-Reply-To": "<177005945298.2432878.17951687824065765554.stgit@frogsfrogsfrogs>",
        "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": "From: Darrick J. Wong <djwong@kernel.org>\n\nIn Linux 7.0 we've changed the extended attribute update code to try to\ntake a shortcut for performance reasons.  Before walking through the\nattr intent state machine (slow), the update will check to see if the\nattr structure is in short format and will stay in that format after the\nchange.  If so, then the incore inode can be updated and logged, and\nthe update is complete (fast) in a single transaction.\n\n(Obviously, for complex attr structures or large changes we still walk\nthrough the intent machinery.)\n\nHowever, xfs/018 tests the behavior of the \"larp\" error injector, which\nonly triggers from inside the attr intent state machine.  Therefore, the\nshort format tests don't actually trip the injector.  It makes no sense\nto add a new larp injection callsite for the shortcut because either the\nsingle transaction gets written to disk or it doesn't.\n\nThe golden output no longer matches because the attr update doesn't\nreturn EIO and shut down the filesystem due to the larp injection.\n\nSigned-off-by: \"Darrick J. Wong\" <djwong@kernel.org>\nReviewed-by: Christoph Hellwig <hch@lst.de>\n---\nv1.1: improve commit message, add rvb\n---\n tests/xfs/018     |   24 ------------------------\n tests/xfs/018.out |   45 ---------------------------------------------\n 2 files changed, 69 deletions(-)",
    "diff": "diff --git a/tests/xfs/018 b/tests/xfs/018\nindex 8b6a3e1c508045..9b69c9cb14b33d 100755\n--- a/tests/xfs/018\n+++ b/tests/xfs/018\n@@ -127,16 +127,6 @@ mkdir $testdir\n \n require_larp\n \n-# empty, inline\n-create_test_file empty_file1 0\n-test_attr_replay empty_file1 \"attr_name\" $attr64 \"s\" \"larp\"\n-test_attr_replay empty_file1 \"attr_name\" $attr64 \"r\" \"larp\"\n-\n-# empty, inline with an unaligned value\n-create_test_file empty_fileX 0\n-test_attr_replay empty_fileX \"attr_nameX\" $attr17 \"s\" \"larp\"\n-test_attr_replay empty_fileX \"attr_nameX\" $attr17 \"r\" \"larp\"\n-\n # empty, internal\n create_test_file empty_file2 0\n test_attr_replay empty_file2 \"attr_name\" $attr1k \"s\" \"larp\"\n@@ -152,16 +142,6 @@ create_test_file empty_fileY 0\n test_attr_replay empty_fileY \"attr_name\" $attr32l \"s\" \"larp\"\n test_attr_replay empty_fileY \"attr_name\" $attr32l \"r\" \"larp\"\n \n-# inline, inline\n-create_test_file inline_file1 1 $attr16\n-test_attr_replay inline_file1 \"attr_name2\" $attr64 \"s\" \"larp\"\n-test_attr_replay inline_file1 \"attr_name2\" $attr64 \"r\" \"larp\"\n-\n-# inline, internal\n-create_test_file inline_file2 1 $attr16\n-test_attr_replay inline_file2 \"attr_name2\" $attr1k \"s\" \"larp\"\n-test_attr_replay inline_file2 \"attr_name2\" $attr1k \"r\" \"larp\"\n-\n # inline, remote\n create_test_file inline_file3 1 $attr16\n test_attr_replay inline_file3 \"attr_name2\" $attr64k \"s\" \"larp\"\n@@ -195,10 +175,6 @@ create_test_file remote_file2 1 $attr64k\n test_attr_replay remote_file2 \"attr_name2\" $attr64k \"s\" \"larp\"\n test_attr_replay remote_file2 \"attr_name2\" $attr64k \"r\" \"larp\"\n \n-# replace shortform with different value\n-create_test_file sf_file 2 $attr64\n-test_attr_replay sf_file \"attr_name2\" $attr16 \"s\" \"larp\"\n-\n # replace leaf with different value\n create_test_file leaf_file 3 $attr1k\n test_attr_replay leaf_file \"attr_name2\" $attr256 \"s\" \"larp\"\ndiff --git a/tests/xfs/018.out b/tests/xfs/018.out\nindex ad8fd5266f06d0..be1d6422af65a5 100644\n--- a/tests/xfs/018.out\n+++ b/tests/xfs/018.out\n@@ -1,26 +1,6 @@\n QA output created by 018\n *** mkfs\n *** mount FS\n-attr_set: Input/output error\n-Could not set \"attr_name\" for SCRATCH_MNT/testdir/empty_file1\n-touch: cannot touch 'SCRATCH_MNT/testdir/empty_file1': Input/output error\n-attr_name: e889d82dd111d6315d7b1edce2b1b30f  -\n-\n-attr_remove: Input/output error\n-Could not remove \"attr_name\" for SCRATCH_MNT/testdir/empty_file1\n-touch: cannot touch 'SCRATCH_MNT/testdir/empty_file1': Input/output error\n-attr_name: d41d8cd98f00b204e9800998ecf8427e  -\n-\n-attr_set: Input/output error\n-Could not set \"attr_nameX\" for SCRATCH_MNT/testdir/empty_fileX\n-touch: cannot touch 'SCRATCH_MNT/testdir/empty_fileX': Input/output error\n-attr_nameX: cb72c43fb97dd3cb4ac6ad2d9bd365e1  -\n-\n-attr_remove: Input/output error\n-Could not remove \"attr_nameX\" for SCRATCH_MNT/testdir/empty_fileX\n-touch: cannot touch 'SCRATCH_MNT/testdir/empty_fileX': Input/output error\n-attr_nameX: d41d8cd98f00b204e9800998ecf8427e  -\n-\n attr_set: Input/output error\n Could not set \"attr_name\" for SCRATCH_MNT/testdir/empty_file2\n touch: cannot touch 'SCRATCH_MNT/testdir/empty_file2': Input/output error\n@@ -51,26 +31,6 @@ Could not remove \"attr_name\" for SCRATCH_MNT/testdir/empty_fileY\n touch: cannot touch 'SCRATCH_MNT/testdir/empty_fileY': Input/output error\n attr_name: d41d8cd98f00b204e9800998ecf8427e  -\n \n-attr_set: Input/output error\n-Could not set \"attr_name2\" for SCRATCH_MNT/testdir/inline_file1\n-touch: cannot touch 'SCRATCH_MNT/testdir/inline_file1': Input/output error\n-attr_name2: e889d82dd111d6315d7b1edce2b1b30f  -\n-\n-attr_remove: Input/output error\n-Could not remove \"attr_name2\" for SCRATCH_MNT/testdir/inline_file1\n-touch: cannot touch 'SCRATCH_MNT/testdir/inline_file1': Input/output error\n-attr_name2: d41d8cd98f00b204e9800998ecf8427e  -\n-\n-attr_set: Input/output error\n-Could not set \"attr_name2\" for SCRATCH_MNT/testdir/inline_file2\n-touch: cannot touch 'SCRATCH_MNT/testdir/inline_file2': Input/output error\n-attr_name2: 4198214ee02e6ad7ac39559cd3e70070  -\n-\n-attr_remove: Input/output error\n-Could not remove \"attr_name2\" for SCRATCH_MNT/testdir/inline_file2\n-touch: cannot touch 'SCRATCH_MNT/testdir/inline_file2': Input/output error\n-attr_name2: d41d8cd98f00b204e9800998ecf8427e  -\n-\n attr_set: Input/output error\n Could not set \"attr_name2\" for SCRATCH_MNT/testdir/inline_file3\n touch: cannot touch 'SCRATCH_MNT/testdir/inline_file3': Input/output error\n@@ -131,11 +91,6 @@ Could not remove \"attr_name2\" for SCRATCH_MNT/testdir/remote_file2\n touch: cannot touch 'SCRATCH_MNT/testdir/remote_file2': Input/output error\n attr_name2: d41d8cd98f00b204e9800998ecf8427e  -\n \n-attr_set: Input/output error\n-Could not set \"attr_name2\" for SCRATCH_MNT/testdir/sf_file\n-touch: cannot touch 'SCRATCH_MNT/testdir/sf_file': Input/output error\n-attr_name2: e43df9b5a46b755ea8f1b4dd08265544  -\n-\n attr_set: Input/output error\n Could not set \"attr_name2\" for SCRATCH_MNT/testdir/leaf_file\n touch: cannot touch 'SCRATCH_MNT/testdir/leaf_file': Input/output error\n",
    "prefixes": [
        "v1.1",
        "1/3"
    ]
}