numam-spdk/lib/bdev
wuzhouhui aea859eaab bdev/ftl: bdev_ftl_init_bdev: do not call cb if failed
According to the current implementation, the functions that called by
bdev_ftl_init_bdev() will not call callback if they return errno.
Besides, the caller of bdev_ftl_init_bdev() (e.g.
spdk_rpc_construct_ftl_bdev()) don't expect callback be called if callee
return errno.

Change-Id: I5f36d5332ac66db65bb2090e9625a73b1107306b
Signed-off-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-on: https://review.gerrithub.io/c/443068
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-02-04 20:51:13 +00:00
..
aio bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
crypto bdev/crypto: add notice when base bdev not available at create time 2019-02-01 12:37:02 +00:00
error bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
ftl bdev/ftl: bdev_ftl_init_bdev: do not call cb if failed 2019-02-04 20:51:13 +00:00
gpt bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
iscsi bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
lvol bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
malloc Make: Add deps for each shared obj individually 2018-10-09 21:45:26 +00:00
null bdev/null: Remove clearing errno duplicated with spdk_strtol 2019-01-29 17:39:18 +00:00
nvme string: spdk_strtol to delegate additional error checking 2019-01-29 00:10:57 +00:00
ocf OCF: add support of write_json_config 2019-01-29 06:10:36 +00:00
passthru bdev/passthru: add notice when base bdev not available at create time 2019-02-01 12:37:34 +00:00
pmem bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
raid bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
rbd bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
rpc bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
split bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
virtio bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
bdev.c bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
Makefile OCF: add OCF module 2019-01-28 09:41:52 +00:00
part.c bdev: Improve spdk_bdev_open() to print string describing error number 2019-01-24 10:50:34 +00:00
scsi_nvme.c bdev: move error union to internal spdk_bdev_io struct 2018-06-26 20:04:07 +00:00
vtune.c mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00