get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230325,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230325/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/177747215045.4109882.5372076002580949348.stgit@frogsfrogsfrogs/",
    "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": "<177747215045.4109882.5372076002580949348.stgit@frogsfrogsfrogs>",
    "date": "2026-04-29T14:57:50",
    "name": "[1/3] fuse4fs: configure iomap when running as a service",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b79d3a5f0bca937b7f7b44e70f624c32ac3d8006",
    "submitter": {
        "id": 77032,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/77032/?format=api",
        "name": "Darrick J. Wong",
        "email": "djwong@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/177747215045.4109882.5372076002580949348.stgit@frogsfrogsfrogs/mbox/",
    "series": [
        {
            "id": 502089,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502089/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=502089",
            "date": "2026-04-29T14:58:06",
            "name": "[1/3] fuse4fs: configure iomap when running as a service",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502089/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230325/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230325/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <SRS0=rdlJ=C4=vger.kernel.org=linux-ext4+bounces-16209-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=BiUlI2jO;\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=rdlj=c4=vger.kernel.org=linux-ext4+bounces-16209-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=\"2600:3c0a:e001:db::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=BiUlI2jO;\n\tdkim-atps=neutral",
            "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16209-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=\"BiUlI2jO\"",
            "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 4g5L9Z5qztz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:01:38 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g5L9Z5QZbz4wHs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:01:38 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4g5L9Z5Lk5z4wM1; Thu, 30 Apr 2026 01:01:38 +1000 (AEST)",
            "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::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 4g5L9W1LZ4z4wHs\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 30 Apr 2026 01:01:35 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 97C043018D5E\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 29 Apr 2026 14:57:53 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 8624F339B2D;\n\tWed, 29 Apr 2026 14:57:51 +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 4769B32694F;\n\tWed, 29 Apr 2026 14:57:51 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id EDA1BC19425;\n\tWed, 29 Apr 2026 14:57:50 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777474898; cv=pass;\n\tb=i5TCx1g695iTpXP6bFyTbQRX/BnlTYzlhxcxAL4DV8rCIySZXZQKnJwAQ5+h8o1c4saIFOyGiyVWp38STtjgD3aiJipBN9SyaeBv3U4y2q3KqVmlg5J4f09odJY7NSzpxlpnI1/pxMYE5InIXPTl2kKSPx/935nrFDZxBJamaJO0W56ooft4EODHI9BIR96UVYYFHEWXd86mmCBmSSjcxLeO2ucLSc0i8LeUjMlK4eniDiZtB5Kuy+B+Ih4iCaC/4Pwtrjeq5cB2DRdGbWzmpc0emFtBd0xZId6dE7qdaxvLnQkLmOzEvLQWt5gDdrS8uczG46yJY6XD0uoGzn5cPw==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777474671; cv=none;\n b=Rb8jTMU8EPvALe8CUEyMnb/SjA+OE+uQwM09ahnVBT1kwKw5Ks05syb/maty1zfxT/LpRgkovweTRcr9rReTDGhjAuzfzmWtqXpthmS5dopfVImpyzSm6m4AW+jWDIH9+ogeNmJSJcWl/AeABFMJfry0u7eSOwaGDbkA3IkHY6Y="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777474898; c=relaxed/relaxed;\n\tbh=ScwJ67JhUd7+F5gohANy0qKuTsKhnKDjgJG/xtCxFh0=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=PPoPnAbvSnPqxZryji9PSDqGoC6sFWc7Wbhf2zZPyGhxYBD036HqlSnIgeByPZV7PaOO5wRdKTHxV6mK59A2q83RLLX7QuIVuhvRuElsAZgN80y68kNsyDE9W36WAnb9ZGUtMLyWVGTVtczpIlpojEC8ZvwxPiXupmzWGo2VdIdQAWItopQDpb8ldimCgjKDm5gGgY6+JLpFqo9Lh6Lr3hMV6pHLH/hPVdcLragaKtWuoNsXZ1flQ++EnhkeNVblRvwmPj0KBz7aL7cKSvONMJkFkwiC3Yosg8Ptcx9FtgmC69fdQuKJ9zc2ZqTW2Xu4eCrJj4kzvC+gEeykTjakKA==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777474671; c=relaxed/simple;\n\tbh=+1qcRrkwPkKYIhYfSSdw6RXfN4OfMOmlIcoWZLsn9cc=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=dqgfaNhKS3351wniOzcTJoWxu2XyQ2/79ZjMxr1ZmUa2c6fjFQUI7De65R89ZU2XFjIuXp6iHhblrPErIGr26FIgP2qKaChEFcbJBUJuQLfZ6T3xaZjD33gs/7jiyggB2sduAnCY+9Bo7uR08M3ZsO3OWyF4VD1ZbHEc669YdhU="
        ],
        "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=BiUlI2jO; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16209-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=BiUlI2jO; 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=1777474671;\n\tbh=+1qcRrkwPkKYIhYfSSdw6RXfN4OfMOmlIcoWZLsn9cc=;\n\th=Date:Subject:From:To:Cc:In-Reply-To:References:From;\n\tb=BiUlI2jOAcIng1GDMvjmueoAWOLRyUi0on22X5CfMmeGZ12bfdL/Ye9vmLrl7wxaw\n\t 5qdsPLk8RCKcg+tRT3H5WIJV4U26LxLDxpsWlj08auJhGTGZ1l4ya196RUoA3Yoxvd\n\t JH93WIvc0vDJVDu+/YLuxFP93NMkcX6IoTr/aGMdckMwzD3wMf20RA6EkbfKprYyzI\n\t SrwrYsjHGs3O0DL3yT5330Bk0/xLU1WwpRx5b98dyjs8Ug2XEZYGf2Rbid57iGQqSL\n\t ew8otYYzHY18VPwut5qWGXWfy8UHfleo4hdhZ+zQG67p8gukkZI8GCkp4dqfjhAS7I\n\t x+KfXpxUrtqDA==",
        "Date": "Wed, 29 Apr 2026 07:57:50 -0700",
        "Subject": "[PATCH 1/3] fuse4fs: configure iomap when running as a service",
        "From": "\"Darrick J. Wong\" <djwong@kernel.org>",
        "To": "tytso@mit.edu",
        "Cc": "bernd@bsbernd.com, miklos@szeredi.hu, linux-ext4@vger.kernel.org,\n neal@gompa.dev, linux-fsdevel@vger.kernel.org, fuse-devel@lists.linux.dev,\n joannelkoong@gmail.com",
        "Message-ID": "<177747215045.4109882.5372076002580949348.stgit@frogsfrogsfrogs>",
        "In-Reply-To": "<177747215017.4109882.630706253054166885.stgit@frogsfrogsfrogs>",
        "References": "<177747215017.4109882.630706253054166885.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=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "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\nWe have to ask the mount helper to enable iomap for us on the fuse\nconnection, so do that before mounting.\n\nSigned-off-by: \"Darrick J. Wong\" <djwong@kernel.org>\n---\n fuse4fs/fuse4fs.c |   45 +++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 45 insertions(+)",
    "diff": "diff --git a/fuse4fs/fuse4fs.c b/fuse4fs/fuse4fs.c\nindex 46f81e2066b044..d7de2e94a7e536 100644\n--- a/fuse4fs/fuse4fs.c\n+++ b/fuse4fs/fuse4fs.c\n@@ -334,8 +334,14 @@ static inline bool fuse4fs_is_service(const struct fuse4fs *ff)\n {\n \treturn fuse_service_accepted(ff->service);\n }\n+\n+static int fuse4fs_service_discover_iomap(struct fuse4fs *ff)\n+{\n+\treturn fuse_service_discover_iomap(ff->service);\n+}\n #else\n # define fuse4fs_is_service(...)\t\t(false)\n+# define fuse4fs_service_discover_iomap(...)\t(0)\n #endif\n \n #define FUSE4FS_CHECK_HANDLE(req, fh) \\\n@@ -935,6 +941,11 @@ static inline void fuse4fs_discover_iomap(struct fuse4fs *ff)\n \tif (ff->iomap_want == FT_DISABLE)\n \t\treturn;\n \n+\tif (fuse4fs_is_service(ff)) {\n+\t\tff->iomap_cap = fuse4fs_service_discover_iomap(ff);\n+\t\treturn;\n+\t}\n+\n \tff->iomap_cap = fuse_lowlevel_discover_iomap(-1);\n }\n \n@@ -1579,6 +1590,30 @@ static errcode_t fuse4fs_service_openfs(struct fuse4fs *ff, char *options,\n # define fuse4fs_service_openfs(...)\t\t(EOPNOTSUPP)\n #endif\n \n+#if defined(HAVE_FUSE4FS_SERVICE) && defined(HAVE_FUSE_IOMAP)\n+static int fuse4fs_service_configure_iomap(struct fuse4fs *ff)\n+{\n+\tint error = 0;\n+\tint ret;\n+\n+\tret = fuse_service_configure_iomap(ff->service,\n+\t\t\t\t\t   ff->iomap_want == FT_ENABLE,\n+\t\t\t\t\t   &error);\n+\tif (ret)\n+\t\treturn -1;\n+\n+\tif (error) {\n+\t\terr_printf(ff, \"%s: %s.\\n\", _(\"enabling iomap\"),\n+\t\t\t   strerror(error));\n+\t\treturn -1;\n+\t}\n+\n+\treturn 0;\n+}\n+#else\n+# define fuse4fs_service_configure_iomap(...)\t(EOPNOTSUPP)\n+#endif\n+\n static errcode_t fuse4fs_acquire_lockfile(struct fuse4fs *ff)\n {\n \tchar *resolved;\n@@ -8373,6 +8408,16 @@ int main(int argc, char *argv[])\n \t\t\tret = 2;\n \t\t\tgoto out;\n \t\t}\n+\n+#ifdef HAVE_FUSE_IOMAP\n+\t\tif (fctx.iomap_want != FT_DISABLE) {\n+\t\t\tret = fuse4fs_service_configure_iomap(&fctx);\n+\t\t\tif (ret) {\n+\t\t\t\tret = 2;\n+\t\t\t\tgoto out;\n+\t\t\t}\n+\t\t}\n+#endif\n \t}\n \n \ttry_adjust_oom_score(&fctx);\n",
    "prefixes": [
        "1/3"
    ]
}