Re: [PATCH] scsi: Add intermediate STARGET_REMOVE state to scsi_target_state

From: Christoph Hellwig
Date: Tue Mar 29 2016 - 03:45:44 EST


On Thu, Mar 24, 2016 at 11:42:44AM -0400, Ewan D. Milne wrote:
> This looks fine. Do we still need 90a88d6ef (scsi: fix soft lockup in
> scsi_remove_target() on module removal) or can that be reverted now,
> since the STARGET_REMOVE state will allow the iteration to continue?

Yes, that stale pointer check is something I'd really, really prefer
not to have around in the long run.

Otherwise the patch looks like the right direction to me.