lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 8 Jun 2022 23:23:04 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     fdmanana@...nel.org
Cc:     0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
        linux-btrfs@...r.kernel.org, lkp@...ts.01.org
Subject: [btrfs]  62bd8124e2:
 WARNING:at_fs/btrfs/block-rsv.c:#btrfs_release_global_block_rsv[btrfs]



Greeting,

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

commit: 62bd8124e2f17910fcd89568e507c474bd6bfe6b ("[PATCH 12/12] btrfs: reduce amount of reserved metadata for delayed item insertion")
url: https://github.com/intel-lab-lkp/linux/commits/fdmanana-kernel-org/btrfs-some-improvements-and-cleanups-around-delayed-items/20220531-230915
base: https://git.kernel.org/cgit/linux/kernel/git/kdave/linux.git for-next
patch link: https://lore.kernel.org/linux-btrfs/bf924988687205627604f36cbd8ff13936e938ab.1654009356.git.fdmanana@suse.com

in testcase: fxmark
version: fxmark-x86_64-0ce9491-1_20220601
with following parameters:

	disk: 1SSD
	media: ssd
	test: MWRM
	fstype: btrfs
	directio: directio
	cpufreq_governor: performance
	ucode: 0xd000331

test-description: FxMark is a filesystem benchmark that test multicore scalability.
test-url: https://github.com/sslab-gatech/fxmark


on test machine: 128 threads 2 sockets Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz with 128G 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 <oliver.sang@...el.com>


[  315.488915][T13157] ------------[ cut here ]------------
[  315.496046][T13157] WARNING: CPU: 8 PID: 13157 at fs/btrfs/block-rsv.c:471 btrfs_release_global_block_rsv+0xa4/0xc0 [btrfs]
[  315.507353][T13157] Modules linked in: loop xfs intel_rapl_msr intel_rapl_common btrfs x86_pkg_temp_thermal intel_powerclamp blake2b_generic xor coretemp raid6_pq zstd_compress libcrc32c sd_mod t10_pi crc64_rocksoft_generic crc64_rocksoft crc64 ast sg drm_vram_helper kvm_intel ipmi_ssif drm_ttm_helper kvm ttm irqbypass crct10dif_pclmul drm_kms_helper crc32_pclmul syscopyarea crc32c_intel ghash_clmulni_intel ahci acpi_ipmi rapl mei_me intel_cstate ioatdma sysfillrect libahci sysimgblt ipmi_si intel_uncore libata mei fb_sys_fops joydev ipmi_devintf intel_pch_thermal dca wmi ipmi_msghandler acpi_pad acpi_power_meter drm fuse ip_tables
[  315.564087][T13157] CPU: 8 PID: 13157 Comm: umount Not tainted 5.18.0-rc7-00185-g62bd8124e2f1 #1
[  315.573043][T13157] RIP: 0010:btrfs_release_global_block_rsv+0xa4/0xc0 [btrfs]
[  315.580477][T13157] Code: 01 00 00 00 74 b2 0f 0b 48 83 bb 68 01 00 00 00 74 b0 0f 0b 48 83 bb 70 01 00 00 00 74 ae 0f 0b 48 83 bb a0 01 00 00 00 74 ac <0f> 0b 48 83 bb a8 01 00 00 00 74 aa 0f 0b 48 83 bb e0 01 00 00 00
[  315.600306][T13157] RSP: 0018:ffa0000025077da0 EFLAGS: 00010286
[  315.606429][T13157] RAX: 0000000001158000 RBX: ff11000109fb1000 RCX: 0000000000000001
[  315.614470][T13157] RDX: 0000000001158000 RSI: ff110003abd42000 RDI: ff110003abd42000
[  315.622510][T13157] RBP: ff110001aa103c00 R08: 0000000001158000 R09: ffffffffc1689100
[  315.630552][T13157] R10: ff110001048a1680 R11: 0000000000000246 R12: ff11000109fb1090
[  315.638597][T13157] R13: ff11000109fb16a0 R14: dead000000000122 R15: dead000000000100
[  315.646643][T13157] FS:  00007f8f706ab840(0000) GS:ff1100103f400000(0000) knlGS:0000000000000000
[  315.655654][T13157] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  315.662321][T13157] CR2: 0000000000451c00 CR3: 0000000507a5a002 CR4: 0000000000771ee0
[  315.670376][T13157] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  315.678419][T13157] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  315.686455][T13157] PKRU: 55555554
[  315.690068][T13157] Call Trace:
[  315.693423][T13157]  <TASK>
[  315.696430][T13157]  btrfs_free_block_groups+0x30c/0x400 [btrfs]
[  315.702679][T13157]  close_ctree+0x2c3/0x3d6 [btrfs]
[  315.707886][T13157]  ? evict_inodes+0x17c/0x200
[  315.712633][T13157]  generic_shutdown_super+0x71/0x140
[  315.717982][T13157]  kill_anon_super+0x14/0x40
[  315.722639][T13157]  btrfs_kill_super+0x12/0x40 [btrfs]
[  315.728103][T13157]  deactivate_locked_super+0x2e/0xc0
[  315.733457][T13157]  cleanup_mnt+0x131/0x1c0
[  315.737947][T13157]  task_work_run+0x62/0xc0
[  315.742438][T13157]  exit_to_user_mode_loop+0x11e/0x140
[  315.747885][T13157]  exit_to_user_mode_prepare+0x89/0x100
[  315.753513][T13157]  syscall_exit_to_user_mode+0x12/0x40
[  315.759061][T13157]  do_syscall_64+0x48/0xc0
[  315.763560][T13157]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[  315.769544][T13157] RIP: 0033:0x7f8f708eae27
[  315.774050][T13157] Code: 00 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 00 0c 00 f7 d8 64 89 01 48
[  315.793989][T13157] RSP: 002b:00007ffd6eefa278 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
[  315.802519][T13157] RAX: 0000000000000000 RBX: 00007f8f70a0e264 RCX: 00007f8f708eae27
[  315.810613][T13157] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000560c0a2d60b0
[  315.818710][T13157] RBP: 0000560c0a2d5e80 R08: 0000000000000000 R09: 00007ffd6eef9020
[  315.826806][T13157] R10: 0000560c0a2d60e0 R11: 0000000000000246 R12: 0000000000000000
[  315.834900][T13157] R13: 0000560c0a2d60b0 R14: 0000560c0a2d5f90 R15: 0000000000000000
[  315.842993][T13157]  </TASK>
[  315.846140][T13157] ---[ end trace 0000000000000000 ]---



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.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-5.18.0-rc7-00185-g62bd8124e2f1" of type "text/plain" (162678 bytes)

View attachment "job-script" of type "text/plain" (8371 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (37524 bytes)

View attachment "fxmark" of type "text/plain" (4516 bytes)

View attachment "job.yaml" of type "text/plain" (5399 bytes)

View attachment "reproduce" of type "text/plain" (254 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ