All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Hannes Reinecke <hare@suse.de>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	Christoph Hellwig <hch@lst.de>, Hannes Reinecke <hare@suse.com>,
	James Bottomley <james.bottomley@hansenpartnership.com>,
	linux-scsi@vger.kernel.org
Subject: Re: [PATCH] fnic: to not call 'scsi_done()' for unhandled commands
Date: Tue,  6 Oct 2020 23:47:49 -0400	[thread overview]
Message-ID: <160204240575.16940.9033970836537317918.b4-ty@oracle.com> (raw)
In-Reply-To: <20200515112647.49260-1-hare@suse.de>

On Fri, 15 May 2020 13:26:47 +0200, Hannes Reinecke wrote:

> The fnic drivers assigns an ioreq structure to each command, and
> severs this assignment once scsi_done() has been called and the
> command has been completed.
> So when traversing commands to terminate outstanding I/O we should
> not call scsi_done() on commands which do not have a corresponding
> ioreq structure; these commands have either never entered the driver
> or have already been completed.

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: fnic: Do not call 'scsi_done()' for unhandled commands
      https://git.kernel.org/mkp/scsi/c/712582e60f28

-- 
Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2020-10-07  3:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 11:26 [PATCH] fnic: to not call 'scsi_done()' for unhandled commands Hannes Reinecke
2020-05-15 13:06 ` Laurence Oberman
2020-05-15 13:52   ` Hannes Reinecke
2020-05-15 14:04     ` Laurence Oberman
2020-06-23 13:53       ` Martin Wilck
     [not found]         ` <BYAPR11MB29971B225AB19F0DE072AF0BD7770@BYAPR11MB2997.namprd11.prod.outlook.com>
     [not found]           ` <BY5PR11MB3863DF6CE5C19EC0CFEA59F0C3380@BY5PR11MB3863.namprd11.prod.outlook.com>
     [not found]             ` <BY5PR11MB38636B3EF3A314D741AE0BDFC3320@BY5PR11MB3863.namprd11.prod.outlook.com>
2020-10-03  1:11               ` Martin K. Petersen
2020-05-15 19:07 ` kbuild test robot
2020-05-15 19:07   ` kbuild test robot
2020-10-07  3:47 ` 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=160204240575.16940.9033970836537317918.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=hare@suse.com \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@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.