All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Brian King <brking@linux.vnet.ibm.com>
Cc: tyreld@linux.vnet.ibm.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] ibmvfc: Avoid loss of all paths during SVC node reboot
Date: Sat, 29 Feb 2020 00:18:45 -0500	[thread overview]
Message-ID: <yq1a75255u2.fsf@oracle.com> (raw)
In-Reply-To: <1582767943-16611-1-git-send-email-brking@linux.vnet.ibm.com> (Brian King's message of "Wed, 26 Feb 2020 19:45:43 -0600")


Brian,

> When an SVC node goes down as part of a node reboot, its WWPNs are
> moved to the remaining node. When the node is back online, its WWPNs
> are moved back. The result is that the WWPN moves from one NPort_ID to
> another, then back again.  The ibmvfc driver was forcing the old port
> to be removed, but not sending an implicit logout. When the WWPN
> showed up at the new location, the PLOGI failed as there was already a
> login established for the old scsi id. The patch below fixes this by
> ensuring we always send an implicit logout for any scsi id associated
> with an rport prior to calling fc_remote_port_delete.

Applied to 5.7/scsi-queue. Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

      reply	other threads:[~2020-02-29  5:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27  1:45 [PATCH] ibmvfc: Avoid loss of all paths during SVC node reboot Brian King
2020-02-29  5:18 ` 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=yq1a75255u2.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=brking@linux.vnet.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=tyreld@linux.vnet.ibm.com \
    /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.