]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
bluestore/NVMe: use PCIe selector as the path name 24144/head
authorKefu Chai <kchai@redhat.com>
Tue, 18 Sep 2018 12:23:23 +0000 (20:23 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 26 Sep 2018 09:47:38 +0000 (17:47 +0800)
commit78116ce147be0b604e1efede2198b5fe9d509d84
tree4c0a025030bc0703cfb4a05569e4676f958eb8f6
parent9a01c3ae10889b11ebea25287591d49a01920a30
bluestore/NVMe: use PCIe selector as the path name

as the latest SPDK deprecated and removed spdk_pci_get_device(),
we cannot use the PCI device's serial number as its identifier and the
filename of the file representing the device. in this change, we
are using the PCI device's selector instead, it is also used by SPDK as
part of the transport id.

Tested-by: Tone Zhang <tone.zhang@arm.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/rados/configuration/bluestore-config-ref.rst
src/os/bluestore/BlueStore.cc
src/os/bluestore/NVMEDevice.cc
src/vstart.sh