All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: mchristi@redhat.com, linux-scsi@vger.kernel.org,
	target-devel@vger.kernel.org, bly@catalogicsoftware.com,
	Bodo Stroesser <bstroesser@ts.fujitsu.com>,
	bvanassche@acm.org
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH v2] scsi: target: put lun_ref at end of tmr processing
Date: Fri, 15 May 2020 01:10:25 +0000	[thread overview]
Message-ID: <158950481363.8120.6288768454257707610.b4-ty@oracle.com> (raw)
In-Reply-To: <20200513153443.3554-1-bstroesser@ts.fujitsu.com>

On Wed, 13 May 2020 17:34:43 +0200, Bodo Stroesser wrote:

> Testing with Loopback I found, that after a Loopback LUN
> has executed a TMR, I can no longer unlink the LUN.
> The rm command hangs in transport_clear_lun_ref() at
> wait_for_completion(&lun->lun_shutdown_comp)
> The reason is, that transport_lun_remove_cmd() is not
> called at the end of target_tmr_work().
> 
> [...]

Applied to 5.7/scsi-fixes, thanks!

[1/1] scsi: target: Put lun_ref at end of tmr processing
      https://git.kernel.org/mkp/scsi/c/f2e6b75f6ee8

-- 
Martin K. Petersen	Oracle Linux Engineering

WARNING: multiple messages have this Message-ID (diff)
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: mchristi@redhat.com, linux-scsi@vger.kernel.org,
	target-devel@vger.kernel.org, bly@catalogicsoftware.com,
	Bodo Stroesser <bstroesser@ts.fujitsu.com>,
	bvanassche@acm.org
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH v2] scsi: target: put lun_ref at end of tmr processing
Date: Thu, 14 May 2020 21:10:25 -0400	[thread overview]
Message-ID: <158950481363.8120.6288768454257707610.b4-ty@oracle.com> (raw)
In-Reply-To: <20200513153443.3554-1-bstroesser@ts.fujitsu.com>

On Wed, 13 May 2020 17:34:43 +0200, Bodo Stroesser wrote:

> Testing with Loopback I found, that after a Loopback LUN
> has executed a TMR, I can no longer unlink the LUN.
> The rm command hangs in transport_clear_lun_ref() at
> wait_for_completion(&lun->lun_shutdown_comp)
> The reason is, that transport_lun_remove_cmd() is not
> called at the end of target_tmr_work().
> 
> [...]

Applied to 5.7/scsi-fixes, thanks!

[1/1] scsi: target: Put lun_ref at end of tmr processing
      https://git.kernel.org/mkp/scsi/c/f2e6b75f6ee8

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2020-05-15  1:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 15:34 [PATCH v2] scsi: target: put lun_ref at end of tmr processing Bodo Stroesser
2020-05-13 15:34 ` Bodo Stroesser
2020-05-15  1:10 ` Martin K. Petersen [this message]
2020-05-15  1:10   ` Martin K. Petersen

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=158950481363.8120.6288768454257707610.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=bly@catalogicsoftware.com \
    --cc=bstroesser@ts.fujitsu.com \
    --cc=bvanassche@acm.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mchristi@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=target-devel@vger.kernel.org \
    /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.