[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251126030728.2275040-1-jiangjianjun3@huawei.com>
Date: Wed, 26 Nov 2025 11:07:28 +0800
From: JiangJianJun <jiangjianjun3@...wei.com>
To: <James.Bottomley@...senPartnership.com>, <martin.petersen@...cle.com>,
<linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <hare@...e.de>, <dlemoal@...nel.org>, <yangxingui@...wei.com>,
<hewenliang4@...wei.com>, <yangyun50@...wei.com>, <wuyifeng10@...wei.com>,
<wubo40@...wei.com>, <jiangjianjun3@...wei.com>
Subject: Re: [PATCH] scsi: scsi_error: the Error Handler base on SCSI Device
> The current behavior should be retained as the default and the new
> behavior should only be enabled if a SCSI LLD requests the new behavior
> because many SCSI LLD .eh_host_reset_handler implementations are based
> on the assumption that no I/O is in progress if they are called.
However, the Device-Error-Handler does not call `eh_host_reset_handler`,
but instead calls `eh_device_reset_handler`. Only the Host-Error-Handler
will call `eh_host_reset_handler`. Therefore, any assumptions or designs
made by the SCSI LLD in `eh_host_reset_handler` will not effected.
Even so, is it still necessary to add a switch that allows the SCSI LLD
to decide whether to enable the Device-Error-Handler on its own?
Jun.
Powered by blists - more mailing lists