Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2225223/?format=api
{ "id": 2225223, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2225223/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260420163433.44646-1-mdoucha@suse.cz/", "project": { "id": 59, "url": "http://patchwork.ozlabs.org/api/1.1/projects/59/?format=api", "name": "Linux Test Project development", "link_name": "ltp", "list_id": "ltp.lists.linux.it", "list_email": "ltp@lists.linux.it", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260420163433.44646-1-mdoucha@suse.cz>", "date": "2026-04-20T16:34:09", "name": "lapi/io_uring: Add IORING_OP_READ/WRITE constants", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "8878755f2a01b7be766df5a199454ad4e9d16cd5", "submitter": { "id": 77472, "url": "http://patchwork.ozlabs.org/api/1.1/people/77472/?format=api", "name": "Martin Doucha", "email": "mdoucha@suse.cz" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260420163433.44646-1-mdoucha@suse.cz/mbox/", "series": [ { "id": 500633, "url": "http://patchwork.ozlabs.org/api/1.1/series/500633/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=500633", "date": "2026-04-20T16:34:09", "name": "lapi/io_uring: Add IORING_OP_READ/WRITE constants", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500633/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2225223/comments/", "check": "warning", "checks": "http://patchwork.ozlabs.org/api/patches/2225223/checks/", "tags": {}, "headers": { "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "ltp@lists.linux.it" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "ltp@picard.linux.it" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=xkn2/2as;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=hb/F6vH8;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=xkn2/2as;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=hb/F6vH8;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)", "smtp-out1.suse.de;\n\tnone" ], "Received": [ "from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzrgD2TlCz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 02:34:45 +1000 (AEST)", "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id DA22B3E5856\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 18:34:42 +0200 (CEST)", "from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::2])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id BEDE23E2603\n for <ltp@lists.linux.it>; Mon, 20 Apr 2026 18:34:39 +0200 (CEST)", "from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 0EDBC600435\n for <ltp@lists.linux.it>; Mon, 20 Apr 2026 18:34:38 +0200 (CEST)", "from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out1.suse.de (Postfix) with ESMTPS id 45CAC6A7DF;\n Mon, 20 Apr 2026 16:34:38 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 27E08593AE;\n Mon, 20 Apr 2026 16:34:38 +0000 (UTC)", "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id rlCHCZ5V5mkIZAAAD6G6ig\n (envelope-from <mdoucha@suse.cz>); Mon, 20 Apr 2026 16:34:38 +0000" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1776702878; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=rE1qYDVpkYFmab/OlipsxcqazD1xlEaIYBJniVGDH3Y=;\n b=xkn2/2asJTWoy4+PvE0VoAzWLQNLgVCCKSQzFvOBYo0tZzszRRgnfKY1+Pxh/0DZCKPV7Q\n G1yxen3AIrgMB68Id/zmEwvMJA/tbUyvSBJ+b9Jv7xJUrFrthL+bl2ODhaNwARx6GNMnsd\n YzsR7Vizov4ArZFGOe+P6+rxMeSgA2s=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1776702878;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=rE1qYDVpkYFmab/OlipsxcqazD1xlEaIYBJniVGDH3Y=;\n b=hb/F6vH8OzxC1tCWJ3Mtf1VWjWzOe76MwW2A+7RMNTotdzIMVJflA45ZjIjmghCGKuyJUs\n U/AnBbgr6Z+R7BAw==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1776702878; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=rE1qYDVpkYFmab/OlipsxcqazD1xlEaIYBJniVGDH3Y=;\n b=xkn2/2asJTWoy4+PvE0VoAzWLQNLgVCCKSQzFvOBYo0tZzszRRgnfKY1+Pxh/0DZCKPV7Q\n G1yxen3AIrgMB68Id/zmEwvMJA/tbUyvSBJ+b9Jv7xJUrFrthL+bl2ODhaNwARx6GNMnsd\n YzsR7Vizov4ArZFGOe+P6+rxMeSgA2s=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1776702878;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=rE1qYDVpkYFmab/OlipsxcqazD1xlEaIYBJniVGDH3Y=;\n b=hb/F6vH8OzxC1tCWJ3Mtf1VWjWzOe76MwW2A+7RMNTotdzIMVJflA45ZjIjmghCGKuyJUs\n U/AnBbgr6Z+R7BAw==" ], "From": "Martin Doucha <mdoucha@suse.cz>", "To": "Sachin Sant <sachinp@linux.ibm.com>,\n\tltp@lists.linux.it", "Date": "Mon, 20 Apr 2026 18:34:09 +0200", "Message-ID": "<20260420163433.44646-1-mdoucha@suse.cz>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "X-Spamd-Result": "default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[];\n R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000];\n MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[];\n FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+];\n DBL_BLOCKED_OPENRESOLVER(0.00)[configure.ac:url,suse.cz:mid,suse.cz:email,imap1.dmz-prg2.suse.org:helo];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; RCPT_COUNT_TWO(0.00)[2];\n RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]", "X-Spam-Score": "-2.80", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,SPF_HELO_NONE,SPF_PASS\n shortcircuit=no autolearn=disabled version=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-2.smtp.seeweb.it", "X-Virus-Scanned": "clamav-milter 1.0.9 at in-2.smtp.seeweb.it", "X-Virus-Status": "Clean", "Subject": "[LTP] [PATCH] lapi/io_uring: Add IORING_OP_READ/WRITE constants", "X-BeenThere": "ltp@lists.linux.it", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Linux Test Project <ltp.lists.linux.it>", "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>", "List-Archive": "<http://lists.linux.it/pipermail/ltp/>", "List-Post": "<mailto:ltp@lists.linux.it>", "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>", "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it", "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>" }, "content": "Add fallback definitions for IORING_OP_READ and IORING_OP_WRITE.\nThese constants have been added in kernel v5.6 and older systems may\nlack them, which results in LTP build failures.\n\nFixes: fcc4887e73 (\"io_uring: Test IORING READ and WRITE operations\")\nSigned-off-by: Martin Doucha <mdoucha@suse.cz>\n---\n configure.ac | 2 ++\n include/lapi/io_uring.h | 10 ++++++++++\n 2 files changed, 12 insertions(+)", "diff": "diff --git a/configure.ac b/configure.ac\nindex 812f17d8b..4b789bfe3 100644\n--- a/configure.ac\n+++ b/configure.ac\n@@ -46,6 +46,8 @@ AC_CHECK_DECLS([MADV_MERGEABLE],,,[#include <sys/mman.h>])\n AC_CHECK_DECLS([NFTA_CHAIN_ID, NFTA_VERDICT_CHAIN_ID],,,[#include <linux/netfilter/nf_tables.h>])\n AC_CHECK_DECLS([PR_CAPBSET_DROP, PR_CAPBSET_READ],,,[#include <sys/prctl.h>])\n AC_CHECK_DECLS([SEM_STAT_ANY],,,[#include <sys/sem.h>])\n+AC_CHECK_DECLS([IORING_OP_READ],,,[#include <linux/io_uring.h>])\n+AC_CHECK_DECLS([IORING_OP_WRITE],,,[#include <linux/io_uring.h>])\n \n AC_CHECK_HEADERS_ONCE([ \\\n aio.h \\\ndiff --git a/include/lapi/io_uring.h b/include/lapi/io_uring.h\nindex c05517595..46168363d 100644\n--- a/include/lapi/io_uring.h\n+++ b/include/lapi/io_uring.h\n@@ -253,6 +253,16 @@ struct io_uring_probe {\n \tstruct io_uring_probe_op ops[0];\n };\n \n+#else /* IOSQE_FIXED_FILE */\n+\n+#ifndef HAVE_IORING_OP_READ\n+#define IORING_OP_READ 22\n+#endif\n+\n+#ifndef HAVE_IORING_OP_WRITE\n+#define IORING_OP_WRITE 23\n+#endif\n+\n #endif /* IOSQE_FIXED_FILE */\n \n #ifndef IOSQE_IO_HADRLINK\n", "prefixes": [] }