Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: a7aa2aaa5a7e8722d7ffce1d93affa9c377fc569 ("xfs: avoid buffer deadlocks in inumbers/bulkstat")
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git random-fixes-5.13
in testcase: xfstests
version: xfstests-x86_64-73c0871-1_20210114
with following parameters:
disk: 4HDD
fs: xfs
test: xfs-group-29
ucode: 0x21
test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
on test machine: 4 threads Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>
[ 132.497402] xfs filesystem being mounted at /fs/sdb1 supports timestamps until 2038 (0x7fffffff)
[ 132.992518] XFS (sdb4): Mounting V5 Filesystem
[ 133.126369] XFS (sdb4): Ending clean mount
[ 133.136553] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[ 133.507751] XFS (sdb4): xlog_verify_grant_tail: space > BBTOB(tail_blocks)
[ 227.400352] XFS: Assertion failed: current->journal_info == NULL, file: fs/xfs/xfs_trans.h, line: 288
[ 227.401577] ------------[ cut here ]------------
[ 227.402710] kernel BUG at fs/xfs/xfs_message.c:110!
[ 227.403799] invalid opcode: 0000 [#1] SMP PTI
[ 227.404852] CPU: 2 PID: 10808 Comm: fsstress Not tainted 5.12.0-rc1-00002-ga7aa2aaa5a7e #1
[ 227.406037] Hardware name: Hewlett-Packard p6-1451cx/2ADA, BIOS 8.15 02/05/2013
[ 227.407233] RIP: 0010:assfail (kbuild/src/consumer/fs/xfs/xfs_message.c:110) xfs
[ 227.408568] Code: 67 fc ff ff 0f 0b c3 0f 1f 44 00 00 41 89 c8 48 89 d1 48 89 f2 48 c7 c6 08 e6 92 c0 e8 82 f9 ff ff 80 3d d7 9d 0a 00 00 74 02 <0f> 0b 0f 0b c3 48 8d 45 10 48 89 e2 4c 89 e6 48 89 1c 24 48 89 44
All code
========
0: 67 fc addr32 cld
2: ff (bad)
3: ff 0f decl (%rdi)
5: 0b c3 or %ebx,%eax
7: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
c: 41 89 c8 mov %ecx,%r8d
f: 48 89 d1 mov %rdx,%rcx
12: 48 89 f2 mov %rsi,%rdx
15: 48 c7 c6 08 e6 92 c0 mov $0xffffffffc092e608,%rsi
1c: e8 82 f9 ff ff callq 0xfffffffffffff9a3
21: 80 3d d7 9d 0a 00 00 cmpb $0x0,0xa9dd7(%rip) # 0xa9dff
28: 74 02 je 0x2c
2a:* 0f 0b ud2 <-- trapping instruction
2c: 0f 0b ud2
2e: c3 retq
2f: 48 8d 45 10 lea 0x10(%rbp),%rax
33: 48 89 e2 mov %rsp,%rdx
36: 4c 89 e6 mov %r12,%rsi
39: 48 89 1c 24 mov %rbx,(%rsp)
3d: 48 rex.W
3e: 89 .byte 0x89
3f: 44 rex.R
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 0f 0b ud2
4: c3 retq
5: 48 8d 45 10 lea 0x10(%rbp),%rax
9: 48 89 e2 mov %rsp,%rdx
c: 4c 89 e6 mov %r12,%rsi
f: 48 89 1c 24 mov %rbx,(%rsp)
13: 48 rex.W
14: 89 .byte 0x89
15: 44 rex.R
[ 227.411107] RSP: 0018:ffffc9000dd0ba10 EFLAGS: 00010202
[ 227.412316] RAX: 0000000000000000 RBX: ffff88820f3fcf00 RCX: 0000000000000000
[ 227.413556] RDX: 00000000ffffffc0 RSI: 000000000000000a RDI: ffffffffc09208b3
[ 227.414815] RBP: ffff88821411d000 R08: 0000000000000000 R09: 0000000000000000
[ 227.416087] R10: 000000000000000a R11: f000000000000000 R12: ffff88821411d35c
[ 227.417288] R13: 0000000000000001 R14: ffff88820fbddf00 R15: 0000000000000000
[ 227.418407] FS: 00007fb7d5884b80(0000) GS:ffff88821fb00000(0000) knlGS:0000000000000000
[ 227.419545] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 227.420671] CR2: 000055e2eedc2000 CR3: 000000020ec14005 CR4: 00000000001706e0
[ 227.421893] Call Trace:
[ 227.423111] xfs_trans_alloc (kbuild/src/consumer/fs/xfs/xfs_trans.h:288 kbuild/src/consumer/fs/xfs/xfs_trans.c:269) xfs
[ 227.424075] xfs_inactive_ifree (kbuild/src/consumer/fs/xfs/xfs_inode.c:1598) xfs
[ 227.425021] xfs_inactive (kbuild/src/consumer/fs/xfs/xfs_inode.c:1754) xfs
[ 227.425952] xfs_fs_destroy_inode (kbuild/src/consumer/fs/xfs/xfs_super.c:649) xfs
[ 227.426892] destroy_inode (kbuild/src/consumer/fs/inode.c:285)
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml
bin/lkp run compatible-job.yaml
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation
Thanks,
Oliver Sang