Bug 2052452 - WARNING: CPU: 35 PID: 3629639 at block/bfq-iosched.c:602 bfq_limit_depth+0x478/0x4f0
Summary: WARNING: CPU: 35 PID: 3629639 at block/bfq-iosched.c:602 bfq_limit_depth+0x47...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jes Sorensen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-09 10:08 UTC by ChanghuiZhong
Modified: 2023-12-05 21:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-12-05 21:03:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description ChanghuiZhong 2022-02-09 10:08:58 UTC
Description of problem:
When running the swraid trim test, warning log appear

[17268.283718] ------------[ cut here ]------------ 
[17268.307825] WARNING: CPU: 21 PID: 2870188 at block/bfq-iosched.c:606 bfq_limit_depth+0x4a6/0x4f0 
[17268.350734] Modules linked in: raid1 raid0 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx raid6_pq dm_cache_smq dm_cache dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio nvme ipmi_watchdog ipmi_poweroff ipmi_ssif ipmi_devintf nls_utf8 cifs cifs_arc4 cifs_md4 veth bridge stp llc vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vmw_vmci loop tun af_key crypto_user scsi_transport_iscsi ip_gre ip_tunnel gre bluetooth ecdh_generic ecc overlay ah6 ah4 nft_objref nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink vfat fat sctp ip6_udp_tunnel udp_tunnel rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache netfs rpcrdma rdma_cm iw_cm ib_cm ib_core nfsd auth_rpcgss nfs_acl lockd grace dm_log_writes dm_mod tls rfkill sunrpc intel_rapl_msr intel_rapl_common sb_edac x86_pkg_temp_thermal intel_powerclamp ext4 coretemp kvm_intel mbcache jbd2 kvm irqbypass iTCO_wdt iTCO_vendor_support rapl ioatdma acpi_ipmi bnx2x intel_cstate ipmi_si 
[17268.350860]  tg3 ipmi_msghandler pcspkr mdio dca intel_uncore i2c_i801 lpc_ich acpi_power_meter i2c_smbus acpi_tad hpilo fuse zram xfs libcrc32c mgag200 i2c_algo_bit sr_mod drm_shmem_helper qla2xxx drm_kms_helper cdrom sd_mod syscopyarea sysfillrect sysimgblt fb_sys_fops nvme_fc cec ahci libahci nvme_fabrics crct10dif_pclmul crc32_pclmul crc32c_intel nvme_core libata serio_raw t10_pi drm ghash_clmulni_intel hpsa scsi_transport_fc hpwdt scsi_transport_sas wmi [last unloaded: scsi_debug] 
[17268.947930] CPU: 21 PID: 2870188 Comm: kworker/u81:6 Tainted: G           OE  X --------- ---  5.17.0-0.rc3.89.test.eln.x86_64 #1 
[17269.000443] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380 Gen9, BIOS P89 02/17/2017 
[17269.037532] Workqueue: loop0 loop_rootcg_workfn [loop] 
[17269.060613] RIP: 0010:bfq_limit_depth+0x4a6/0x4f0 
[17269.081939] Code: fd ff ff 45 8b 46 40 44 0f b6 cb 31 f6 48 c7 c2 5c 82 a1 97 48 c7 c1 81 82 a1 97 31 c0 41 55 e8 a0 1b cf ff 48 83 c4 08 eb 9d <0f> 0b e9 7e fd ff ff 48 8b 7c 24 10 e8 79 83 00 00 48 89 c7 e8 51 
[17269.166305] RSP: 0018:ffffad291a7f3700 EFLAGS: 00010097 
[17269.189717] RAX: 0000000000000001 RBX: 0000000000000060 RCX: ffff8c6602828920 
[17269.221920] RDX: ffff8c696fa00000 RSI: ffff8c696fbf1340 RDI: ffff8c660282a430 
[17269.254065] RBP: ffffad291a7f3838 R08: ffff8c696faf1340 R09: 0000000000580000 
[17269.286259] R10: 0000000000580000 R11: ffffffff96b521e0 R12: ffffad291a7f38a8 
[17269.319940] R13: ffffad291a7f3780 R14: 0000000000000001 R15: 0000000000000002 
[17269.356585] FS:  0000000000000000(0000) GS:ffff8c696fac0000(0000) knlGS:0000000000000000 
[17269.394169] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 
[17269.419943] CR2: 00007f839ebc5dd0 CR3: 00000005a7a10004 CR4: 00000000001706e0 
[17269.453300] Call Trace: 
[17269.465046]  <TASK> 
[17269.474415]  ? bfq_setup_cooperator+0xd4/0x270 
[17269.494355]  ? bfq_allow_bio_merge+0x67/0xb0 
[17269.513453]  ? elv_merge+0xad/0x150 
[17269.528690]  ? bfq_request_merge+0x3c/0x90 
[17269.547156]  ? blk_mq_sched_try_merge+0x33/0x1b0 
[17269.567842]  __blk_mq_alloc_requests+0x75/0x240 
[17269.588296]  blk_mq_submit_bio+0x1fa/0x500 
[17269.606284]  submit_bio_noacct+0x23c/0x290 
[17269.624721]  submit_bio+0x66/0x110 
[17269.639954]  iomap_do_writepage+0x729/0x8e0 
[17269.658716]  write_cache_pages+0x262/0x3b0 
[17269.676831]  ? iomap_writepage+0x90/0x90 
[17269.694491]  iomap_writepages+0x1f/0x90 
[17269.711666]  xfs_vm_writepages+0xd2/0x100 [xfs] 
[17269.732076]  do_writepages+0xdb/0x210 
[17269.748515]  filemap_fdatawrite_wbc+0x61/0x80 
[17269.767992]  file_write_and_wait_range+0xb6/0x120 
rk+0x1b7/0x8b0 [loop] 
[17269.831198]  ? pick_next_task_fair+0x100/0x320 
[17269.851186]  ? __switch_to+0x145/0x520 
[17269.868008]  ? finish_task_switch+0x11b/0x2f0 
[17269.887588]  process_one_work+0x1a1/0x350 
[17269.905666]  worker_thread+0x270/0x430 
[17269.922588]  ? worker_clr_flags+0x50/0x50 
[17269.940531]  kthread+0xd8/0xf0 
[17269.954620]  ? kthread_blkcg+0x30/0x30 
[17269.971401]  ret_from_fork+0x22/0x30 
[17269.987433]  </TASK> 
[17269.997190] ---[ end trace 0000000000000000 ]--- 

Version-Release number of selected component (if applicable):
5.17.0-0.rc3.89.test.eln.x86_64

Kernel repo: https://gitlab.com/cki-project/kernel-ark.git
Commit: fda54bec37dd - [redhat] kernel-5.17.0-0.rc3.89

How reproducible:
100%

Steps to Reproduce:
1.run test case https://gitlab.com/cki-project/kernel-tests/-/tree/main/storage/swraid/trim
2.
3.

Actual results:
no issues

Expected results:
warning log appear

Additional info:
I originally want to report this issue to Block Layer, but I couldn't find this component, so I report it to mdadm

https://beaker.engineering.redhat.com/recipes/11428066#tasks
https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2022/02/62801/6280134/11428066/console.log

Comment 1 Ben Cotton 2022-08-09 13:12:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 2 Aoife Moloney 2023-11-23 00:08:26 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Aoife Moloney 2023-12-05 21:03:58 UTC
Fedora Linux 37 entered end-of-life (EOL) status on None.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.