get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230302,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230302/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/177747214626.4107473.1244274603478834116.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": "<177747214626.4107473.1244274603478834116.stgit@frogsfrogsfrogs>",
    "date": "2026-04-29T14:53:55",
    "name": "[05/19] fuse2fs: implement directio file reads",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "752d0f4b4a104ca5067fda3d2a4ddb73b10ce72c",
    "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/177747214626.4107473.1244274603478834116.stgit@frogsfrogsfrogs/mbox/",
    "series": [
        {
            "id": 502087,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502087/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=502087",
            "date": "2026-04-29T14:53:09",
            "name": "[01/19] fuse2fs: implement bare minimum iomap for file mapping reporting",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502087/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230302/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230302/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <SRS0=AUqh=C4=vger.kernel.org=linux-ext4+bounces-16194-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=svFnqYk/;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=150.107.74.76; helo=mail.ozlabs.org;\n envelope-from=srs0=auqh=c4=vger.kernel.org=linux-ext4+bounces-16194-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=svFnqYk/;\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-16194-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=\"svFnqYk/\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])\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 4g5L0t0fJSz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 00:54:06 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g5L0t0Br3z4wLM\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 00:54:06 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4g5L0t05kXz4wM1; Thu, 30 Apr 2026 00:54:06 +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 4g5L0n09lfz4wLM\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 30 Apr 2026 00:54:01 +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 916053008C04\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 29 Apr 2026 14:53:58 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id AF79832694F;\n\tWed, 29 Apr 2026 14:53:56 +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 71C812C237C;\n\tWed, 29 Apr 2026 14:53:56 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 4CEB1C2BCB8;\n\tWed, 29 Apr 2026 14:53:56 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777474445; cv=pass;\n\tb=n55Tb8oP2NgNJz5bl4X1alaa802ZUWaFEQjsHuOZLIXoMNokWgYohObtEZbEg3soHs8dq8v1az5zrWJN89FqWqLwvfaVw3Q42HB81S/oEh6WhvpPxbIREENJ1e/iz5A0onLleyV8A013vYv7m0G36/aNQbdO8/qSCniwFeZt+mG8OLHxoXQwn65VABkidRaPoDo5ZajQ9Pna+V7b7CpSR3mWc07gEDr09dm7P2cSltR7Roh9NNvo+oIrdJSFkwD60nYaFcnOjTAC72x9ZChWneLn2ygzw0nHH+nWnur2VUTmocrH54VpIRH37RdjGl73gZ3p+PbEGW3vI2eTLCF/4w==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777474436; cv=none;\n b=Sn+P2C7712AXsEX2TEEmtUuC2ERHgB0djoxbojfFpRMVPqtYdlf3pD5oLHJjbLBTeQ0hl2feL/X1bp3L9w5R4hTIG5DC5AdUBNg+pNYOxMMaF7qifHLOjbeyhomVnTFLJqWHi7UWaLkOZqX07wQ7VPpkCTed3/aPgZ7Xxmpsjd4="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777474445; c=relaxed/relaxed;\n\tbh=gtRbocXKWhz1So32+Lj8sW+WqDL3MQXuzqzvAL4BrU8=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=WrGW41RcfZ77Jo6slSenCJ6N6Sbq5uWZNvujLeZtUVKLF2eoSGqeP6svplYsZf3JizigGw3D4Hfcm2uNoz+cvQgR4KT9DEpsr8JfII4ybVrL7CkotAoU/9EgWicOR7ewSvjLB8mJXUysdMklUpe2dc3sek8oY+AVUthZv1B2Pi+oQvRyEuuF4Ifc1Lk4rk7KDaW29v//ngyjZAaiLLar/sMGq7vTYnQ77ElGdBT2WQQ7ZK2cR4BlXs5/oQqraq4LdQEi3cMHzi47PV9ymABhorWhy0CazZnctBhqkjY8ic1L8srOaUVRR1yIL8krfhFoFGUzKfmi2ZRM99H1uB27ZQ==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777474436; c=relaxed/simple;\n\tbh=YP76nYhAtFv7urlVu7ot7GfWQzJEqUUzn7i0FChmjas=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=r/Dxv7lOPzVIZdSbhmskPfuOVyVRbK9uNtS31bwQ+8HqXd6D7tUcmzUQSQvJ9ZXB1J55++OngIUSeT4G2VGcp2pvICJmAGY3DAHM2GQT0YMKEwemvoaTln7g2od0qOSr52xsYA1NgJxbzMNPzVcZ0Pm5nNDK3HoiDw3HYQ8KHMs="
        ],
        "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=svFnqYk/; 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-16194-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=svFnqYk/; 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=1777474436;\n\tbh=YP76nYhAtFv7urlVu7ot7GfWQzJEqUUzn7i0FChmjas=;\n\th=Date:Subject:From:To:Cc:In-Reply-To:References:From;\n\tb=svFnqYk/Ytah1uXoOByst9mELLZ9FAPlvcw/6x44Dkb6EYcGwZK26ATzlBZwuxDft\n\t YNceHaf2DUIo2XtkddvfdbVJmTyjcEgEijFG9gqLtyzFCbvZo4zDDOeuRZWT1Oyz2Y\n\t NwPH3lkVmH5/d3uFp6wVoyY2B4LPxTxWU6i4VSbybjQOE+fygyy21CPOpKm/0YL5fI\n\t l44IOxESYSo7YsATM9hrQgNS69Yb/QgMKQp2h/cooy5nOZ/JMvPhsQ3fYEgtisG0jO\n\t /sDbfWhDoUTKYGhp0lB5WD2HlvS1Fr9YRH+XjF+wX4zyS0QZzAUILo9cd5sd1d5GFm\n\t /0w/c5xyeMwQA==",
        "Date": "Wed, 29 Apr 2026 07:53:55 -0700",
        "Subject": "[PATCH 05/19] fuse2fs: implement directio file reads",
        "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": "<177747214626.4107473.1244274603478834116.stgit@frogsfrogsfrogs>",
        "In-Reply-To": "<177747214459.4107473.9520724883867588970.stgit@frogsfrogsfrogs>",
        "References": "<177747214459.4107473.9520724883867588970.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\nImplement file reads via iomap.  Currently only directio is supported.\n\nSigned-off-by: \"Darrick J. Wong\" <djwong@kernel.org>\n---\n fuse4fs/fuse4fs.c |   14 +++++++++++++-\n misc/fuse2fs.c    |   14 +++++++++++++-\n 2 files changed, 26 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/fuse4fs/fuse4fs.c b/fuse4fs/fuse4fs.c\nindex 3e9852f585302d..a1d931aed8f393 100644\n--- a/fuse4fs/fuse4fs.c\n+++ b/fuse4fs/fuse4fs.c\n@@ -6370,7 +6370,19 @@ static int fuse4fs_iomap_begin_read(struct fuse4fs *ff, ext2_ino_t ino,\n \t\t\t\t    uint64_t count, uint32_t opflags,\n \t\t\t\t    struct fuse_file_iomap *read)\n {\n-\treturn -ENOSYS;\n+\tif (!(opflags & FUSE_IOMAP_OP_DIRECT))\n+\t\treturn -ENOSYS;\n+\n+\t/* fall back to slow path for inline data reads */\n+\tif (inode->i_flags & EXT4_INLINE_DATA_FL)\n+\t\treturn -ENOSYS;\n+\n+\tif (inode->i_flags & EXT4_EXTENTS_FL)\n+\t\treturn fuse4fs_iomap_begin_extent(ff, ino, inode, pos, count,\n+\t\t\t\t\t\t  opflags, read);\n+\n+\treturn fuse4fs_iomap_begin_indirect(ff, ino, inode, pos, count,\n+\t\t\t\t\t    opflags, read);\n }\n \n static int fuse4fs_iomap_begin_write(struct fuse4fs *ff, ext2_ino_t ino,\ndiff --git a/misc/fuse2fs.c b/misc/fuse2fs.c\nindex c24ae461dad2ad..739867fa41dd91 100644\n--- a/misc/fuse2fs.c\n+++ b/misc/fuse2fs.c\n@@ -5605,7 +5605,19 @@ static int fuse2fs_iomap_begin_read(struct fuse2fs *ff, ext2_ino_t ino,\n \t\t\t\t    uint64_t count, uint32_t opflags,\n \t\t\t\t    struct fuse_file_iomap *read)\n {\n-\treturn -ENOSYS;\n+\tif (!(opflags & FUSE_IOMAP_OP_DIRECT))\n+\t\treturn -ENOSYS;\n+\n+\t/* fall back to slow path for inline data reads */\n+\tif (inode->i_flags & EXT4_INLINE_DATA_FL)\n+\t\treturn -ENOSYS;\n+\n+\tif (inode->i_flags & EXT4_EXTENTS_FL)\n+\t\treturn fuse2fs_iomap_begin_extent(ff, ino, inode, pos, count,\n+\t\t\t\t\t\t  opflags, read);\n+\n+\treturn fuse2fs_iomap_begin_indirect(ff, ino, inode, pos, count,\n+\t\t\t\t\t    opflags, read);\n }\n \n static int fuse2fs_iomap_begin_write(struct fuse2fs *ff, ext2_ino_t ino,\n",
    "prefixes": [
        "05/19"
    ]
}