mbox series

[0/3] scsi: target: se_cmd cleanups and race fix

Message ID 20210728115353.2396-1-ddiss@suse.de (mailing list archive)
Headers show
Series scsi: target: se_cmd cleanups and race fix | expand

Message

David Disseldorp July 28, 2021, 11:53 a.m. UTC
While looking into XCOPY sense propagation issues (see Sergey's
patchset), I came across some se_cmd members which are unneeded. This
series also carries a fix for a theoretical lun_tg_pt_gp race condition.

Cheers, David


 drivers/target/sbp/sbp_target.c        |  4 +-
 drivers/target/target_core_alua.c      | 94 ++++++++++----------------
 drivers/target/target_core_transport.c | 33 ++++++---
 include/target/target_core_base.h      |  8 ++-
 4 files changed, 66 insertions(+), 73 deletions(-)

Comments

Mike Christie Aug. 1, 2021, 6:55 p.m. UTC | #1
On 7/28/21 6:53 AM, David Disseldorp wrote:
> While looking into XCOPY sense propagation issues (see Sergey's
> patchset), I came across some se_cmd members which are unneeded. This
> series also carries a fix for a theoretical lun_tg_pt_gp race condition.
> 
> Cheers, David
> 
> 
>  drivers/target/sbp/sbp_target.c        |  4 +-
>  drivers/target/target_core_alua.c      | 94 ++++++++++----------------
>  drivers/target/target_core_transport.c | 33 ++++++---
>  include/target/target_core_base.h      |  8 ++-
>  4 files changed, 66 insertions(+), 73 deletions(-)
> 

Reviewed-by: Mike Christie <michael.christie@oracle.com>
Martin K. Petersen Aug. 3, 2021, 2:57 a.m. UTC | #2
David,

> While looking into XCOPY sense propagation issues (see Sergey's
> patchset), I came across some se_cmd members which are unneeded. This
> series also carries a fix for a theoretical lun_tg_pt_gp race condition.

Applied to 5.15/scsi-staging, thanks!
Martin K. Petersen Aug. 10, 2021, 5:20 a.m. UTC | #3
On Wed, 28 Jul 2021 13:53:51 +0200, David Disseldorp wrote:

> While looking into XCOPY sense propagation issues (see Sergey's
> patchset), I came across some se_cmd members which are unneeded. This
> series also carries a fix for a theoretical lun_tg_pt_gp race condition.
> 
> Cheers, David
> 
> 
> [...]

Applied to 5.15/scsi-queue, thanks!

[1/3] scsi: target: avoid using lun_tg_pt_gp after unlock
      https://git.kernel.org/mkp/scsi/c/7e457e5efc28
[2/3] scsi: target: sbp: drop incorrect asc/ascq usage
      https://git.kernel.org/mkp/scsi/c/35410f862426
[3/3] scsi: target: drop unnecessary se_cmd asc/ascq members
      https://git.kernel.org/mkp/scsi/c/40fd8845c025