11 Star 0 Fork 21

src-anolis-os/liburing

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
1007-test-io_uring_passthrough-cleanup-invalid-submission.patch 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
From 1985fba0acdac7addc3d8abb5db350a2a7648f16 Mon Sep 17 00:00:00 2001
From: Kanchan Joshi <joshi.k@samsung.com>
Date: Tue, 6 Dec 2022 17:48:31 +0530
Subject: [PATCH 3/4] test/io_uring_passthrough: cleanup invalid submission
test
Just do away with setting IOPOLL as this is not necessary for the test.
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Link: https://lore.kernel.org/r/20221206121831.5528-3-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
---
test/io_uring_passthrough.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/io_uring_passthrough.c b/test/io_uring_passthrough.c
index 933c137..292e98d 100644
--- a/test/io_uring_passthrough.c
+++ b/test/io_uring_passthrough.c
@@ -288,8 +288,7 @@ static int test_invalid_passthru_submit(const char *file)
struct io_uring_sqe *sqe;
struct nvme_uring_cmd *cmd;
- ring_flags = IORING_SETUP_IOPOLL | IORING_SETUP_SQE128;
- ring_flags |= IORING_SETUP_CQE32;
+ ring_flags = IORING_SETUP_CQE32 | IORING_SETUP_SQE128;
ret = t_create_ring(1, &ring, ring_flags);
if (ret != T_SETUP_OK) {
--
2.24.4
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-os/liburing.git
git@gitee.com:src-anolis-os/liburing.git
src-anolis-os
liburing
liburing
a8

搜索帮助