All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Maurizio Lombardi <mlombard@redhat.com>
Cc: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com,
	linux-scsi@vger.kernel.org
Subject: Re: [PATCH] enclosure: fix sysfs symlinks creation when using multipath
Date: Wed, 15 Mar 2017 19:39:31 -0400	[thread overview]
Message-ID: <yq1varaf6to.fsf@oracle.com> (raw)
In-Reply-To: <1488454204-21251-1-git-send-email-mlombard@redhat.com> (Maurizio Lombardi's message of "Thu, 2 Mar 2017 12:30:04 +0100")

Maurizio Lombardi <mlombard@redhat.com> writes:

> With multipath, it may happen that the same device is passed to
> enclosure_add_device() multiple times and that the
> enclosure_add_links() function fails to create the symlinks because
> the device's sysfs directory entry is still NULL.  In this case, the
> links will never be created because all the subsequent calls to
> enclosure_add_device() will immediately fail with EEXIST.

James?

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2017-03-15 23:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-02 11:30 [PATCH] enclosure: fix sysfs symlinks creation when using multipath Maurizio Lombardi
2017-03-15 23:39 ` Martin K. Petersen [this message]
2017-03-16 18:49   ` James Bottomley
2017-03-21  9:58     ` Maurizio Lombardi
2017-03-28  8:13       ` Maurizio Lombardi
2017-06-16 15:41     ` Douglas Miller
2017-06-16 16:08       ` Douglas Miller
2017-06-20 11:38         ` Maurizio Lombardi
2017-06-26 14:22           ` Douglas Miller

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=yq1varaf6to.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mlombard@redhat.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.