All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harris, James R <james.r.harris at intel.com>
To: spdk@lists.01.org
Subject: [SPDK] Significant updates to SPDK bdev nvme driver
Date: Fri, 17 Mar 2017 21:23:44 +0000	[thread overview]
Message-ID: <31328D6F-7639-4EEF-9E42-7A13C0AEBCB9@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]

Several changes to the SPDK bdev nvme driver have been synced to the github repo today.  These will affect anyone using the SPDK nvme driver in an iSCSI or NVMe-oF context via the SPDK block device layer.

1)       The SPDK bdev nvme driver can now create bdevs for both locally attached and remote (NVMe-oF) devices.
2)       The SPDK bdev nvme driver no longer supports wildcard claiming of NVMe devices.  This deprecates the NumControllers and ClaimAllDevices key names and requires users to explicitly list the devices to be attached.
3)       The SPDK bdev nvme driver no longer automatically creates names for block devices – these names are now specified by the user.

All of the above changes are in effect as of SPDK git commit ID d326998ce.

scripts/gen_nvme.sh can be used to automate creation of a valid configuration file section for locally attached NVMe SSDs.

New configuration file format:

[Nvme]
  # NVMe Device Whitelist
  # Users may specify which NVMe devices to claim by their transport id.
  # See spdk_nvme_transport_id_parse() in spdk/nvme.h for the correct format.
  # The devices will be assigned names in the format <YourName>nY, where YourName is the
  # name specified at the end of the TransportId line and Y is the namespace id, which starts at 1.
  TransportID "trtype:PCIe traddr:0000:00:00.0" Nvme0
  TransportID "trtype:RDMA subnqn:nqn.2016-06.io.spdk:cnode1 traddr:192.168.100.1 trsvcid:4420" Nvme1

Thanks,

-Jim



[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 6872 bytes --]

                 reply	other threads:[~2017-03-17 21:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=31328D6F-7639-4EEF-9E42-7A13C0AEBCB9@intel.com \
    --to=spdk@lists.01.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.