Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: keith.busch@intel.com (Keith Busch)
Subject: Question regarding dual-port NVMe drives naming.
Date: Wed, 7 Nov 2018 09:24:58 -0700	[thread overview]
Message-ID: <20181107162457.GA15835@localhost.localdomain> (raw)
In-Reply-To: <20181107155241.ynvixi56i44zeakz@yadro.com>

On Wed, Nov 07, 2018@06:52:41PM +0300, ???? ???????? wrote:
> Hello,
> recently I started to use dual-port NVMe drives and faced with behaviour different to single-port drives.
> 
> Dual-port drives have [virtual] Expansion ROM at 3ff083000000 [disabled] [size=128K] while single-port drives does not have expansion ROMs.
> In naming of dual-port drives there are new names in sysfs like nvme1c1n1.
> Also all dual-port drives in sysfs are located in virtual directory like they don't have any parent bus.
> 
> Could somebody explain this difference or give the direction where to dig?

You are using a relatively recent kernel with CONFIG_NVME_MULTIPATH set.
This option exposes nvme block devices under their nvme subsystem
abstraction rather than under the controller so you see only one block
handle per-namespace. The subsystem is presented as a virtual device.

The individual block paths are hidden from the user, but the topology
is visible in sysfs, like the nvme1c1n1 in your example.

  reply	other threads:[~2018-11-07 16:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07 15:52 Question regarding dual-port NVMe drives naming Илья Кузнецов
2018-11-07 16:24 ` Keith Busch [this message]
2018-11-07 17:32   ` Илья Кузнецов
2018-11-07 17:59     ` Eyal BenDavid

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=20181107162457.GA15835@localhost.localdomain \
    --to=keith.busch@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox