答复: [RFC] Significant Random I/O Performance Regression in Linux Kernel 6.18 (Up to 27.7%) Likely Caused by Commit 3c7ac40d7322

From: 孙魁 (Kui Sun)

Date: Sat Jul 11 2026 - 07:23:18 EST


We have already included these two fixes, which are related to stability. The issue we're encountering is performance-related

Thank You.

-----邮件原件-----
发件人: Bart Van Assche <bvanassche@xxxxxxx>
发送时间: 2026年7月10日 22:56
收件人: 孙魁 (Kui Sun) <kui.sun@xxxxxxxxxx>; Neil Armstrong <neil.armstrong@xxxxxxxxxx>; Alim Akhtar <alim.akhtar@xxxxxxxxxxx>; Avri Altman <avri.altman@xxxxxxx>; James E.J. Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>; Martin K. Petersen <martin.petersen@xxxxxxxxxx>; andre.draszik@xxxxxxxxxx
抄送: Peter Griffin <peter.griffin@xxxxxxxxxx>; Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>; Will McVicker <willmcvicker@xxxxxxxxxx>; Manivannan Sadhasivam <mani@xxxxxxxxxx>; kernel-team@xxxxxxxxxxx; linux-samsung-soc@xxxxxxxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; stable@xxxxxxxxxxxxxxx; linux-arm-msm@xxxxxxxxxxxxxxx; 张如泉 (Rain Zhang) <Rain.Zhang@xxxxxxxxxx>; cixi.geng@xxxxxxxxx; 唐月林 (Yuelin Tang) <yuelin.tang@xxxxxxxxxx>; 陈文超 (Wenchao Chen) <Wenchao.Chen@xxxxxxxxxx>; André Draszik <andre.draszik@xxxxxxxxxx>
主题: Re: [RFC] Significant Random I/O Performance Regression in Linux Kernel 6.18 (Up to 27.7%) Likely Caused by Commit 3c7ac40d7322


注意: 这封邮件来自于外部。除非你确定邮件内容安全,否则不要点击任何链接和附件。
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.



On 7/10/26 12:17 AM, 孙魁 (Kui Sun) wrote:
> Through investigation, we identified that upstream commit
> 3c7ac40d732232fec0ba31d0a5e3cc9c112fc2e7, merged in April 2025, is
> likely responsible for this performance drop.
Two fixes for that commit are present in the upstream kernel. Are these fixes present in your kernel tree?

commit eabcac808ca3ee9878223d4b49b750979029016b
Author: Bart Van Assche <bvanassche@xxxxxxx>
Date: Fri Aug 15 08:58:23 2025 -0700

scsi: ufs: core: Fix IRQ lock inversion for the SCSI host lock

commit 034d319c8899e8c5c0a35c6692c7fc7e8c12c374
Author: Nitin Rawat <quic_nitirawa@xxxxxxxxxxx>
Date: Tue Jul 29 04:27:11 2025 +0530

scsi: ufs: core: Fix interrupt handling for MCQ Mode

Thanks,

Bart.