ftl ut: Fix the compilation issue.
If we did not configure with "--enable-debug". it will trigger the compliation failure since this function is not defined. Change-Id: Ia1795da736be55d4dd1418a2e74edefff7797f11 Signed-off-by: Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1097 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
692fce3222
commit
34bff15a19
@ -73,7 +73,9 @@ DEFINE_STUB(spdk_bdev_writev_blocks, int, (struct spdk_bdev_desc *desc, struct s
|
||||
DEFINE_STUB(spdk_bdev_get_num_blocks, uint64_t, (const struct spdk_bdev *bdev), 1024);
|
||||
DEFINE_STUB(spdk_bdev_get_md_size, uint32_t, (const struct spdk_bdev *bdev), 0);
|
||||
DEFINE_STUB(spdk_bdev_get_block_size, uint32_t, (const struct spdk_bdev *bdev), 4096);
|
||||
#if defined(FTL_META_DEBUG)
|
||||
DEFINE_STUB(ftl_band_validate_md, bool, (struct ftl_band *band), true);
|
||||
#endif
|
||||
DEFINE_STUB_V(ftl_trace_wbuf_fill, (struct spdk_ftl_dev *dev, const struct ftl_io *io));
|
||||
|
||||
struct spdk_io_channel *
|
||||
|
Loading…
Reference in New Issue
Block a user