Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1369991

Re: [PATCH v3 1/2] scsi: Add intermediate STARGET_REMOVE state to scsi_target_state

From James Bottomley <jejb@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/2] scsi: Add intermediate STARGET_REMOVE state to scsi_target_state
Date 2016-04-02 18:40 +0200
Message-ID <rjwKD-6wn-31@gated-at.bofh.it> (permalink)
References <riKmC-5a4-5@gated-at.bofh.it> <riKmC-5a4-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2016-03-31 at 14:53 +0200, Johannes Thumshirn wrote:
> Add intermediate STARGET_REMOVE state to scsi_target_state to avoid
> running
> into the BUG_ON() in scsi_target_reap().
> 
> This intermediate state is only valid in the path from
> scsi_remove_target() to
> scsi_target_destroy() indicating this target is going to be removed.
> 
> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
> Fixes: 40998193560dab6c3ce8d25f4fa58a23e252ef38

The code and ordering is fine with me, so you can add

Reviewed-by: James Bottomley <jejb@linux.vnet.ibm.com>

However, I'd really appreciate it if the description of what was going
on was clearer for a non-SUSE distro maintainer.  What we're doing is
applying a more comprehensive fix for a previously hack fixed problem
and then reverting the hack.  I think message 1 should say "this
refixes the problem introduced by commit X in a more comprehensive way"

and message 2 "Now that we've done a more comprehensive fix with the
intermediate target state in patch Y, we can remove the previous hack"

James

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 1/2] scsi: Add intermediate STARGET_REMOVE state to scsi_target_state Johannes Thumshirn <jthumshirn@suse.de> - 2016-03-31 15:00 +0200
  Re: [PATCH v3 1/2] scsi: Add intermediate STARGET_REMOVE state to  scsi_target_state Hannes Reinecke <hare@suse.de> - 2016-03-31 18:20 +0200
  Re: [PATCH v3 1/2] scsi: Add intermediate STARGET_REMOVE state to  scsi_target_state James Bottomley <jejb@linux.vnet.ibm.com> - 2016-04-02 18:40 +0200
    Re: [PATCH v3 1/2] scsi: Add intermediate STARGET_REMOVE state to  scsi_target_state Johannes Thumshirn <jthumshirn@suse.de> - 2016-04-04 11:40 +0200

csiph-web