402 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

【OLK-6.6】block: reserve kabi space for general block layer structures

已完成
任务
创建于  
2024-01-30 14:24

预留大小

| struture                      | size         | reserves |
| ----------------------------- | ------------ | -------- |
| bio_integrity_payload         | 96           | 4        |
| bio_set                       | 488          | 3        |
| blk_integrity_profile         | 40           | 3        |
| request                       | dynamic      | 8        |
| blk_mq_hw_ctx                 | 480 + 16对齐 | 2        |
| blk_mq_tag_set                | 168          | 11       |
| blk_mq_queue_data             | 16           | 2        |
| blk_mq_ops                    | 144          | 6        |
| blk_mq_tags                   | 184          | 9        |
| block_device                  | 1000          | 10       |
| bio                           | dynamic      | 8        |
| blk_integrity                 | 16           | 2        |
| gendisk                       | 872          | 11       |
| queue_limits                  | 120          | 8        |
| blk_independent_access_range  | 80           | 2        |
| blk_independent_access_ranges | 72           | 3        |
| request_queue                 | 936          | 8        |
| blk_plug                      | 40           | 3        |
| block_device_operations       | 144          | 6        |
| blk_holder_ops                | 16           | 6        |
| io_comp_batch                 | 24           | 1        |

编译验证

[yukuai@localhost OLK-6.6]$ make bzImage -j32
DESCEND objtool
CALL scripts/checksyscalls.sh
INSTALL libsubcmd_headers
MODPOST vmlinux.symvers
Kernel: arch/x86/boot/bzImage is ready (#77)

内核启动验证

Fedora 34 (Thirty Four)
Kernel 6.6.0-03061-ga72f6d5ac883 on an x86_64 (ttyS0)

Activate the web console with: systemctl enable --now cockpit.socket

fedora login:

测试验证,blktests测试套

[root@fedora ~]# /root/simple_test/stest.sh /root/simple_test/blktests.sh

Run "/root/simple_test/blktests.sh -d /dev/sda -g block"
Start Time Stamp: 2024-02-07 07:57:21
Finish Time Stamp: 2024-02-07 08:04:16
simple-test succeeded

评论 (1)

Yu Kuai 创建了任务

Hi hailan94, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

openeuler-ci-bot 添加了
 
sig/Kernel
标签
Yu Kuai 修改了描述
Yu Kuai 修改了描述
zhengzengkai 关联分支设置为OLK-6.6
Yu Kuai 修改了描述
Yu Kuai 修改了描述
Yu Kuai 修改了描述
Yu Kuai 修改了描述
Yu Kuai 修改了描述
ci-robot 通过openeuler/kernel Pull Request !4560任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助