On 10/24/23 19:30, Benjamin Block wrote:
Hey Hannes,
On Mon, Oct 23, 2023 at 11:28:27AM +0200, Hannes Reinecke wrote:
Hi all,
(taking up an old thread:)
here's now the main part of my EH rework.
It modifies the reset callbacks for SCSI EH such that
each callback (eh_host_reset_handler, eh_bus_reset_handler,
eh_target_reset_handler, eh_device_reset_handler) only
references the actual entity it needs to work on
(ie 'Scsi_Host', (scsi bus), 'scsi_target', 'scsi_device'),
and the 'struct scsi_cmnd' is dropped from the argument list.
This simplifies the handler themselves as they don't need to
exclude some 'magic' command, and we don't need to allocate
a mock 'struct scsi_cmnd' when issuing a reset via SCSI ioctl.
The entire patchset can be found at:
https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
branch eh-rework.v8
This doesn't exist (yet?). I also tried to somehow get both part 2 of the
preparations and this series applied on some tree, but failed.
Preparations part 2 seems to be based on some form of Linus' master tree, and
this on Martin's staging tree?
Maybe I'm just unlucky :D
Maybe you are.
Pushed now, please try again.
Cheers,
Hannes