Spdk/lib
Shuhei Matsumoto fb16799191 bdev: Add spdk_bdev_get_data_block_size API.
iSCSI target will need to get data block size except for metadata.
Other SPDK application may need to get the same information
future. Hence this patch adds an new API spdk_bdev_get_data_block_size
to bdev layer. In the header file, spdk_bdev_get_data_block_size
is located next to spdk_bdev_is_md_interleaved to avoid confusion
by new users.

Change-Id: I0fd2a6d0bcf6a4c18c583f70d96cc5035fc57fe9
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/445082
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-03-07 07:03:27 +00:00
..
bdev bdev: Add spdk_bdev_get_data_block_size API. 2019-03-07 07:03:27 +00:00
blob lvol: add option to change clear method for lvol store creation 2019-02-28 20:50:27 +00:00
blobfs blobfs: fix the length value of file. 2019-01-17 05:04:13 +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/memory: use spdk_iommu_is_enabled internally 2019-03-05 06:45:11 +00:00
event event: spdk_app_json_config_load no longer requires an event 2019-03-06 08:26:04 +00:00
ftl lib/ftl: Fix band picking for write pointer 2019-02-25 22:37:44 +00:00
ioat ioat: reduce completion writebacks 2019-02-18 07:44:17 +00:00
iscsi iscsi: Factor out check data segment length into a helper function 2019-03-01 22:47:21 +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: rename traceflag cmdline option to logflag 2018-12-03 19:50:15 +00:00
lvol lvol: add option to change clear method for lvol store creation 2019-02-28 20:50:27 +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
nvme nvme/tcp: optimize nvme_tcp_build_iovecs function. 2019-03-07 02:59:33 +00:00
nvmf nvmf: release the reservation when unregistering one registrant 2019-03-07 06:46:45 +00:00
reduce reduce: fix ordering bug 2019-02-04 19:23:35 +00:00
rocksdb event: Remove arg2 from spdk_app_start() 2019-03-05 08:43:12 +00:00
rpc rpc: add spdk_rpc_is_method_allowed 2018-12-05 00:35:35 +00:00
scsi scsi: Inline spdk_bdev_scsi_read/write into spdk_bdev_scsi_read_write 2019-02-20 20:17:56 +00:00
sock UT: fix the sock_ut failure because of the port conflict 2019-01-22 17:28:24 +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: Add seed value for guard to avoid 0 in case of all zero data. 2019-02-22 17:52:51 +00:00
vhost rte_vhost: introduce get/set vring base idx APIs 2019-02-27 01:43:16 +00:00
virtio virtio: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
Makefile ftl: Initial implementation 2019-01-11 09:15:39 +00:00