]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
NVMEDevice: Fix the issue of multiple OSDs when using SPDK 35968/head
authorZiye Yang <ziye.yang@intel.com>
Tue, 7 Jul 2020 17:19:36 +0000 (01:19 +0800)
committerZiye Yang <ziye.yang@intel.com>
Wed, 8 Jul 2020 14:28:25 +0000 (22:28 +0800)
commitf8e7748acbd6ed8912d450147b34e8ff1300c152
treee9e72371f6968c5aa4dde39ef04d4e0b2cfdefa2
parent4425f3e678155c3fa0cb6f0b6f4c9e3866415c14
NVMEDevice: Fix the issue of multiple OSDs when using SPDK

For each OSD when using SPDK, it should be the type of primary
process. So when there are multiple NVMe SSDs, each OSD will use
one. So we do not want an OSD process claim all the NVMe SSDs,
so we use the allowed list to restrict the probe.

And with this patch, we can support multiple OSDs while using
SPDK.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
src/blk/spdk/NVMEDevice.cc