get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230338,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230338/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/177747214698.4107473.16785309853686303058.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": "<177747214698.4107473.16785309853686303058.stgit@frogsfrogsfrogs>",
    "date": "2026-04-29T14:54:58",
    "name": "[09/19] fuse2fs: don't zero bytes in punch hole",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4dcf64fee87fff9bcc299576fcf6ed1ca08df531",
    "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/177747214698.4107473.16785309853686303058.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/2230338/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230338/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <SRS0=FeJ2=C4=vger.kernel.org=linux-ext4+bounces-16198-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=inU2rfJ1;\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=fej2=c4=vger.kernel.org=linux-ext4+bounces-16198-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=104.64.211.4 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=inU2rfJ1;\n\tdkim-atps=neutral",
            "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=104.64.211.4; helo=sin.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16198-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=\"inU2rfJ1\"",
            "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 4g5LK073Rbz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:08:04 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g5LK06Z17z4wLM\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:08:04 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4g5LK06VzSz4wM1; Thu, 30 Apr 2026 01:08:04 +1000 (AEST)",
            "from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])\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 4g5LJx1r6Wz4wLM\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 30 Apr 2026 01:08:01 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 10C333001A56\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 29 Apr 2026 14:55:04 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id E59F23254B8;\n\tWed, 29 Apr 2026 14:54:59 +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 A7C8019CD03;\n\tWed, 29 Apr 2026 14:54:59 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 40135C19425;\n\tWed, 29 Apr 2026 14:54:59 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777475284; cv=pass;\n\tb=AF6klJus42cHNt8LZOmyrB56NmKgE2T3bl+lbNhvJr/dd84LkCZcwONb9Uejrxiz3VygiU5/ROkoijMTYt2eJdonCeEvAMZ1LsQ6JDJoPZ3glTextJCv7BSaTCcsWkwR9hsOF4IINOdu7DKOKDuqXeyEBCeee3wEGnLR+dvNd0ZbQoZOfJFZxLHwYWLqPurT6AT1dyMfDsPzH8eNiOLJFCQd/nfUuiCo7UbnUT732Xf9IjTEHvZ8r5SdKuleInOtBiSWwmgYc7HT4vz20iTSpVqlBlKi8ZQPrXzl2yfTTfBqLrvyO6ZEXzDS5msHJFsOlhpouy3jIeBhj+LekMLa7w==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777474499; cv=none;\n b=bsZYAJqx86SucOyafQ6zQRpEoXWA0ptX+K2ytIYO+PZt5ctd+87/XFhRXMB62u7oNoX2dEW56hmfcKoqmz7vCKoh54jzBH/Zo+iFMu9YXQe2bYapefknK5E6DaposLMbsfyl3BkT9YP2w5Uiuod3ZfsFnIE6rmw9zvEY99OlG0M="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777475284; c=relaxed/relaxed;\n\tbh=HeU/QoKhcSa09zB8UUpXbXIo3GRjPMYEjs+WQx/wy4Y=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=qi5wU6P9xWkyiUGcEKIaKs6RmcKwhMdWn04uPvOyZe1p2L11n8zhmdOo4Ub8WYIqWwbveRlBUfk+MXvFdcgBDcbRTO5zB0gDMGYsc24O4avxGds/XMBbAurvcVDj1bH74n/UWHkzDiUfbRHQtpj9f7QpsZnv1XmQRXhLRqbihzGgY1PwoZVlV+8dyjI/THLGQkPwEeZc/3rQOjkKebVI5cn4yNn2rb5SKIUgmZe6RpsILfltX03WJNideE74G8K7e3/VCTznNXQ+9DNHB6QnBS/0DBf8XlbLtwE+k5kS1m2AUd900/Sf+K/H5dYmdswH0DxOPl7xJOnTjoWt8S8XxA==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777474499; c=relaxed/simple;\n\tbh=72cIxZsbYtEk2ZgZd0dzZ0vl0jbzvVreJBml3pclb9M=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=Yw0mrFb3OCe4iiC++f7zuETx6Lhb/QmWPt/zSXyvzByICLILcTs2Cv36DOyJNYNj0THmzGaxKn5lXnNUGtyMFcW53u2PVaGaSEPGHp4X+VwNHHHvfI+9MVt8w+XuwTh9XXkeasanDBMhhB0CJobkyMVkdscp/Dfg7QOm0jyL1V4="
        ],
        "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=inU2rfJ1; dkim-atps=neutral;\n spf=pass (client-ip=104.64.211.4; helo=sin.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16198-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=inU2rfJ1; 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=1777474499;\n\tbh=72cIxZsbYtEk2ZgZd0dzZ0vl0jbzvVreJBml3pclb9M=;\n\th=Date:Subject:From:To:Cc:In-Reply-To:References:From;\n\tb=inU2rfJ1ZNHWS1kupjyKRwyMscC4N837/j6LpedVtw+VjdYnDI6irEnHFBwhGW+fr\n\t rbHLGGD0egRysfXI8m+kMFj6u5R8lW/a3RQZuRu9lRyVBeRomYRmXD9UWXXe2j8uXM\n\t El3mAipljBiICRJFSBjMtqpMBEeikYc5ygdqkNO7RPI+Apa+RZVe465yBzlDgPk2Co\n\t Sr/q/59Hks/lX4rv1Thi28OReKK6mfKsNfGgjSKuvaRhBzU4r0b008xjFqjA4Dq+js\n\t V+shDskekJBIDUFIG74AodxEdoIHmmOGviqvGZaD1KtVDUL0OUgYqnnVwiXYKa19kR\n\t aW5X2ZbLv1VhQ==",
        "Date": "Wed, 29 Apr 2026 07:54:58 -0700",
        "Subject": "[PATCH 09/19] fuse2fs: don't zero bytes in punch hole",
        "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": "<177747214698.4107473.16785309853686303058.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\nWhen iomap is in use for the pagecache, it will take care of zeroing the\nunaligned parts of punched out regions so we don't have to do it\nourselves.\n\nSigned-off-by: \"Darrick J. Wong\" <djwong@kernel.org>\n---\n fuse4fs/fuse4fs.c |    8 ++++++++\n misc/fuse2fs.c    |    9 +++++++++\n 2 files changed, 17 insertions(+)",
    "diff": "diff --git a/fuse4fs/fuse4fs.c b/fuse4fs/fuse4fs.c\nindex fa82fda99ff687..40713b0d0d5e37 100644\n--- a/fuse4fs/fuse4fs.c\n+++ b/fuse4fs/fuse4fs.c\n@@ -5868,6 +5868,10 @@ static errcode_t fuse4fs_zero_middle(struct fuse4fs *ff, ext2_ino_t ino,\n \tint retflags;\n \terrcode_t err;\n \n+\t/* the kernel does this for us in iomap mode */\n+\tif (fuse4fs_iomap_enabled(ff))\n+\t\treturn 0;\n+\n \tif (!*buf) {\n \t\terr = ext2fs_get_mem(fs->blocksize, buf);\n \t\tif (err)\n@@ -5904,6 +5908,10 @@ static errcode_t fuse4fs_zero_edge(struct fuse4fs *ff, ext2_ino_t ino,\n \toff_t residue;\n \terrcode_t err;\n \n+\t/* the kernel does this for us in iomap mode */\n+\tif (fuse4fs_iomap_enabled(ff))\n+\t\treturn 0;\n+\n \tresidue = FUSE4FS_OFF_IN_FSB(ff, offset);\n \tif (residue == 0)\n \t\treturn 0;\ndiff --git a/misc/fuse2fs.c b/misc/fuse2fs.c\nindex 679406323df86f..a37851cdf30785 100644\n--- a/misc/fuse2fs.c\n+++ b/misc/fuse2fs.c\n@@ -727,6 +727,7 @@ static inline int fuse2fs_iomap_enabled(const struct fuse2fs *ff)\n }\n #else\n # define fuse2fs_iomap_enabled(...)\t(0)\n+# define fuse2fs_iomap_enabled(...)\t(0)\n #endif\n \n static inline void fuse2fs_dump_extents(struct fuse2fs *ff, ext2_ino_t ino,\n@@ -5104,6 +5105,10 @@ static errcode_t clean_block_middle(struct fuse2fs *ff, ext2_ino_t ino,\n \tint retflags;\n \terrcode_t err;\n \n+\t/* the kernel does this for us in iomap mode */\n+\tif (fuse2fs_iomap_enabled(ff))\n+\t\treturn 0;\n+\n \tif (!*buf) {\n \t\terr = ext2fs_get_mem(fs->blocksize, buf);\n \t\tif (err)\n@@ -5140,6 +5145,10 @@ static errcode_t clean_block_edge(struct fuse2fs *ff, ext2_ino_t ino,\n \toff_t residue;\n \terrcode_t err;\n \n+\t/* the kernel does this for us in iomap mode */\n+\tif (fuse2fs_iomap_enabled(ff))\n+\t\treturn 0;\n+\n \tresidue = FUSE2FS_OFF_IN_FSB(ff, offset);\n \tif (residue == 0)\n \t\treturn 0;\n",
    "prefixes": [
        "09/19"
    ]
}