numam-spdk/test/unit/lib/ftl/ftl_io.c
Mateusz Kozlowski 0cb8a3319c lib/ftl: Update initialization of io channel
Changed initialization of io channels to be made in the core/read
thread themselves. This fixes potential hangs when using the ftl lib
directly, without bdev and initializing an ftl device from a different
thread than will be used for IO.

Signed-off-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com>
Change-Id: I7089cc46cc6de5e9008e7c22cc01d2b4103ebb14
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464891
Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.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-08-12 21:37:13 +00:00
..
.gitignore lib/ftl: allow parent/child relations between IOs 2019-04-24 21:57:06 +00:00
ftl_io_ut.c lib/ftl: Update initialization of io channel 2019-08-12 21:37:13 +00:00
Makefile lib/ftl: allow parent/child relations between IOs 2019-04-24 21:57:06 +00:00