All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Dmitry Bogdanov <d.bogdanov@yadro.com>
Cc: Martin Petersen <martin.petersen@oracle.com>,
	<target-devel@vger.kernel.org>,
	Mike Christie <michael.christie@oracle.com>,
	<linux-scsi@vger.kernel.org>, <linux@yadro.com>,
	Roman Bolshakov <r.bolshakov@yadro.com>
Subject: Re: [PATCH v4] target: core: remove from tmr_list at lun unlink
Date: Tue, 26 Oct 2021 23:15:57 -0400	[thread overview]
Message-ID: <yq1wnlz17kt.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20211018135753.15297-1-d.bogdanov@yadro.com> (Dmitry Bogdanov's message of "Mon, 18 Oct 2021 16:57:53 +0300")


Dmitry,

> Currently TMF commands are removed from de_device.dev_tmf_list at the
> very end of se_cmd lifecycle. But se_lun unlinks from se_cmd up on a
> command status (response) is queued in transport layer.  It means that
> LUN and backend device can be deleted meantime and at the moment of
> repsonse completion a panic is occured:

Applied to 5.16/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2021-10-27  3:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-18 13:57 [PATCH v4] target: core: remove from tmr_list at lun unlink Dmitry Bogdanov
2021-10-22  4:17 ` Mike Christie
2021-10-27  3:15 ` Martin K. Petersen [this message]

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=yq1wnlz17kt.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=d.bogdanov@yadro.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux@yadro.com \
    --cc=michael.christie@oracle.com \
    --cc=r.bolshakov@yadro.com \
    --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.