Spdk/lib/bdev/ftl
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
..
bdev_ftl_rpc.c bdev/ftl: Improved ftl_bdev rpc error responses 2019-02-04 19:22:29 +00:00
bdev_ftl.c bdev/ftl: bdev_ftl_init_bdev: do not call cb if failed 2019-02-04 20:51:13 +00:00
bdev_ftl.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
Makefile bdev_ftl: Added FTL bdev module 2019-01-24 18:55:56 +00:00