get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230334,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230334/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/177747215526.4110156.16981199084806761972.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": "<177747215526.4110156.16981199084806761972.stgit@frogsfrogsfrogs>",
    "date": "2026-04-29T15:00:42",
    "name": "[08/10] fuse2fs: enable syncfs",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "60db7247bd90b2656c6bd4e4cdcb5cc0e59b6c5d",
    "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/177747215526.4110156.16981199084806761972.stgit@frogsfrogsfrogs/mbox/",
    "series": [
        {
            "id": 502091,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502091/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=502091",
            "date": "2026-04-29T14:59:24",
            "name": "[01/10] fuse2fs: add strictatime/lazytime mount options",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502091/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230334/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230334/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <SRS0=j5Vw=C4=vger.kernel.org=linux-ext4+bounces-16220-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=feqGzXMK;\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=j5vw=c4=vger.kernel.org=linux-ext4+bounces-16220-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=172.234.253.10 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=feqGzXMK;\n\tdkim-atps=neutral",
            "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16220-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=\"feqGzXMK\"",
            "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 4g5LFY3n6Pz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:05:05 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g5LFY3HsDz4wHs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:05:05 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4g5LFY3FCFz4wM1; Thu, 30 Apr 2026 01:05:05 +1000 (AEST)",
            "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\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 4g5LFT6XFdz4wHs\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 30 Apr 2026 01:05:01 +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 7AFDC306D530\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 29 Apr 2026 15:00:45 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3170D364E85;\n\tWed, 29 Apr 2026 15:00:44 +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 4546835C1BC;\n\tWed, 29 Apr 2026 15:00:42 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 9947FC19425;\n\tWed, 29 Apr 2026 15:00:42 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777475105; cv=pass;\n\tb=hVAlm/f8dSf2ZVI4OrhI9xtMgWeSagDZ4Rq4VjqBxjhlVnYIgy4jK5G4+vcSkhsNH0oLd8Mo1BwrjxZJ9M02+XcOV/HT+L7Kcnk8rxFIPenvf3R8JgA+pcxDpJXLqN/t4jRaMKCeznPFubXxMBxgFOZa/ipfZ5wCCXN6b5QJoY6BvbBFT+iAIu0wDTaOV47kHX0JRrGMir4R7Lh4AvobiG1aK/S8fFpHbtg8KBfJgaYhA0Fa+BZnCOmsRLhcgQtfvbFNrSiRRcnvUNYc/rNTg2cEBs4MlzkmcXQs0wK1mJlgjOjDYMbJB3wFPuFoP385opFZ7ahQXybuRezqM3/yhg==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777474843; cv=none;\n b=MBSG3f3c5doTdnQwqZ16Ozof/CsjnjOC5QnxLCLlDQRpVNpX+b6bUNawJyP/dUd+ZgnIl6ii/+snduWijbz3ZXyo764f5ntdv8Pt4bsfyEkt+jgA8WywsvKhNWVadADxJzxFGPYbQ2s9DLUshtPxLFGQuFzZ8ATL+QVgHqlqsAU="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777475105; c=relaxed/relaxed;\n\tbh=jpPv7qCaCFuK3uAAblPWGuv1bUYxs/Bu5yaN55j+TQo=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=qhcjdkIiw+yoy1emXbkhQ2/H7B54cbWTCKWMsRPu2e4BNblez9fglBvyTeNiTIR3WXqusqkW4YnePUi+qa9PeLT+4mBgpwxznCEwjwlKszK2r3Gc9uk/1/LTYVYxzEUy45XX8HdKo3fN4aAkMG8ZrQj0U462mQQRmU8g5T/Jy11DuzI/tLr+ZsiRe6aeKdF/fV5ae6KxBYiLPIj5FnUWMASrbYVuh5tD8QgYFruNiWLkgpcbuhMpq9b/nX34HF/DwaA24kPpiZm9p2aCwapzlQix2GbVUQWiaqnHhQXC48UmpMCWJFCaAuGUJEwVhkcsu6p8c5Mn+umehASNfhVXew==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777474843; c=relaxed/simple;\n\tbh=isvBrTTOROo2MgJ0e0C9f7bd1lVydsw1LWdJjv6u8w8=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=WXvpbkg4ve3vHLc5A17r2TvUeVi5zR9gJonFwLNKLsdlhT3XScF3hk+96yYFhSwbzWH3ndA8RS5JU1mahFralZgro1+VSGdm6udv3ZSo3Z3E2nZU5yENWwem9D5J+sSNvTxYPS0YKQwQM444cYteq446ZIVIbAQiS23mp1Gu3Fs="
        ],
        "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=feqGzXMK; dkim-atps=neutral;\n spf=pass (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16220-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=feqGzXMK; 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=1777474842;\n\tbh=isvBrTTOROo2MgJ0e0C9f7bd1lVydsw1LWdJjv6u8w8=;\n\th=Date:Subject:From:To:Cc:In-Reply-To:References:From;\n\tb=feqGzXMKaF9xlF0BheVkSIHFUGX+PsvFpSDncFMT5CL2TD349oWDC/rq0yOR91SXr\n\t nWn6Y6K6MuBUFznwFiey0aBLKTxdbphqnkGie03Db9Emjr5vji+Cpucjbym106TWIU\n\t ahOm9WfWq45jP/giEyT3enqhGJh1LsPkCSRpew5Ilomp0xRHbwmaacITHeGi2yDUFv\n\t RolY7PepptbSKzSr8D+G8tJFwWqTFh0F8T0xRX4jPZz++khgFXqr4liXAzhhYNQD6O\n\t YeTMh5zdk2xiAvQUA4rC71DXjywnYxzp3wXj+ltC3iUtZf4kqL5DkFPhaLeIavfV++\n\t rE1ghMfvEj7oA==",
        "Date": "Wed, 29 Apr 2026 08:00:42 -0700",
        "Subject": "[PATCH 08/10] fuse2fs: enable syncfs",
        "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": "<177747215526.4110156.16981199084806761972.stgit@frogsfrogsfrogs>",
        "In-Reply-To": "<177747215344.4110156.17216553139316774040.stgit@frogsfrogsfrogs>",
        "References": "<177747215344.4110156.17216553139316774040.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\nEnable syncfs calls in fuse2fs.\n\nSigned-off-by: \"Darrick J. Wong\" <djwong@kernel.org>\n---\n fuse4fs/fuse4fs.c |   32 ++++++++++++++++++++++++++++++++\n misc/fuse2fs.c    |   34 ++++++++++++++++++++++++++++++++++\n 2 files changed, 66 insertions(+)",
    "diff": "diff --git a/fuse4fs/fuse4fs.c b/fuse4fs/fuse4fs.c\nindex 8a9ada8905983d..51958d6677288c 100644\n--- a/fuse4fs/fuse4fs.c\n+++ b/fuse4fs/fuse4fs.c\n@@ -6563,7 +6563,38 @@ static void op_shutdownfs(fuse_req_t req, fuse_ino_t ino, uint64_t flags)\n \tint ret;\n \n \tret = ioctl_shutdown(ff, ctxt, NULL, NULL, 0);\n+\tfuse_reply_err(req, -ret);\n+}\n \n+static void op_syncfs(fuse_req_t req, fuse_ino_t ino)\n+{\n+\tstruct fuse4fs *ff = fuse4fs_get(req);\n+\text2_filsys fs;\n+\terrcode_t err;\n+\tint ret = 0;\n+\n+\tFUSE4FS_CHECK_CONTEXT(req);\n+\tfs = fuse4fs_start(ff);\n+\n+\tif (ff->opstate == F4OP_WRITABLE) {\n+\t\tif (fs->super->s_error_count)\n+\t\t\tfs->super->s_state |= EXT2_ERROR_FS;\n+\t\text2fs_mark_super_dirty(fs);\n+\t\terr = ext2fs_set_gdt_csum(fs);\n+\t\tif (err) {\n+\t\t\tret = translate_error(fs, 0, err);\n+\t\t\tgoto out_unlock;\n+\t\t}\n+\n+\t\terr = ext2fs_flush2(fs, 0);\n+\t\tif (err) {\n+\t\t\tret = translate_error(fs, 0, err);\n+\t\t\tgoto out_unlock;\n+\t\t}\n+\t}\n+\n+out_unlock:\n+\tfuse4fs_finish(ff, ret);\n \tfuse_reply_err(req, -ret);\n }\n #endif\n@@ -7874,6 +7905,7 @@ static struct fuse_lowlevel_ops fs_ops = {\n \t.freezefs = op_freezefs,\n \t.unfreezefs = op_unfreezefs,\n \t.shutdownfs = op_shutdownfs,\n+\t.syncfs = op_syncfs,\n #endif\n #ifdef HAVE_FUSE_IOMAP\n \t.iomap_begin = op_iomap_begin,\ndiff --git a/misc/fuse2fs.c b/misc/fuse2fs.c\nindex e790f6c2b59ecd..026c547618b5cd 100644\n--- a/misc/fuse2fs.c\n+++ b/misc/fuse2fs.c\n@@ -5851,6 +5851,39 @@ static int op_shutdownfs(const char *path, uint64_t flags)\n \n \treturn ioctl_shutdown(ff, NULL, NULL);\n }\n+\n+static int op_syncfs(const char *path)\n+{\n+\tstruct fuse2fs *ff = fuse2fs_get();\n+\text2_filsys fs;\n+\terrcode_t err;\n+\tint ret = 0;\n+\n+\tFUSE2FS_CHECK_CONTEXT(ff);\n+\tdbg_printf(ff, \"%s: path=%s\\n\", __func__, path);\n+\tfs = fuse2fs_start(ff);\n+\n+\tif (ff->opstate == F2OP_WRITABLE) {\n+\t\tif (fs->super->s_error_count)\n+\t\t\tfs->super->s_state |= EXT2_ERROR_FS;\n+\t\text2fs_mark_super_dirty(fs);\n+\t\terr = ext2fs_set_gdt_csum(fs);\n+\t\tif (err) {\n+\t\t\tret = translate_error(fs, 0, err);\n+\t\t\tgoto out_unlock;\n+\t\t}\n+\n+\t\terr = ext2fs_flush2(fs, 0);\n+\t\tif (err) {\n+\t\t\tret = translate_error(fs, 0, err);\n+\t\t\tgoto out_unlock;\n+\t\t}\n+\t}\n+\n+out_unlock:\n+\tfuse2fs_finish(ff, ret);\n+\treturn ret;\n+}\n #endif\n \n #ifdef HAVE_FUSE_IOMAP\n@@ -7140,6 +7173,7 @@ static struct fuse_operations fs_ops = {\n \t.freezefs = op_freezefs,\n \t.unfreezefs = op_unfreezefs,\n \t.shutdownfs = op_shutdownfs,\n+\t.syncfs = op_syncfs,\n #endif\n #ifdef HAVE_FUSE_IOMAP\n \t.iomap_begin = op_iomap_begin,\n",
    "prefixes": [
        "08/10"
    ]
}