[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210215132734.GA15834@xsang-OptiPlex-9020>
Date: Mon, 15 Feb 2021 21:27:34 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Jens Axboe <axboe@...nel.dk>
Cc: LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
lkp@...el.com, ltp@...ts.linux.it, linux-btrfs@...r.kernel.org
Subject: [btrfs] 3d6ef82805:
WARNING:at_fs/btrfs/extent-tree.c:#btrfs_reserve_extent[btrfs]
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 3d6ef82805958611e8ffa0a901c014b6f066c3e6 ("btrfs: relax memory alignment restriction for O_DIRECT")
https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git dio-mem-align
in testcase: ltp
version: ltp-x86_64-14c1f76-1_20210101
with following parameters:
disk: 1HDD
fs: f2fs
test: syscalls-07
ucode: 0xe2
test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/
on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G 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>
[ 89.502739] ------------[ cut here ]------------
[ 89.507372] WARNING: CPU: 2 PID: 4081 at fs/btrfs/extent-tree.c:4291 btrfs_reserve_extent+0x107/0x1c0 [btrfs]
[ 89.517355] Modules linked in: overlay brd fuse vfat fat btrfs blake2b_generic xor zstd_compress raid6_pq ext2 loop dm_mod f2fs xfs libcrc32c ipmi_devi
ntf ipmi_msghandler sd_mod t10_pi sg intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp i915 kvm_intel kvm irqbypass crct10di
f_pclmul crc32_pclmul intel_gtt crc32c_intel mei_wdt ghash_clmulni_intel drm_kms_helper dell_wmi rapl syscopyarea sysfillrect dell_smbios sysimgblt intel_
cstate mei_me ahci dell_wmi_descriptor sparse_keymap libahci fb_sys_fops wmi_bmof dcdbas intel_uncore libata drm i2c_i801 i2c_smbus mei intel_pch_thermal
wmi video acpi_pad intel_pmc_core ip_tables
[ 89.574926] CPU: 2 PID: 4081 Comm: pwritev03 Tainted: G I 5.11.0-rc7-00005-g3d6ef8280595 #1
[ 89.584601] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.1.1 10/07/2015
[ 89.592011] RIP: 0010:btrfs_reserve_extent+0x107/0x1c0 [btrfs]
[ 89.597911] Code: d4 8b 80 ac 0c 00 00 49 0f 46 d4 44 8d 60 ff 49 f7 d4 49 21 d4 4c 39 e5 4c 89 e6 48 0f 43 f5 0f 93 c3 49 89 f4 4c 39 e0 76 8e <0f> 0b
eb 8a be 01 00 00 00 e9 43 ff ff ff 41 89 c0 48 8b 04 24 f6
[ 89.616713] RSP: 0018:ffffc90000fb3b10 EFLAGS: 00010206
[ 89.621948] RAX: 0000000000001000 RBX: 0000000000000400 RCX: 0000000000000000
[ 89.629099] RDX: 0000000000000004 RSI: 0000000000000400 RDI: 0000000000001000
[ 89.636259] RBP: 0000000000001000 R08: 0000000000000000 R09: 0000000000000000
[ 89.643408] R10: 0000000000000400 R11: 0000000000000400 R12: 0000000000000400
[ 89.650555] R13: 0000000000000000 R14: ffff88886d6a1800 R15: ffffc90000fb3be8
[ 89.657702] FS: 00007f0614b565c0(0000) GS:ffff888871d00000(0000) knlGS:0000000000000000
[ 89.665807] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 89.671569] CR2: 00007f0614b5d000 CR3: 0000000865efe002 CR4: 00000000003706e0
[ 89.678728] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 89.685892] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 89.693084] Call Trace:
[ 89.695543] btrfs_dio_iomap_begin+0x4fa/0x740 [btrfs]
[ 89.700777] iomap_apply+0x95/0x320
[ 89.704275] ? iomap_dio_rw+0x40/0x40
[ 89.707962] __iomap_dio_rw+0x212/0x500
[ 89.711809] ? iomap_dio_rw+0x40/0x40
[ 89.715481] ? current_time+0x43/0x80
[ 89.719153] ? btrfs_file_write_iter+0x22c/0x3c0 [btrfs]
[ 89.724532] btrfs_file_write_iter+0x22c/0x3c0 [btrfs]
[ 89.729738] new_sync_write+0x11f/0x1c0
[ 89.733585] vfs_write+0x204/0x2e0
[ 89.736996] ksys_pwrite64+0x65/0xa0
[ 89.740579] do_syscall_64+0x33/0x40
[ 89.744164] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 89.749228] RIP: 0033:0x7f0614a7ca37
[ 89.752811] Code: ff ff eb b6 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 8d 05 c9 7c 0d 00 49 89 ca 8b 00 85 c0 75 10 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 59 c3 41 55 49 89 cd 41 54 49 89 d4 55 48 89
[ 89.771619] RSP: 002b:00007fffe33e1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
[ 89.779205] RAX: ffffffffffffffda RBX: 0000000000000400 RCX: 00007f0614a7ca37
[ 89.786355] RDX: 0000000000000400 RSI: 0000558fe7acea00 RDI: 0000000000000004
[ 89.793505] RBP: 0000000000000000 R08: 00000000000001df R09: 0000558fe7acf610
[ 89.800669] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
[ 89.807819] R13: 0000558fe7acea00 R14: 0000000000000000 R15: 0000000000000000
[ 89.814971] ---[ end trace 79d3905b1bea9513 ]---
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
Thanks,
Oliver Sang
View attachment "config-5.11.0-rc7-00005-g3d6ef8280595" of type "text/plain" (174007 bytes)
View attachment "job-script" of type "text/plain" (5557 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (29432 bytes)
View attachment "job.yaml" of type "text/plain" (4515 bytes)
Powered by blists - more mailing lists