get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194211,
    "url": "http://patchwork.ozlabs.org/api/patches/2194211/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260207120901.17222-7-hibriansong@gmail.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260207120901.17222-7-hibriansong@gmail.com>",
    "list_archive_url": null,
    "date": "2026-02-07T12:09:00",
    "name": "[v4,6/7] fuse: add 'io-uring' option",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "adf5f71c0226e8c27221b701925bca35a55afeed",
    "submitter": {
        "id": 90672,
        "url": "http://patchwork.ozlabs.org/api/people/90672/?format=api",
        "name": "Brian Song",
        "email": "hibriansong@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260207120901.17222-7-hibriansong@gmail.com/mbox/",
    "series": [
        {
            "id": 491376,
            "url": "http://patchwork.ozlabs.org/api/series/491376/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=491376",
            "date": "2026-02-07T12:08:56",
            "name": "add fuse-over-io_uring support",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/491376/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194211/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194211/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=O6yL/A9C;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f7VCw03kTz1xvj\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 07 Feb 2026 23:10:52 +1100 (AEDT)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1voh8n-0007GH-LH; Sat, 07 Feb 2026 07:10:21 -0500",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <hibriansong@gmail.com>)\n id 1voh8i-0007Fa-NM\n for qemu-devel@nongnu.org; Sat, 07 Feb 2026 07:10:17 -0500",
            "from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <hibriansong@gmail.com>)\n id 1voh8g-000387-PU\n for qemu-devel@nongnu.org; Sat, 07 Feb 2026 07:10:16 -0500",
            "by mail-pj1-x1033.google.com with SMTP id\n 98e67ed59e1d1-35621aa8c7fso132187a91.2\n for <qemu-devel@nongnu.org>; Sat, 07 Feb 2026 04:10:13 -0800 (PST)",
            "from brian.. (n058152022104.netvigator.com. [58.152.22.104])\n by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-354b30f899csm2178530a91.3.2026.02.07.04.10.07\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 07 Feb 2026 04:10:12 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1770466213; x=1771071013; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=yRvq4zI7MIK6rCqCt35/LJLjg5NnaBCJ0/CBYvfVPw8=;\n b=O6yL/A9C80lt4wDTjHRHZ8sOiHWXKCmm02XLO57mhcYwDqlmz/JPOwiJ0SXf7Qi2gF\n /7siuQZEh/duC7j5Gh9swRf7qfcClam8nU6oRQrN4eC5dlCVDJL9451SdmdZHzVJywhL\n faxbO2vWbqdpf/lkhi03QVyzaV7Gh2BmvQWgQoPxII7jt2ZOSifOJBfC8Hv7ecxpOaVZ\n Ds/hMKYJyHLaZBFf855aCyAswhiyywUfQR3Ci5ns9Nd2s2B5mqDX1oBE/fGH4NCL6Kq6\n Ky31r3jMjoiZsPCwbrE67tGrnf65YA6hMbvH8D82RHJJo2DMyZLQMnardvZvQdjwZtQ+\n UQ+w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770466213; x=1771071013;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=yRvq4zI7MIK6rCqCt35/LJLjg5NnaBCJ0/CBYvfVPw8=;\n b=reRhcDEEcoQEVKBbQU79tAz9oqE1BfUPfziHyilWwBWzWeQUptblrqdcGgABKeEhT1\n GW/BHdGpII9/43nUsvrSSK09ycCSfNkoKfaRZuPLiwUszCWwGyGZh56BshArcTD/ahxF\n /M4POsU9C7G49eYNgQnzRo0h0UVaKv0jvYBnUJmegIl2Mal419ufhEE3dIBj4TDSiA4e\n AIHFWIoL9ngdfEnrpG8Z4MXylPMvIgD6lbLrCTpYs9wlDP08qHt+zxSq8HTOVKx+Y64z\n Lv/6PeQ822MhAe2pihZZuflHI0P/MMX2CHHjYAhnFXlRVQLm5HagZ1/F+aQ6YLi96t96\n WJfg==",
        "X-Gm-Message-State": "AOJu0Ywt/LHvtkvrTTA6rS2i00WmWb0atzIVpHkk4X0tvO0GMhqCHAhO\n Ih4bnFp7f84h3NhmYH4VE/l0EZVsYvE1vwSqq0JuZ8AHwMJ/tNVDRGaG",
        "X-Gm-Gg": "AZuq6aKFtLnw3/h4qdxPUBuCb//UZa0leR/qIj30yTW+zE8rCPBYm9pxJPRVP1gSnCF\n BBxZ6hbW3wxm839VYAMfvflXA6GZK6tBACbb2WsHKOtrVaHI22/lGgza37fNhiuVeM7XwPpkqUF\n cuJcQOJwkPP7IPviAyuOYfivCBzYNo7Wo3AB/0dG1bnZBNcwgeoqrVUDJUUedG3qcez0Tg831ZS\n 1t2EqLXTxS2OQ5J8f0nmofStNYUVYESl/Eowe8h4/Jb4Y1EVcF0KL0JVURFtTCDwzkC0XGVxSJg\n hPVQLnxmbxBAkDZH5YD59QumpgubuBwIpbow6MQ/tuE+26q5lTiB0Oaq13Znlj13lwDw/vcd2q+\n f5pjcbk78+5lTAoTV1zxM81ajQnC/ZGi9Anbio47QSSyGWD3dfX1cReTXJWgWaPnHEql28gUrHV\n x2E+gjCmoI62uBw5MX1TXKxD1/A1dBRM9o/Tzi",
        "X-Received": "by 2002:a17:90b:3945:b0:356:1edc:b64 with SMTP id\n 98e67ed59e1d1-3561edc1183mr1148725a91.8.1770466212791;\n Sat, 07 Feb 2026 04:10:12 -0800 (PST)",
        "From": "Brian Song <hibriansong@gmail.com>",
        "To": "qemu-block@nongnu.org",
        "Cc": "qemu-devel@nongnu.org, hibriansong@gmail.com, hreitz@redhat.com,\n kwolf@redhat.com, eblake@redhat.com, armbru@redhat.com,\n stefanha@redhat.com, fam@euphon.net, bernd@bsbernd.com",
        "Subject": "[Patch v4 6/7] fuse: add 'io-uring' option",
        "Date": "Sat,  7 Feb 2026 20:09:00 +0800",
        "Message-ID": "<20260207120901.17222-7-hibriansong@gmail.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260207120901.17222-1-hibriansong@gmail.com>",
        "References": "<20260207120901.17222-1-hibriansong@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2607:f8b0:4864:20::1033;\n envelope-from=hibriansong@gmail.com; helo=mail-pj1-x1033.google.com",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "This patch adds a new storage export option for storage-export-daemon\nto enable FUSE-over-io_uring via 'io-uring=on|off' (default: off).\n\nThe initialization phase performs a protocol handshake via the legacy\n/dev/fuse interface before transitioning to the io_uring mode.\nIf multiple IOThreads are configured, the export distributes the uring\nqueues to handle requests concurrently.\n\nSuggested-by: Kevin Wolf <kwolf@redhat.com>\nSuggested-by: Stefan Hajnoczi <stefanha@redhat.com>\nSigned-off-by: Brian Song <hibriansong@gmail.com>\n---\n block/export/fuse.c                  | 3 +--\n docs/tools/qemu-storage-daemon.rst   | 7 +++++--\n qapi/block-export.json               | 5 ++++-\n storage-daemon/qemu-storage-daemon.c | 1 +\n 4 files changed, 11 insertions(+), 5 deletions(-)\n\n--\n2.43.0",
    "diff": "diff --git a/block/export/fuse.c b/block/export/fuse.c\nindex abae83041b..09642ccf5a 100644\n--- a/block/export/fuse.c\n+++ b/block/export/fuse.c\n@@ -587,8 +587,7 @@ static int fuse_export_create(BlockExport *blk_exp,\n     assert(blk_exp_args->type == BLOCK_EXPORT_TYPE_FUSE);\n\n #ifdef CONFIG_LINUX_IO_URING\n-    /* TODO Add FUSE-over-io_uring Option */\n-    exp->is_uring = false;\n+    exp->is_uring = args->io_uring;\n     exp->uring_queue_depth = FUSE_DEFAULT_URING_QUEUE_DEPTH;\n #else\n     if (args->io_uring) {\ndiff --git a/docs/tools/qemu-storage-daemon.rst b/docs/tools/qemu-storage-daemon.rst\nindex 35ab2d7807..ad0f41a78f 100644\n--- a/docs/tools/qemu-storage-daemon.rst\n+++ b/docs/tools/qemu-storage-daemon.rst\n@@ -78,7 +78,7 @@ Standard options:\n .. option:: --export [type=]nbd,id=<id>,node-name=<node-name>[,name=<export-name>][,writable=on|off][,bitmap=<name>]\n   --export [type=]vhost-user-blk,id=<id>,node-name=<node-name>,addr.type=unix,addr.path=<socket-path>[,writable=on|off][,logical-block-size=<block-size>][,num-queues=<num-queues>]\n   --export [type=]vhost-user-blk,id=<id>,node-name=<node-name>,addr.type=fd,addr.str=<fd>[,writable=on|off][,logical-block-size=<block-size>][,num-queues=<num-queues>]\n-  --export [type=]fuse,id=<id>,node-name=<node-name>,mountpoint=<file>[,growable=on|off][,writable=on|off][,allow-other=on|off|auto]\n+  --export [type=]fuse,id=<id>,node-name=<node-name>,mountpoint=<file>[,growable=on|off][,writable=on|off][,allow-other=on|off|auto][,io-uring=on|off]\n   --export [type=]vduse-blk,id=<id>,node-name=<node-name>,name=<vduse-name>[,writable=on|off][,num-queues=<num-queues>][,queue-size=<queue-size>][,logical-block-size=<block-size>][,serial=<serial-number>]\n\n   is a block export definition. ``node-name`` is the block node that should be\n@@ -111,7 +111,10 @@ Standard options:\n   that enabling this option as a non-root user requires enabling the\n   user_allow_other option in the global fuse.conf configuration file.  Setting\n   ``allow-other`` to auto (the default) will try enabling this option, and on\n-  error fall back to disabling it.\n+  error fall back to disabling it. Once ``io-uring`` is enabled (off by default),\n+  the FUSE-over-io_uring-related settings will be initialized to bypass the\n+  traditional /dev/fuse communication mechanism and instead use io_uring to\n+  handle FUSE operations.\n\n   The ``vduse-blk`` export type takes a ``name`` (must be unique across the host)\n   to create the VDUSE device.\ndiff --git a/qapi/block-export.json b/qapi/block-export.json\nindex 9ae703ad01..37f2fc47e2 100644\n--- a/qapi/block-export.json\n+++ b/qapi/block-export.json\n@@ -184,12 +184,15 @@\n #     mount the export with allow_other, and if that fails, try again\n #     without.  (since 6.1; default: auto)\n #\n+# @io-uring: Use FUSE-over-io-uring.  (since 10.2; default: false)\n+#\n # Since: 6.0\n ##\n { 'struct': 'BlockExportOptionsFuse',\n   'data': { 'mountpoint': 'str',\n             '*growable': 'bool',\n-            '*allow-other': 'FuseExportAllowOther' },\n+            '*allow-other': 'FuseExportAllowOther',\n+            '*io-uring': 'bool' },\n   'if': 'CONFIG_FUSE' }\n\n ##\ndiff --git a/storage-daemon/qemu-storage-daemon.c b/storage-daemon/qemu-storage-daemon.c\nindex eb72561358..0cd4cd2b58 100644\n--- a/storage-daemon/qemu-storage-daemon.c\n+++ b/storage-daemon/qemu-storage-daemon.c\n@@ -107,6 +107,7 @@ static void help(void)\n #ifdef CONFIG_FUSE\n \"  --export [type=]fuse,id=<id>,node-name=<node-name>,mountpoint=<file>\\n\"\n \"           [,growable=on|off][,writable=on|off][,allow-other=on|off|auto]\\n\"\n+\"           [,io-uring=on|off]\"\n \"                         export the specified block node over FUSE\\n\"\n \"\\n\"\n #endif /* CONFIG_FUSE */\n",
    "prefixes": [
        "v4",
        "6/7"
    ]
}