2021-11-26 08:39:09

by kernel test robot

[permalink] [raw]
Subject: [xfs] d63b32921c: BUG_xfs_sxi_item(Not_tainted):Objects_remaining_in_xfs_sxi_item_on__kmem_cache_shutdown()



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: d63b32921c8b7d6bea49fb41b73fbf0efc37e376 ("xfs: port xfs_swap_extents_rmap to our new code")
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub

in testcase: xfstests
version: xfstests-x86_64-99bc497-1_20211125
with following parameters:

disk: 4HDD
fs: xfs
test: xfs-reflink-rmapbt
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 1 sockets 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]>



kern :notice: [ 135.661968] XFS (sda2): Mounting V5 Filesystem
kern :info : [ 135.713059] XFS (sda2): Ending clean mount
kern :warn : [ 135.720747] xfs filesystem being mounted at /fs/sda2 supports timestamps until 2038 (0x7fffffff)
kern :notice: [ 135.868579] XFS (sda2): Unmounting Filesystem
kern :err : [ 135.979420] =============================================================================
kern :err : [ 135.988497] BUG xfs_sxi_item (Not tainted): Objects remaining in xfs_sxi_item on __kmem_cache_shutdown()
kern :err : [ 135.998874] -----------------------------------------------------------------------------

kern :err : [ 136.010122] Slab 0x00000000d1a77f73 objects=27 used=2 fp=0x0000000056213d6d flags=0x17ffffc0010200(slab|head|node=0|zone=2|lastcpupid=0x1fffff)
kern :warn : [ 136.023913] CPU: 2 PID: 6263 Comm: modprobe Not tainted 5.15.0-00146-gd63b32921c8b #1
kern :warn : [ 136.032611] Hardware name: Hewlett-Packard HP Pro 3340 MT/17A1, BIOS 8.07 01/24/2013
kern :warn : [ 136.041202] Call Trace:
kern :warn : [ 136.044390] dump_stack_lvl (kbuild/src/consumer/lib/dump_stack.c:107)
kern :warn : [ 136.048843] slab_err (kbuild/src/consumer/mm/slub.c:881)
kern :warn : [ 136.052848] ? _raw_spin_lock_irq (kbuild/src/consumer/include/linux/instrumented.h:101 kbuild/src/consumer/include/linux/atomic/atomic-instrumented.h:512 kbuild/src/consumer/include/asm-generic/qspinlock.h:82 kbuild/src/consumer/include/linux/spinlock.h:187 kbuild/src/consumer/include/linux/spinlock_api_smp.h:129 kbuild/src/consumer/kernel/locking/spinlock.c:170)
kern :warn : [ 136.057917] ? _raw_read_unlock_irqrestore (kbuild/src/consumer/kernel/locking/spinlock.c:169)
kern :warn : [ 136.063664] ? flush_all_cpus_locked (kbuild/src/consumer/mm/slub.c:2694 (discriminator 1))


To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file

# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.



---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation

Thanks,
Oliver Sang


Attachments:
(No filename) (3.22 kB)
config-5.15.0-00146-gd63b32921c8b (172.66 kB)
job-script (5.79 kB)
kmsg.xz (25.74 kB)
xfstests (1.28 kB)
job.yaml (4.87 kB)
reproduce (951.00 B)
Download all attachments