[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a517343d-cd37-4faa-8c26-c4e0c1217777@interlog.com>
Date: Sun, 8 Oct 2023 19:14:02 -0400
From: Douglas Gilbert <dgilbert@...erlog.com>
To: Wenchao Hao <haowenchao2@...wei.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
open-iscsi@...glegroups.com, linux-scsi@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, louhongxiang@...wei.com,
kernel test robot <oliver.sang@...el.com>
Subject: Re: [PATCH v5 09/10] scsi: scsi_debug: Add debugfs interface to fail
target reset
On 2023-09-22 05:29, Wenchao Hao wrote:
> The interface is found at
> /sys/kernel/debug/scsi_debug/target<h:c:t>/fail_reset where <h:c:t>
> identifies the target to inject errors on. It's a simple bool type
> interface which would make this target's reset fail if set to 'Y'.
>
> Signed-off-by: Wenchao Hao <haowenchao2@...wei.com>
> Reported-by: kernel test robot <oliver.sang@...el.com>
Tested by setting 'echo 1 > /sys/bus/pseudo/drivers/scsi_debug/opts'
and observing 'tail -f /var/log/syslog'. Looks good including that
fail_reset is readable so its current state can be checked.
Tested-by: Douglas Gilbert <dgilbert@...erlog.com>
<snip>
Powered by blists - more mailing lists