8a154b2c0d
This patch is to solve the issue that two nvmf target connect the same rbd image and used for multipath. The scenario is host wants to access the same rbd image via two gateways, host and gateways are working as nvmf ini and tgt, and two gateways connect with the rbd image, io can switch to another gateway once one is broken. The targets of multipath must have the same uuid, so this patch add a new argument for bdev_rbd_create, like malloc dev. Signed-off-by: tanlong <948985618@qq.com> Change-Id: I593fedb6c5d94f625f1b331fdc40e2db488f7fb7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9935 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
__init__.py | ||
app.py | ||
bdev.py | ||
blobfs.py | ||
client.py | ||
cmd_parser.py | ||
env_dpdk.py | ||
helpers.py | ||
idxd.py | ||
ioat.py | ||
iscsi.py | ||
log.py | ||
lvol.py | ||
nbd.py | ||
notify.py | ||
nvme.py | ||
nvmf.py | ||
pmem.py | ||
sock.py | ||
subsystem.py | ||
trace.py | ||
vhost.py | ||
vmd.py |