Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Open Source
>
Other
>
Operation System
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
458
Star
1.7K
Fork
1.9K
GVP
openEuler
/
kernel
Closed
Code
Issues
1271
Pull Requests
991
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
[openEuler 20-03/SP1] 版本内核,放开btrfs相关配置后,执行ltp测试失败
Done
#I39MZM
Bug
wei dong
Opened this issue
2021-03-02 15:39
### 【标题描述】20.03-sp1 版本内核,放开btrfs相关配置后,执行ltp测试失败 ### 【环境信息】 ##### 硬件信息: kvm vm ##### 软件信息: ``` [root@localhost ltp]# cat /etc/os-release NAME="openEuler" VERSION="20.03 (LTS-SP1)" ID="openEuler" VERSION_ID="20.03" PRETTY_NAME="openEuler 20.03 (LTS-SP1)" ANSI_COLOR="0;31" [root@localhost ltp]# uname -m aarch64 [root@localhost ltp]# uname -r 4.19.90-2012.5.0.0054.oe1.aarch64 ``` 【问题复现步骤】 1. 修改kernel 配置 ``` --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -5142,7 +5142,8 @@ CONFIG_XFS_POSIX_ACL=y # CONFIG_XFS_DEBUG is not set # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set -# CONFIG_BTRFS_FS is not set +CONFIG_BTRFS_FS=y +CONFIG_BTRFS_FS_POSIX_ACL=y --- a/arch/x86/configs/openeuler_defconfig +++ b/arch/x86/configs/openeuler_defconfig @@ -6618,7 +6618,8 @@ CONFIG_XFS_POSIX_ACL=y CONFIG_GFS2_FS=m CONFIG_GFS2_FS_LOCKING_DLM=y # CONFIG_OCFS2_FS is not set -# CONFIG_BTRFS_FS is not set +CONFIG_BTRFS_FS=y +CONFIG_BTRFS_FS_POSIX_ACL=y ``` 2.重新编译内核 3. 执行ltp测试,测试命令为 `./runltp -f syscalls -s fallocate06` 【预期结果】 无失败项 【实际结果】 ``` tst_test.c:1329: TINFO: Testing on btrfs tst_test.c:859: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts='' tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s fallocate06.c:117: TINFO: Copy-on-write is supported fallocate06.c:168: TINFO: Case 1. Fill FS: no; Use copy on write: no fallocate06.c:157: TPASS: write() successful fallocate06.c:201: TPASS: Misaligned allocation works as expected fallocate06.c:157: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) successful fallocate06.c:237: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) cleared the correct file range fallocate06.c:168: TINFO: Case 2. Fill FS: yes; Use copy on write: no tst_fill_fs.c:32: TINFO: Creating file mntpoint/file0 size 21710183 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file1 size 8070086 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file2 size 3971177 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file3 size 36915315 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file4 size 70310993 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file5 size 4807935 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file6 size 90739786 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file7 size 76896492 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file8 size 72228649 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file9 size 36207821 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file10 size 81483962 tst_fill_fs.c:59: TINFO: write(): ENOSPC (28) fallocate06.c:157: TPASS: write() successful fallocate06.c:201: TPASS: Misaligned allocation works as expected fallocate06.c:146: TFAIL: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) failed unexpectedly: ENOSPC (28) fallocate06.c:168: TINFO: Case 3. Fill FS: no; Use copy on write: yes fallocate06.c:157: TPASS: write() successful ``` 存在fallocate06.c:146: TFAIL: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) failed unexpectedly: ENOSPC (28) 失败项 【附件信息】
### 【标题描述】20.03-sp1 版本内核,放开btrfs相关配置后,执行ltp测试失败 ### 【环境信息】 ##### 硬件信息: kvm vm ##### 软件信息: ``` [root@localhost ltp]# cat /etc/os-release NAME="openEuler" VERSION="20.03 (LTS-SP1)" ID="openEuler" VERSION_ID="20.03" PRETTY_NAME="openEuler 20.03 (LTS-SP1)" ANSI_COLOR="0;31" [root@localhost ltp]# uname -m aarch64 [root@localhost ltp]# uname -r 4.19.90-2012.5.0.0054.oe1.aarch64 ``` 【问题复现步骤】 1. 修改kernel 配置 ``` --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -5142,7 +5142,8 @@ CONFIG_XFS_POSIX_ACL=y # CONFIG_XFS_DEBUG is not set # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set -# CONFIG_BTRFS_FS is not set +CONFIG_BTRFS_FS=y +CONFIG_BTRFS_FS_POSIX_ACL=y --- a/arch/x86/configs/openeuler_defconfig +++ b/arch/x86/configs/openeuler_defconfig @@ -6618,7 +6618,8 @@ CONFIG_XFS_POSIX_ACL=y CONFIG_GFS2_FS=m CONFIG_GFS2_FS_LOCKING_DLM=y # CONFIG_OCFS2_FS is not set -# CONFIG_BTRFS_FS is not set +CONFIG_BTRFS_FS=y +CONFIG_BTRFS_FS_POSIX_ACL=y ``` 2.重新编译内核 3. 执行ltp测试,测试命令为 `./runltp -f syscalls -s fallocate06` 【预期结果】 无失败项 【实际结果】 ``` tst_test.c:1329: TINFO: Testing on btrfs tst_test.c:859: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts='' tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s fallocate06.c:117: TINFO: Copy-on-write is supported fallocate06.c:168: TINFO: Case 1. Fill FS: no; Use copy on write: no fallocate06.c:157: TPASS: write() successful fallocate06.c:201: TPASS: Misaligned allocation works as expected fallocate06.c:157: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) successful fallocate06.c:237: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) cleared the correct file range fallocate06.c:168: TINFO: Case 2. Fill FS: yes; Use copy on write: no tst_fill_fs.c:32: TINFO: Creating file mntpoint/file0 size 21710183 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file1 size 8070086 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file2 size 3971177 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file3 size 36915315 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file4 size 70310993 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file5 size 4807935 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file6 size 90739786 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file7 size 76896492 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file8 size 72228649 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file9 size 36207821 tst_fill_fs.c:32: TINFO: Creating file mntpoint/file10 size 81483962 tst_fill_fs.c:59: TINFO: write(): ENOSPC (28) fallocate06.c:157: TPASS: write() successful fallocate06.c:201: TPASS: Misaligned allocation works as expected fallocate06.c:146: TFAIL: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) failed unexpectedly: ENOSPC (28) fallocate06.c:168: TINFO: Case 3. Fill FS: no; Use copy on write: yes fallocate06.c:157: TPASS: write() successful ``` 存在fallocate06.c:146: TFAIL: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) failed unexpectedly: ENOSPC (28) 失败项 【附件信息】
Comments (
14
)
Sign in
to comment
Status
Done
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
Labels
Not set
Projects
Unprojected
Unprojected
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(5)
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register