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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <598173fee9844be9ba19bfed35be2f5c@huawei.com>
Date: Tue, 1 Apr 2025 03:32:11 +0000
From: Jiangjianjun <jiangjianjun3@...wei.com>
To: John Garry <john.g.garry@...cle.com>
CC: "jejb@...ux.ibm.com" <jejb@...ux.ibm.com>, "martin.petersen@...cle.com"
	<martin.petersen@...cle.com>, "linux-scsi@...r.kernel.org"
	<linux-scsi@...r.kernel.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, lixiaokeng <lixiaokeng@...wei.com>,
	"hewenliang (C)" <hewenliang4@...wei.com>, "Yangkunlin(Poincare)"
	<yangkunlin7@...wei.com>, yangxingui <yangxingui@...wei.com>, "liyihang (C)"
	<liyihang9@...wei.com>
Subject: reply: reply: [RFC PATCH v3 00/19] scsi: scsi_error: Introduce new
 error handle mechanism


On 31/03/2025 04:10, Jiangjianjun wrote:
> Sorry for late message! I'm working on fixing and testing these issues before re-emailing.

What are you actually working on?

It seems that Hannes' "scsi: EH rework, main part" series and maybe this one can help resolve this following issue:

https://lore.kernel.org/linux-block/eef1e927-c9b2-c61d-7f48-92e65d8b0418@huawei.com/

with fix attempted in:

https://lore.kernel.org/linux-ide/20241031140731.224589-4-cassel@kernel.org/

so that we don't see "fixes" like:
https://lore.kernel.org/linux-scsi/20250329073236.2300582-1-liyihang9@huawei.com/T/#m80bcb3f57fd176b7ce41b1f26e8560de6ad52c9d

> 
> -----邮件原件-----
> 发件人: Christoph Hellwig <hch@...radead.org>
> 发送时间: 2025年3月20日 14:06
> 收件人: Hannes Reinecke <hare@...e.de>
> 抄送: Jiangjianjun <jiangjianjun3@...wei.com>; jejb@...ux.ibm.com; 
> martin.petersen@...cle.com; linux-scsi@...r.kernel.org; 
> linux-kernel@...r.kernel.org; lixiaokeng <lixiaokeng@...wei.com>; 
> hewenliang (C) <hewenliang4@...wei.com>; Yangkunlin(Poincare) 
> <yangkunlin7@...wei.com>
> 主题: Re: [RFC PATCH v3 00/19] scsi: scsi_error: Introduce new error 
> handle mechanism
> 
> On Fri, Mar 14, 2025 at 10:01:40AM +0100, Hannes Reinecke wrote:
>> 3. The current EH framework is designed around 'struct scsi_cmnd'.
>> Which means that the command _initiating_ the error handling can only 
>> be returned once the _entire_ error handling (with all
>> escalations) is finished. And more often than not, the application is 
>> waiting on that command to be completed before the next I/O is sent.
>> And that really limits the effectiveness of any improved error 
>> handler; the application ultimatively has to wait for a host reset 
>> before it can contine.
> 
> And someone needs to get your old series to fix that merged before we even start talking about any major EH change.
> 

Sorry, the previous engineer Wen Chao's work has changed. Now I will continue to complete this work. In the future.
I will analyze the details of the solution, improve and refine the above suggestions, and carefully submit the email.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ