get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230323,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230323/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/177747215080.4109882.14715706821119071686.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": "<177747215080.4109882.14715706821119071686.stgit@frogsfrogsfrogs>",
    "date": "2026-04-29T14:58:21",
    "name": "[3/3] fuse4fs: ask for loop devices when opening via fuservicemount",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "28d1cb46c7a9d5e19e5b798661ca4cc0f847f83e",
    "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/177747215080.4109882.14715706821119071686.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/2230323/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230323/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <SRS0=bp+i=C4=vger.kernel.org=linux-ext4+bounces-16211-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=qXcvmI6u;\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=bp+i=c4=vger.kernel.org=linux-ext4+bounces-16211-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=\"2600:3c04:e001:36c::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=qXcvmI6u;\n\tdkim-atps=neutral",
            "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16211-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=\"qXcvmI6u\"",
            "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 4g5L9L5jfVz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:01:26 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g5L9L5H8vz4wM1\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:01:26 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4g5L9L5C2Cz4wHs; Thu, 30 Apr 2026 01:01:26 +1000 (AEST)",
            "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::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 4g5L9H0xjvz4wM1\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 30 Apr 2026 01:01:23 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 381FC300AED5\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 29 Apr 2026 14:58:25 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 92D4C33E34B;\n\tWed, 29 Apr 2026 14:58:22 +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 568AC2727FD;\n\tWed, 29 Apr 2026 14:58:22 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 330F7C19425;\n\tWed, 29 Apr 2026 14:58:22 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777474886; cv=pass;\n\tb=nmLCxnQSn8rdney9Nj71c6HFnqPslpN7hG+Csh6Zmwby+FPne7iq9NFNdI+K9bVYep1CFggzLNlcVPDqdk+FpwCPfry0A4rQIrjT8Jw2YbCfAAyYizi0rOJp1tkUuRMHOVj9rpns9bCfNXxwk6Asp61yu/Jfe4k1L0mKT/UBvCkOkd5VV4ibG6sb+p9Qb2nsMb97sOLPd4Dqdt66pDj7uElrba2+pNuU4AdvaGnfMgxDsyH4OJCQR4wQPlb1IIjcsrSPDUJHHXTXW/SBE1lF5xZlVpsCqR2mO927JJBGgS73VBbshM1V1EoDcEOIqQ5kR/WVOQtN1ahiO+jtZ8c9SA==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777474702; cv=none;\n b=eyJWGKiijZ0wNLftDvjFFJ8LDfC8RK1XVCLRK4lw8qwH0SfPe1F4CND+Oz3rAKO3WvNccisvGH8tiasz+b+baPn9J88omaXE5rFYY+PD0xxpxUV4pUWiEXLaxxjKobY/FHxvo0gUFflsakKST/xY6llq9WXE9bUpXEsoxajdtGg="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777474886; c=relaxed/relaxed;\n\tbh=uk8VAlG279LZieuiZ0Nr9gwP4r1xcHBK+YAxBXvnn2k=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=jlMzsc3jMfl+Lz5A+tbO0DEzi0a7DAb1mSZcWq2npSh0KrTW2adRUoI3mgDatyhpk9nGHHEcAXlh2h3Lcw8KDOt9Cjr1HPoPjOssD1qvRT+0wkbRR5JveqNxKJzbHoQQ/SmWjNNK1fhqWwsdfW+wdh47TfFrKHqnte//zvnTaE8Q3QP6sXbXAARItmJY06A8kGjmTX/EIad6n6Rdg1z8m3SLtHYuuoPmOYVBiufC/BzLs6Bj9gwiNMXHiH5tILSr4exV4zD/nIW9U1ubuKJQ86JS0bbERPxNF+mN9+AP6oFmG6sPJqPYQlv2zFsNhRO0zJuF48p4L6PZlsPeUUBWkQ==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777474702; c=relaxed/simple;\n\tbh=91UOHMu33y6Ej+8eMUeRnjwWNoeYFdTIxZBoKWV/eJY=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=fT7p7LgYpRRwGfZzReLreifHODhVoaDLE/2mM/yt1hHtfee/bIlQPlmxD5Y3khpCZjf3C8J6Imp7LhXdOQXAQAdORNO8Ir/PU/MFU1PgFWLdNM031+oM+/YSDXyVb6NucMRS1+7o0M+Dpbk9kATX6IltF0HI/jgWMK/caqb0TJ4="
        ],
        "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=qXcvmI6u; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16211-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=qXcvmI6u; 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=1777474702;\n\tbh=91UOHMu33y6Ej+8eMUeRnjwWNoeYFdTIxZBoKWV/eJY=;\n\th=Date:Subject:From:To:Cc:In-Reply-To:References:From;\n\tb=qXcvmI6uszprsLCyB63heD1R+NQcOdCJpSS6NupAkIRla8MKdCd+cE2HXgyfJcB2g\n\t xhfmi8hJ5oh53U5lhupLqjEcJlrdqLxC7CvWRdNjXGjYbfvmV+6MnQY+kTuqJphtXR\n\t CV3t7E52PbG8QNbItm8Phu0ThjJbMsqGDbBlbT4EZ+VxIAbo9XhSKgHDzXgIAe5QBN\n\t TxIzengsJ89OUxjMapQoGVlsPAoHz8qfK2d/b7oX9zVBv4zBWkWkdDecpaA9Fjrck9\n\t u5QHC9F9JjvsEnAd6h1xY0Ae3pQqCbo4G8wdRHCUxY2m8LGzE4s41ldd/F6xPH7NDK\n\t YQamFn8rgmMHQ==",
        "Date": "Wed, 29 Apr 2026 07:58:21 -0700",
        "Subject": "[PATCH 3/3] fuse4fs: ask for loop devices when opening via\n fuservicemount",
        "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": "<177747215080.4109882.14715706821119071686.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\nWhen requesting a file, ask the fuservicemount program to transform an\nopen regular file into a loop device for us, so that we can use iomap\neven when the filesystem is actually an image file.\n\nSigned-off-by: \"Darrick J. Wong\" <djwong@kernel.org>\n---\n fuse4fs/fuse4fs.c |    7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/fuse4fs/fuse4fs.c b/fuse4fs/fuse4fs.c\nindex e4338722e88e73..7c861fc28e9fa4 100644\n--- a/fuse4fs/fuse4fs.c\n+++ b/fuse4fs/fuse4fs.c\n@@ -1491,13 +1491,18 @@ static int fuse4fs_service_get_config(struct fuse4fs *ff)\n {\n \tdouble deadline = init_deadline(FUSE4FS_OPEN_TIMEOUT);\n \tconst int open_flags = O_EXCL | (ff->directio ? O_DIRECT : 0);\n+\tunsigned int request_flags = 0;\n \tint open_mode = O_RDWR;\n \tint fd;\n \tint ret;\n \n+\tif (fuse4fs_can_iomap(ff))\n+\t\trequest_flags |= FUSE_SERVICE_REQUEST_FILE_TRYLOOP;\n+\n \tdo {\n \t\tret = fuse_service_request_file(ff->service, ff->device,\n-\t\t\t\t\t\topen_mode | open_flags, 0, 0);\n+\t\t\t\t\t\topen_mode | open_flags, 0,\n+\t\t\t\t\t\trequest_flags);\n \t\tif (ret)\n \t\t\treturn ret;\n \n",
    "prefixes": [
        "3/3"
    ]
}