fb16799191
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> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |