public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [btrfs:pr/1157] [btrfs]  5e121ae687: WARNING:at_fs/btrfs/extent_io.c:#release_extent_buffer[btrfs]
@ 2025-05-19  8:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-19  8:38 UTC (permalink / raw)
  To: Josef Bacik
  Cc: oe-lkp, lkp, David Sterba, Filipe Manana, linux-btrfs,
	oliver.sang



Hello,

kernel test robot noticed "WARNING:at_fs/btrfs/extent_io.c:#release_extent_buffer[btrfs]" on:

commit: 5e121ae687b8c16294230d69ea16a49a08d5e332 ("btrfs: use buffer xarray for extent buffer writeback operations")
https://github.com/btrfs/linux.git pr/1157

[test failed on linux-next/master 8566fc3b96539e3235909d6bdda198e1282beaed]

in testcase: blktests
version: blktests-x86_64-236edfd-1_20250318
with following parameters:

	test: zbd-009



config: x86_64-rhel-9.4-func
compiler: gcc-12
test machine: 192 threads 2 sockets Intel(R) Xeon(R) 6740E  CPU @ 2.4GHz (Sierra Forest) with 256G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)



If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202505191521.435b97ac-lkp@intel.com


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250519/202505191521.435b97ac-lkp@intel.com


kern  :warn  : [  298.897265] ------------[ cut here ]------------
kern  :warn  : [  298.899068] WARNING: CPU: 151 PID: 3403 at fs/btrfs/extent_io.c:3417 release_extent_buffer+0x163/0x1a0 [btrfs]
kern  :warn  : [  298.901741] Modules linked in: scsi_debug sd_mod sg null_blk dm_multipath intel_tpmi_power_domains intel_ifs i10nm_edac skx_edac_common nfit x86_pkg_temp_thermal coretemp btrfs kvm_intel blake2b_generic xor zstd_compress kvm raid6_pq irqbypass snd_pcm ghash_clmulni_intel sha512_ssse3 ast snd_timer cxl_pmem qat_4xxx sha256_ssse3 libnvdimm intel_qat intel_rapl_tpmi isst_tpmi intel_uncore_frequency_tpmi drm_client_lib snd sha1_ssse3 intel_rapl_common isst_tpmi_core intel_uncore_frequency_common nvme iaa_crypto ipmi_ssif drm_shmem_helper soundcore dax_hmem isst_if_mmio intel_cstate intel_uncore pcspkr cxl_acpi pmt_telemetry idxd intel_vsec_tpmi intel_sdsi nvme_core pmt_class cxl_port i2c_i801 drm_kms_helper spi_intel_pci crc8 isst_if_common intel_vsec authenc spi_intel i2c_smbus wmi idxd_bus acpi_ipmi cxl_core ipmi_si ipmi_devintf ipmi_msghandler einj joydev pfr_telemetry pfr_update binfmt_misc drm fuse loop dm_mod ip_tables [last unloaded: scsi_debug]
kern  :warn  : [  298.919759] CPU: 151 UID: 0 PID: 3403 Comm: umount Not tainted 6.15.0-rc6-00223-g5e121ae687b8 #1 PREEMPT(voluntary) 
kern  :warn  : [  298.922215] RIP: 0010:release_extent_buffer+0x163/0x1a0 [btrfs]
kern  :warn  : [  298.924038] Code: 48 89 df e8 ff fd ff ff 48 8d 7b 38 48 c7 c6 00 2f f3 c3 e8 0f de 73 bd b8 01 00 00 00 48 83 c4 08 5b 5d 41 5c c3 cc cc cc cc <0f> 0b e9 ec fe ff ff 48 89 ef e8 3e c1 e7 bd e9 d4 fe ff ff e8 34
kern  :warn  : [  298.928358] RSP: 0018:ffffc90019b67198 EFLAGS: 00010246
kern  :warn  : [  298.929924] RAX: 0000000000000000 RBX: ffff8bb5656c2ac0 RCX: ffffffffc3f34471
kern  :warn  : [  298.931812] RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8bb5656c2aec
kern  :warn  : [  298.933695] RBP: ffff8bb5656c2aec R08: 0000000000000000 R09: ffffed76acad855d
kern  :warn  : [  298.935576] R10: ffff8bb5656c2aef R11: 0000000000000001 R12: 1ffff9200336ce39
kern  :warn  : [  298.937453] R13: dffffc0000000000 R14: ffff8bb5656c2ad0 R15: ffffed76acad855a
kern  :warn  : [  298.939326] FS:  00007f2b2224d840(0000) GS:ffff8bb15adc2000(0000) knlGS:0000000000000000
kern  :warn  : [  298.941372] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [  298.943019] CR2: 00007f2b223cd400 CR3: 000003355cd4b005 CR4: 0000000000f72ef0
kern  :warn  : [  298.944901] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kern  :warn  : [  298.946786] DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
kern  :warn  : [  298.948660] PKRU: 55555554
kern  :warn  : [  298.949793] Call Trace:
kern  :warn  : [  298.950874]  <TASK>
kern  :warn  : [  298.951888]  free_extent_buffer+0x1e5/0x2a0 [btrfs]
kern  :warn  : [  298.953511]  ? __pfx_free_extent_buffer+0x10/0x10 [btrfs]
kern  :warn  : [  298.955199]  ? btrfs_check_meta_write_pointer+0x17b/0x4b0 [btrfs]
kern  :warn  : [  298.956965]  btree_write_cache_pages+0x3e7/0x900 [btrfs]
kern  :warn  : [  298.958641]  ? __pfx_btree_write_cache_pages+0x10/0x10 [btrfs]
kern  :warn  : [  298.960405]  ? stack_trace_save+0x8f/0xc0
kern  :warn  : [  298.961777]  ? __pfx_stack_trace_save+0x10/0x10
kern  :warn  : [  298.963194]  ? stack_depot_save_flags+0x3d/0x610
kern  :warn  : [  298.964637]  do_writepages+0x171/0x770
kern  :warn  : [  298.965941]  ? kasan_save_track+0x10/0x30
kern  :warn  : [  298.967272]  ? __kasan_slab_free+0x33/0x40
kern  :warn  : [  298.968623]  ? __pfx_do_writepages+0x10/0x10
kern  :warn  : [  298.969989]  ? btrfs_write_and_wait_transaction+0xda/0x210 [btrfs]
kern  :warn  : [  298.971752]  ? btrfs_commit_transaction+0x18de/0x29f0 [btrfs]
kern  :warn  : [  298.973433]  ? sync_filesystem+0x16c/0x210
kern  :warn  : [  298.974766]  ? generic_shutdown_super+0x73/0x380
kern  :warn  : [  298.976171]  ? kill_anon_super+0x36/0x90
kern  :warn  : [  298.977450]  ? btrfs_kill_super+0x37/0x50 [btrfs]
kern  :warn  : [  298.978957]  ? deactivate_locked_super+0xa1/0x190
kern  :warn  : [  298.980368]  ? _raw_spin_lock+0x80/0xe0
kern  :warn  : [  298.981641]  ? __pfx__raw_spin_lock+0x10/0x10
kern  :warn  : [  298.982975]  filemap_fdatawrite_wbc+0xd2/0x120
kern  :warn  : [  298.984316]  __filemap_fdatawrite_range+0xa3/0xe0
kern  :warn  : [  298.985692]  ? __pfx___filemap_fdatawrite_range+0x10/0x10
kern  :warn  : [  298.987178]  ? deactivate_locked_super+0xa1/0x190
kern  :warn  : [  298.988537]  btrfs_write_marked_extents+0xfa/0x240 [btrfs]
kern  :warn  : [  298.990140]  ? __pfx_btrfs_write_marked_extents+0x10/0x10 [btrfs]
kern  :warn  : [  298.991802]  ? _raw_spin_lock+0x80/0xe0
kern  :warn  : [  298.992993]  ? __pfx__raw_spin_lock+0x10/0x10
kern  :warn  : [  298.994253]  ? _raw_spin_lock+0x80/0xe0
kern  :warn  : [  298.995427]  btrfs_write_and_wait_transaction+0xda/0x210 [btrfs]
kern  :warn  : [  298.997041]  ? __pfx_btrfs_write_and_wait_transaction+0x10/0x10 [btrfs]
kern  :warn  : [  298.998758]  ? mutex_unlock+0x7e/0xd0
kern  :warn  : [  298.999887]  btrfs_commit_transaction+0x18de/0x29f0 [btrfs]
kern  :warn  : [  299.001417]  ? start_transaction+0x219/0x16a0 [btrfs]
kern  :warn  : [  299.002862]  ? __pfx_btrfs_commit_transaction+0x10/0x10 [btrfs]
kern  :warn  : [  299.004445]  ? btrfs_attach_transaction_barrier+0x1e/0x80 [btrfs]
kern  :warn  : [  299.006057]  sync_filesystem+0x16c/0x210
kern  :warn  : [  299.007232]  generic_shutdown_super+0x73/0x380
kern  :warn  : [  299.008480]  kill_anon_super+0x36/0x90
kern  :warn  : [  299.009609]  btrfs_kill_super+0x37/0x50 [btrfs]
kern  :warn  : [  299.010941]  deactivate_locked_super+0xa1/0x190
kern  :warn  : [  299.012185]  cleanup_mnt+0x1e5/0x3e0
kern  :warn  : [  299.013281]  task_work_run+0x116/0x200
kern  :warn  : [  299.014446]  ? __pfx_task_work_run+0x10/0x10
kern  :warn  : [  299.015643]  ? __x64_sys_umount+0xff/0x120
kern  :warn  : [  299.016814]  ? __pfx___x64_sys_umount+0x10/0x10
kern  :warn  : [  299.018058]  syscall_exit_to_user_mode+0x1d2/0x1e0
kern  :warn  : [  299.019348]  do_syscall_64+0x85/0x160
kern  :warn  : [  299.020462]  ? __pfx___do_sys_newfstatat+0x10/0x10
kern  :warn  : [  299.021746]  ? syscall_exit_to_user_mode+0xc/0x1e0
kern  :warn  : [  299.023020]  ? do_syscall_64+0x85/0x160
kern  :warn  : [  299.024160]  ? __count_memcg_events+0x18d/0x470
kern  :warn  : [  299.025390]  ? syscall_exit_to_user_mode+0xc/0x1e0
kern  :warn  : [  299.026664]  ? do_syscall_64+0x85/0x160
kern  :warn  : [  299.027788]  ? handle_mm_fault+0x409/0x6e0
kern  :warn  : [  299.028956]  ? do_user_addr_fault+0x8f7/0xfb0
kern  :warn  : [  299.030170]  ? exc_page_fault+0x57/0xc0
kern  :warn  : [  299.031291]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
kern  :warn  : [  299.032631] RIP: 0033:0x7f2b22479b37
kern  :warn  : [  299.033713] Code: cf 92 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 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 00 f0 ff ff 77 01 c3 48 8b 15 99 92 0c 00 f7 d8 64 89 02 b8
kern  :warn  : [  299.037628] RSP: 002b:00007ffd8afea8f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
kern  :warn  : [  299.039399] RAX: 0000000000000000 RBX: 000055dd9bf33318 RCX: 00007f2b22479b37
kern  :warn  : [  299.041089] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055dd9bf33430
kern  :warn  : [  299.042788] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000073
kern  :warn  : [  299.044487] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2b225b4264
kern  :warn  : [  299.046183] R13: 000055dd9bf33430 R14: 0000000000000000 R15: 000055dd9bf33200
kern  :warn  : [  299.047878]  </TASK>
kern  :warn  : [  299.048755] ---[ end trace 0000000000000000 ]---


-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-19  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-19  8:38 [btrfs:pr/1157] [btrfs] 5e121ae687: WARNING:at_fs/btrfs/extent_io.c:#release_extent_buffer[btrfs] kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox