登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
Gitee 2025年度开源项目评选启动,快来选出你心中的最佳开源项目!
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
11
Star
0
Fork
21
src-anolis-os
/
liburing
代码
Issues
1
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
6
upgrade to 2.3 and add anolis liburing features
已合并
taijuanZZY:a23
src-anolis-os:a23
taijuanZZY
创建于 2022-12-01 14:47
克隆/下载
HTTPS
SSH
复制
下载 Email Patch
下载 Diff 文件
由于liburing可以自主检查内核支持的特性,使用高版本的liburing+低版本的内核问题不大。我希望能够一步到位,采用最新的2.3版本。同时我把龙蜥社区在liburing( https://gitee.com/anolis/liburing )的自研特性移植过来了,方便使用。 已经自验证升级/降级成功。liburing构建依赖gcc和make,正确。liburing没有运行依赖。功能性验证:liburing自带test,测试人员平时会从这个仓库下载代码运行用例并上报bugzilla(例如: https://bugzilla.openanolis.cn/show_bug.cgi?id=3346 ),因此不需要再额外集成测试用例。 2.1-2.3功能变化见changelog: - Support non-libc build for aarch64. - Add io_uring_{enter,enter2,register,setup} syscall functions. - Add sync cancel interface, io_uring_register_sync_cancel(). - Fix return value of io_uring_submit_and_wait_timeout() to match the man page. - Improvements to the regression tests - Add support and test case for passthrough IO - Add recv and recvmsg multishot helpers and support - Add documentation and support for IORING_SETUP_DEFER_TASKRUN - Fix potential missing kernel entry with IORING_SETUP_IOPOLL - Add support and documentation for zero-copy network transmit - Various optimizations - Many cleanups - Many man page additions and updates liburing-2.2 release - Support non-libc builds. - Optimized syscall handling for x86-64/x86/aarch64. - Enable non-lib function calls for fast path functions. - Add support for multishot accept. - io_uring_register_files() will set RLIMIT_NOFILE if necessary. - Add support for registered ring fds, io_uring_register_ring_fd(), reducing the overhead of an io_uring_enter() system call. - Add support for the message ring opcode. - Add support for newer request cancelation features. - Add support for IORING_SETUP_COOP_TASKRUN, which can help reduce the overhead of io_uring in general. Most applications should set this flag, see the io_uring_setup.2 man page for details. - Add support for registering a sparse buffer and file set. - Add support for a new buffer provide scheme, see io_uring_register_buf_ring.3 for details. - Add io_uring_submit_and_wait_timeout() for submitting IO and waiting for completions with a timeout. - Add io_uring_prep_{read,write}v2 prep helpers. - Add io_uring_prep_close_direct() helper. - Add support for SQE128 and CQE32, which are doubly sized SQE and CQE rings. This is needed for some cases of the new IORING_OP_URING_CMD, notably for NVMe passthrough. - ~5500 lines of man page additions, including adding ~90 new man pages. - Synced with the 5.19 kernel release, supporting all the features of 5.19 and earlier. - 24 new regression test cases, and ~7000 lines of new tests in general. - General optimizations and fixes. 此外还包括如下自研特性: - IORING_SETUP_SQPOLL_PERCPU. Add a new IORING_SETUP_SQPOLL_PERCPU flag, this flag is only meaningful when IORING_SETUP_SQPOLL and IORING_SETUP_SQ_AFF are both specified, that means if user creates multiple io_uring instances which are all bound to one same cpu, only a kernel thread is created for this cpu to perform these io_uring instances' submission queue polling. - add flag IORING_SETUP_IDLE_US to support microsecond granularity io_sq_thread_idle. - add IORING_ENTER_SQ_SUBMIT_ON_IDLE flag to allow the original task to submit some sqes to reduce sqthread wakeup latency.
此 Pull Request 需要通过一些审核项
类型
指派人员
状态
审查
Meredith
josephhz
happy_orange
已完成
(0/0人)
怎样手动合并此 Pull Request
git checkout a23
git pull https://gitee.com/taijuanZZY/spec_liburing.git a23
git push origin a23
评论
15
提交
1
文件
7
检查
代码问题
0
批量操作
展开设置
折叠设置
审查
Code Owner
审查人员
Hao Xu
hao-xu2
gongwen2021
gongwen2021
happy_orange
happy_orange
taijuanZZY
taijuanZZY
geliwei
geliwei
casparant
casparant
ZhouWeitao
yunqi-zwt
jiangbo.jacob
jiangbojacob
Meredith
yueeranna
forrest_ly
forrest_ly
josephhz
josephhz
未设置
最少人数
0
测试
Hao Xu
hao-xu2
gongwen2021
gongwen2021
happy_orange
happy_orange
taijuanZZY
taijuanZZY
geliwei
geliwei
casparant
casparant
ZhouWeitao
yunqi-zwt
jiangbo.jacob
jiangbojacob
Meredith
yueeranna
forrest_ly
forrest_ly
josephhz
josephhz
未设置
最少人数
0
优先级
不指定
严重
主要
次要
不重要
标签
anolis_cla_pass
anolis_test_fail
关联 Issue
未关联
Pull Request 合并后将关闭上述关联 Issue
里程碑
未关联里程碑
参与者
(2)
1
https://gitee.com/src-anolis-os/liburing.git
git@gitee.com:src-anolis-os/liburing.git
src-anolis-os
liburing
liburing
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册