All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex_Gagniuc@Dellteam.com (Alex_Gagniuc@Dellteam.com)
Subject: How /dev/nvme numbers are allocated/mapped to BDF
Date: Thu, 2 Aug 2018 22:09:50 +0000	[thread overview]
Message-ID: <073447516980487e950bbc428225ae02@ausx13mps321.AMER.DELL.COM> (raw)

Hi,

Recently some confusion came up about how the /dev/nvme numbers are 
allocated, and how much one can expect the to be consistent across 
reboots. I was fairly convinced that it was about as random as a coin 
flip, but some people have pointed out that these numbers were very 
deterministic in older kernels, dating back to the 3.10 era.

Were there some intentional changes along the way, or was this numbering 
scheme _never_ supposed to be deterministic in the first place?

Also, separate but related question. Samsung M1725a drives don't 
generate entries under /dev/disk/by-path. Any idea why that might be?

Alex

             reply	other threads:[~2018-08-02 22:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-02 22:09 Alex_Gagniuc [this message]
2018-08-03  7:18 ` How /dev/nvme numbers are allocated/mapped to BDF Christoph Hellwig
2018-08-03 14:40   ` Keith Busch
2018-08-03 16:16     ` Alex_Gagniuc
2018-08-03 16:54       ` Keith Busch
2018-08-03 16:58         ` Johannes Thumshirn
2018-08-03 17:07           ` Keith Busch
2018-08-03 17:20         ` Alex_Gagniuc
2018-08-03 17:40           ` Keith Busch
2018-08-04  8:16         ` Christoph Hellwig
2018-08-05 15:48           ` Alex_Gagniuc

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=073447516980487e950bbc428225ae02@ausx13mps321.AMER.DELL.COM \
    --to=alex_gagniuc@dellteam.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.