Spdk/test/unit/lib/ftl/ftl_reloc.c
Konrad Sztyber 0ee4bb7789 lib/ftl: report all errors in completion callback
There's no point in synchronously returning an error from ftl_io_write
/ ftl_io_read as they're also reported in the IO's completion callback.
All errors are now reported through io->status.

Change-Id: I4adf4e13221b63715625276042e1172cd63b8f9b
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455521
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-06-03 04:39:37 +00:00
..
.gitignore test/unit/ftl: Add module unit tests for relocate 2019-02-13 18:48:35 +00:00
ftl_reloc_ut.c lib/ftl: report all errors in completion callback 2019-06-03 04:39:37 +00:00
Makefile test/unit/ftl: Add module unit tests for relocate 2019-02-13 18:48:35 +00:00