All of lore.kernel.org
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: Hannes Reinecke <hare@suse.de>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
	Christoph Hellwig <hch@lst.de>,
	James Bottomley <james.bottomley@hansenpartnership.com>,
	linux-scsi@vger.kernel.org, Wenchao Hao <haowenchao2@huawei.com>,
	Xingui Yang <yangxingui@huawei.com>
Subject: Re: [PATCHv8 00/10] scsi: EH rework, main part
Date: Tue, 5 Nov 2024 10:10:17 +0100	[thread overview]
Message-ID: <Zyng-RIx0XkeFLr-@ryzen> (raw)
In-Reply-To: <20231023092837.33786-1-hare@suse.de>

Hello 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
> 
> As usual, comments and reviews are welcome.

This seems to be the latest version of your EH rework.

Do you have any plans to send a v9?


Kind regards,
Niklas

  parent reply	other threads:[~2024-11-05  9:10 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23  9:28 [PATCHv8 00/10] scsi: EH rework, main part Hannes Reinecke
2023-10-23  9:28 ` [PATCH 01/10] scsi: Use Scsi_Host as argument for eh_host_reset_handler Hannes Reinecke
2023-10-25 11:40   ` Benjamin Block
2023-10-23  9:28 ` [PATCH 02/10] scsi: Use Scsi_Host and channel number as argument for eh_bus_reset_handler() Hannes Reinecke
2023-10-25 13:33   ` Benjamin Block
2023-10-25 13:36     ` Hannes Reinecke
2023-10-25 15:15       ` Benjamin Block
2023-10-23  9:28 ` [PATCH 03/10] scsi: Use scsi_target as argument for eh_target_reset_handler() Hannes Reinecke
2023-10-25 15:11   ` Benjamin Block
2023-10-25 15:35     ` Hannes Reinecke
2023-10-25 15:49       ` Benjamin Block
2023-10-23  9:28 ` [PATCH 04/10] scsi: Use scsi_device as argument to eh_device_reset_handler() Hannes Reinecke
2023-10-26 12:24   ` Benjamin Block
2023-10-26 12:39     ` Hannes Reinecke
2023-10-26 12:44       ` Benjamin Block
2023-10-23  9:28 ` [PATCH 05/10] scsi: set host byte after EH completed Hannes Reinecke
2023-10-26 12:58   ` Benjamin Block
2023-10-23  9:28 ` [PATCH 06/10] scsi_error: iterate over list of failed commands in scsi_eh_bus_reset() Hannes Reinecke
2023-10-26 13:19   ` Benjamin Block
2023-10-23  9:28 ` [PATCH 07/10] scsi: Do not allocate scsi command in scsi_ioctl_reset() Hannes Reinecke
2023-10-26 13:47   ` Benjamin Block
2023-10-23  9:28 ` [PATCH 08/10] scsi_error: iterate over list of failed commands in scsi_eh_bus_device_reset() Hannes Reinecke
2023-10-26 13:54   ` Benjamin Block
2023-10-23  9:28 ` [PATCH 09/10] scsi_error: map FAST_IO_FAIL to -EAGAIN in SCSI EH Hannes Reinecke
2023-10-26 14:08   ` Benjamin Block
2023-10-26 16:50   ` Mike Christie
2023-10-27  5:05     ` Hannes Reinecke
2023-10-23  9:28 ` [PATCH 10/10] scsi: remove SUBMITTED_BY_SCSI_RESET_IOCTL Hannes Reinecke
2023-10-26 14:12   ` Benjamin Block
2023-10-24 17:30 ` [PATCHv8 00/10] scsi: EH rework, main part Benjamin Block
2023-10-24 17:40   ` Hannes Reinecke
2023-10-24 17:57     ` Benjamin Block
2024-03-06 13:40 ` Wenchao Hao
2024-11-05  9:10 ` Niklas Cassel [this message]
2024-11-05 15:22   ` Hannes Reinecke
2024-11-05 15:47     ` Niklas Cassel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zyng-RIx0XkeFLr-@ryzen \
    --to=cassel@kernel.org \
    --cc=haowenchao2@huawei.com \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=yangxingui@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.