428 Star 1.6K Fork 1.6K

GVPopenEuler/kernel

 / 详情

[OLK6.6][xfs] XFS (dm-0): Internal error ltbno + ltlen > bno at line 1957 of file fs/xfs/libxfs/xfs_alloc.c

已完成
缺陷
创建于  
2024-01-09 16:55

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)

一、缺陷信息

[ 4219.506512] XFS (dm-0): Internal error ltbno + ltlen > bno at line 1957 of file fs/xfs/libxfs/xfs_alloc.c.  Caller xfs_free_ag_extent+0x5c1/0x1160
[ 4219.508108] iclog release lsn: 61,9281 tail_lsn: 61,9250
[ 4219.508349] CPU: 3 PID: 23472 Comm: kworker/3:1 Not tainted 6.6.0-01901-gbbe11c4e1cc5 #62
[ 4219.509124] iclog callback test_lsn: 61,9200 lsn: 61,9281 tail_lsn: 61,9250
[ 4219.509257] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ?-20190727_073836-buildvm-ppc64le-16.ppc.fedoraproject.org-3.fc31 04/01/2014
[ 4219.510266] iclog release lsn: 61,9345 tail_lsn: 61,9250
[ 4219.510622] Workqueue: xfs-inodegc/dm-0 xfs_inodegc_worker
[ 4219.510632] Call Trace:
[ 4219.510659]  <TASK>
[ 4219.512178] iclog callback test_lsn: 61,9200 lsn: 61,9345 tail_lsn: 61,9250
[ 4219.512448]  dump_stack_lvl+0x7f/0xb0
[ 4219.512898] iclog callback start_lsn: 61,9281 commit_lsn: 61,9345
[ 4219.513129]  dump_stack+0x18/0x30
[ 4219.514006]  xfs_error_report+0x4e/0x60
[ 4219.514015]  ? xfs_free_ag_extent+0x5c1/0x1160
[ 4219.514018]  xfs_corruption_error+0x4e/0xb0
[ 4219.514022]  xfs_free_ag_extent+0x600/0x1160
[ 4219.514025]  ? xfs_free_ag_extent+0x5c1/0x1160
[ 4219.514029]  __xfs_free_extent+0xeb/0x2b0
[ 4219.514033]  xfs_trans_free_extent+0xcb/0x380
[ 4219.516814]  ? xfs_trans_get_efd+0xfd/0x110
[ 4219.516818]  xfs_extent_free_finish_item+0x1c/0x70
[ 4219.520556]  xfs_defer_finish_noroll+0x1fa/0xc50
[ 4219.520935]  xfs_defer_finish+0x1d/0xf0
[ 4219.521244]  xfs_itruncate_extents_flags+0x18d/0x710
[ 4219.521643]  xfs_inactive_truncate+0xeb/0x1e0
[ 4219.522002]  xfs_inactive+0x398/0x460
[ 4219.522506]  xfs_inodegc_worker+0x11f/0x310
[ 4219.522849]  process_scheduled_works+0x1cf/0x5c0
[ 4219.523226]  worker_thread+0x1d8/0x510
[ 4219.523652]  ? rescuer_thread+0x4b0/0x4b0
[ 4219.523981]  kthread+0x147/0x1c0
[ 4219.524248]  ? kthread_exit+0x50/0x50
[ 4219.524549]  ret_from_fork+0x52/0x70
[ 4219.524855]  ? kthread_exit+0x50/0x50
[ 4219.525155]  ret_from_fork_asm+0x11/0x20
[ 4219.525473]  </TASK>
[ 4219.525693] XFS (dm-0): Corruption detected. Unmount and run xfs_repair
[ 4219.525870] iclog release lsn: 61,9387 tail_lsn: 61,9281

内核信息:

缺陷归属组件:

缺陷归属的版本:

缺陷简述:

【环境信息】
硬件信息

  • 裸机场景请提供问题的硬件信息
  • 虚拟机场景请提供虚拟机的XML文件或配置信息
    软件信息
  • OS版本及分支信息
  • 内核信息
  • 发现问题的组件版本信息
    网络信息
  • 如果有特殊组网,请提供网络拓扑信息

【问题复现步骤】,请描述具体的操作步骤
【实际结果】,请描述出问题的结果和影响
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等

缺陷详情参考链接:

缺陷分析指导链接:
https:xxx

评论 (2)

Long Li 创建了缺陷 1年前

Hi lonuxli, 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
标签
1年前
Long Li 修改了标题 1年前
Long Li 修改了描述 1年前
zhengzengkai 里程碑设置为24.03-Kernel-Develop 1年前
zhengzengkai 关联分支设置为OLK-6.6 1年前

修复验证: 合入修复补丁之后, 压力测试下, 如下xfs_free_ag_extent()数据损坏现象不再出现.

[ 4219.506512] XFS (dm-0): Internal error ltbno + ltlen > bno at line 1957 of file fs/xfs/libxfs/xfs_alloc.c.  Caller xfs_free_ag_extent+0x5c1/0x1160
[ 4219.508108] iclog release lsn: 61,9281 tail_lsn: 61,9250
[ 4219.508349] CPU: 3 PID: 23472 Comm: kworker/3:1 Not tainted 6.6.0-01901-gbbe11c4e1cc5 #62
[ 4219.509124] iclog callback test_lsn: 61,9200 lsn: 61,9281 tail_lsn: 61,9250
[ 4219.509257] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ?-20190727_073836-buildvm-ppc64le-16.ppc.fedoraproject.org-3.fc31 04/01/2014
[ 4219.510266] iclog release lsn: 61,9345 tail_lsn: 61,9250
[ 4219.510622] Workqueue: xfs-inodegc/dm-0 xfs_inodegc_worker
[ 4219.510632] Call Trace:
[ 4219.510659]  <TASK>
[ 4219.512178] iclog callback test_lsn: 61,9200 lsn: 61,9345 tail_lsn: 61,9250
[ 4219.512448]  dump_stack_lvl+0x7f/0xb0
[ 4219.512898] iclog callback start_lsn: 61,9281 commit_lsn: 61,9345
[ 4219.513129]  dump_stack+0x18/0x30
[ 4219.514006]  xfs_error_report+0x4e/0x60
[ 4219.514015]  ? xfs_free_ag_extent+0x5c1/0x1160
[ 4219.514018]  xfs_corruption_error+0x4e/0xb0
[ 4219.514022]  xfs_free_ag_extent+0x600/0x1160
[ 4219.514025]  ? xfs_free_ag_extent+0x5c1/0x1160
[ 4219.514029]  __xfs_free_extent+0xeb/0x2b0
[ 4219.514033]  xfs_trans_free_extent+0xcb/0x380
[ 4219.516814]  ? xfs_trans_get_efd+0xfd/0x110
[ 4219.516818]  xfs_extent_free_finish_item+0x1c/0x70
[ 4219.520556]  xfs_defer_finish_noroll+0x1fa/0xc50
[ 4219.520935]  xfs_defer_finish+0x1d/0xf0
[ 4219.521244]  xfs_itruncate_extents_flags+0x18d/0x710
[ 4219.521643]  xfs_inactive_truncate+0xeb/0x1e0
[ 4219.522002]  xfs_inactive+0x398/0x460
[ 4219.522506]  xfs_inodegc_worker+0x11f/0x310
[ 4219.522849]  process_scheduled_works+0x1cf/0x5c0
[ 4219.523226]  worker_thread+0x1d8/0x510
[ 4219.523652]  ? rescuer_thread+0x4b0/0x4b0
[ 4219.523981]  kthread+0x147/0x1c0
[ 4219.524248]  ? kthread_exit+0x50/0x50
[ 4219.524549]  ret_from_fork+0x52/0x70
[ 4219.524855]  ? kthread_exit+0x50/0x50
[ 4219.525155]  ret_from_fork_asm+0x11/0x20
[ 4219.525473]  </TASK>
[ 4219.525693] XFS (dm-0): Corruption detected. Unmount and run xfs_repair
[ 4219.525870] iclog release lsn: 61,9387 tail_lsn: 61,9281

登录 后才可以发表评论

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

搜索帮助