80c87083ce
When you connect a iscsi lun as a bdev, and the lun id is not 0, all IOs will fail. We should use the correct lun id in libiscsi. Reproduces like this: ./scripts/rpc.py construct_iscsi_bdev -b iSCSI0 -i iqn.2016-06.io.spdk:init --url iscsi://127.0.0.1:3261/iqn.2016-02.com.smartx:system:fl-iscsi/1 Signed-off-by: Li Feng <fengli@smartx.com> Change-Id: I2480e866fdda17426362aca3cb30b7e90c927547 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449318 Reviewed-by: Kyle Zhang <kyle@smartx.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev_iscsi_rpc.c | ||
bdev_iscsi.c | ||
bdev_iscsi.h | ||
Makefile |