Spdk/lib
Shuhei Matsumoto 12ab86e24d scsi: Add helper functions to convert LUN ID between structure and integer
SPDK iSCSI target didn't convert LUN ID from integer to structure
when it sends R2T PDUs. The next patch will fix the issue. Introducing
helper functions into SCSI library and using them will be clean. Hence
this patch adds two helper functions to convert LUN ID between structure
and integer.

The logic of helper functions is derived simply from the current
implementation in SPDK.

Change-Id: I114b546cfcb44109d6cd131a1fa972f4d6bfea38
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449962
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-04-04 04:40:28 +00:00
..
bdev ocf: finish OCF reqs after put_io_channel 2019-04-03 00:00:20 +00:00
blob blobstore: switch to spdk_*malloc(). 2019-03-26 23:27:29 +00:00
blobfs blobfs: spdk_fs_thread_ctx is no longer a channel 2019-04-02 23:24:30 +00:00
conf string: spdk_strtol to delegate additional error checking 2019-01-29 00:10:57 +00:00
copy lib/copy: unregister copy engine on finish 2018-10-15 17:42:20 +00:00
env_dpdk env/dpdk: add spdk_pci_fini() 2019-03-28 14:50:46 +00:00
event event/nvmf: allow running without [Transport] in the legacy cfg file 2019-04-04 03:58:22 +00:00
ftl lib/ftl: check for null 2019-04-02 08:22:48 +00:00
ioat ioat: don't rely on phys_addr retrieved from spdk_malloc() 2019-03-20 01:06:09 +00:00
iscsi iscsi: allocate PDU mempools with memory from any socket 2019-04-04 01:15:24 +00:00
json json_util: add debug logs to spdk_json_decode_object function 2019-01-10 14:31:37 +00:00
jsonrpc jsonrpc: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
log app, log: clarify how to enable log flags 2019-03-29 02:35:48 +00:00
lvol lvol: Fix for lvol failed deletion flow 2019-04-02 19:23:22 +00:00
nbd nbd: avoid impact to device setup by other task 2019-02-15 22:02:48 +00:00
net net: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
notify notify: add notification library 2019-03-29 21:15:14 +00:00
nvme nvme: remove set_state after nvme_ctrlr_identify_id_desc_namespaces 2019-04-01 09:09:07 +00:00
nvmf rdma: reorder qpair elements to plug hole 2019-04-04 04:34:59 +00:00
reduce reduce: account for compressed buffers 2019-04-02 21:40:21 +00:00
rocksdb blobfs: spdk_fs_thread_ctx is no longer a channel 2019-04-02 23:24:30 +00:00
rpc rpc: add get_spdk_version rpc method 2019-03-26 22:54:28 +00:00
scsi scsi: Add helper functions to convert LUN ID between structure and integer 2019-04-04 04:40:28 +00:00
sock sock/vpp: do not continue if buf writed is less than provided 2019-03-12 22:19:42 +00:00
thread thread: add spdk_thread_is_idle() 2019-03-01 21:38:02 +00:00
trace lib/trace: add trace_record tool 2019-01-30 06:36:25 +00:00
ut_mock thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
util dif: Insert DIF into newly read data block by stream fashion 2019-03-13 01:40:02 +00:00
vhost vhost/scsi: don't hotplug targets to stopped sessions 2019-03-29 20:19:12 +00:00
virtio virtio/pci: don't rely on phys_addr retrieved from spdk_malloc() 2019-03-20 01:06:09 +00:00
Makefile notify: add notification library 2019-03-29 21:15:14 +00:00