401 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

ext4: Fix warning in ext4_da_release_space

已完成
任务
创建于  
2022-05-21 14:27

EXT4-fs (loop0): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
------------[ cut here ]------------
EXT4-fs (loop0): This should not happen!! Data will be lost
WARNING: CPU: 1 PID: 13378 at fs/ext4/inode.c:1509 ext4_da_release_space+0x17a/0x220 fs/ext4/inode.c:1505
Modules linked in:
CPU: 1 PID: 13378 Comm: syz-executor399 Not tainted 5.10.0+ #4
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RIP: 0010:ext4_da_release_space+0x17a/0x220 fs/ext4/inode.c:1505
Code: ff 4d 8b 45 40 4c 89 ff 48 c7 c6 33 7a d8 b6 ba e4 05 00 00 48 c7 c1 c0 d1 8d b6 41 89 e9 31 c0 53 e8 9a f3 06 00 48 83 c4 08 <0f> 0b 4c 89 e7 e8 9c 4f e3 ff 41 8b ad b0 02 00 00 e9 00 ff ff ff
RSP: 0018:ffff88810f05f720 EFLAGS: 00010292
RAX: 7eb6c3d025418b00 RBX: 0000000000000000 RCX: 7eb6c3d025418b00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffffb498c2e0 R09: ffffed1021e0be88
R10: ffffed1021e0be88 R11: 1ffff11021e0be87 R12: ffff888117205868
R13: ffff8881172055b8 R14: ffff8881149b7000 R15: ffff888100eed000
FS: 00007f7810522700(0000) GS:ffff88811b280000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffda3934de0 CR3: 00000001182e8001 CR4: 00000000003706e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ext4_es_remove_extent+0x107/0x1d0 fs/ext4/extents_status.c:1462
mpage_release_unused_pages+0xc9/0x400 fs/ext4/inode.c:1564
ext4_writepages+0xc58/0x2110 fs/ext4/inode.c:2823
do_writepages+0x80/0x160 mm/page-writeback.c:2347
__filemap_fdatawrite_range mm/filemap.c:422 [inline]
file_write_and_wait_range+0x1d2/0x260 mm/filemap.c:761
ext4_sync_file+0x113/0x6b0 fs/ext4/fsync.c:151
generic_write_sync include/linux/fs.h:2747 [inline]
ext4_buffered_write_iter+0x381/0x3d0 fs/ext4/file.c:278
ext4_file_write_iter+0x30a/0x11c0 fs/ext4/file.c:520
do_iter_readv_writev+0x339/0x3c0 fs/read_write.c:732
do_iter_write+0x107/0x430 fs/read_write.c:861
vfs_writev fs/read_write.c:934 [inline]
do_pwritev+0x1e5/0x380 fs/read_write.c:1031
do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x44b949
Code: 0d c5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db c4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f7810521db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000128
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000044b949
RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00000000006ded88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006ded80
R13: 00007ffe58e9a65f R14: 00007f78105229c0 R15: 431bde82d7b634db
---[ end trace 9544bb16bd9ec6fc ]---
EXT4-fs (loop2): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop2): This should not happen!! Data will be lost

EXT4-fs error (device loop3): ext4_mb_generate_buddy:805: group 0, block bitmap and bg descriptor inconsistent: 25 vs 31513 free clusters
EXT4-fs (loop3): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop3): This should not happen!! Data will be lost

EXT4-fs (loop3): Total free blocks count 0
EXT4-fs (loop3): Free/Dirty block details
EXT4-fs (loop3): free_blocks=503808
EXT4-fs (loop3): dirty_blocks=16
EXT4-fs (loop3): Block reservation details
EXT4-fs (loop3): i_reserved_data_blocks=1
EXT4-fs error (device loop2): ext4_mb_generate_buddy:805: group 0, block bitmap and bg descriptor inconsistent: 25 vs 31513 free clusters
EXT4-fs (loop3): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop2): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop3): This should not happen!! Data will be lost

EXT4-fs (loop2): This should not happen!! Data will be lost

EXT4-fs (loop2): Total free blocks count 0
EXT4-fs (loop2): Free/Dirty block details
EXT4-fs (loop2): free_blocks=503808
EXT4-fs (loop2): dirty_blocks=16
EXT4-fs (loop2): Block reservation details
EXT4-fs (loop2): i_reserved_data_blocks=1
EXT4-fs (loop2): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs error (device loop0): ext4_mb_generate_buddy:805: group 0, block bitmap and bg descriptor inconsistent: 25 vs 31513 free clusters
EXT4-fs (loop2): This should not happen!! Data will be lost

EXT4-fs (loop0): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop0): This should not happen!! Data will be lost

EXT4-fs (loop0): Total free blocks count 0
EXT4-fs (loop0): Free/Dirty block details
EXT4-fs error (device loop1): ext4_mb_generate_buddy:805: group 0,
EXT4-fs (loop0): free_blocks=503808
block bitmap and bg descriptor inconsistent: 25 vs 31513 free clusters
EXT4-fs (loop1): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop0): dirty_blocks=16
EXT4-fs (loop1): This should not happen!! Data will be lost

EXT4-fs (loop0): Block reservation details
EXT4-fs (loop0): i_reserved_data_blocks=1
EXT4-fs (loop1): Total free blocks count 0
EXT4-fs (loop1): Free/Dirty block details
EXT4-fs (loop1): free_blocks=503808
EXT4-fs (loop1): dirty_blocks=16
EXT4-fs (loop1): Block reservation details
EXT4-fs (loop1): i_reserved_data_blocks=1
EXT4-fs (loop1): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop0): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop1): This should not happen!! Data will be lost

EXT4-fs (loop0): This should not happen!! Data will be lost

EXT4-fs error (device loop3): ext4_mb_generate_buddy:805: group 0, block bitmap and bg descriptor inconsistent: 25 vs 31513 free clusters
EXT4-fs (loop3): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs error (device loop2): ext4_mb_generate_buddy:805: group 0, block bitmap and bg descriptor inconsistent: 25 vs 31513 free clusters
EXT4-fs (loop3): This should not happen!! Data will be lost

EXT4-fs (loop2): Delayed block allocation failed for inode 17 at logical offset 1 with max blocks 1 with error 28
EXT4-fs (loop3): Total free blocks count 0
EXT4-fs (loop3): Free/Dirty block details
EXT4-fs (loop2): This should not happen!! Data will be lost

评论 (2)

iceleaf 创建了任务

Hi iceleaf2019, 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: @YangYingliang , @pi3orama , @成坚 (CHENG Jian) , @jiaoff , @zhengzengkai , @Qiuuuuu , @刘勇强 , @Xie XiuQi

openeuler-ci-bot 添加了
 
sig/Kernel
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
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

搜索帮助