Spdk/test/unit/lib/ftl
Mateusz Kozlowski e49ae312b1 lib/ftl: Add ftl_io argument to internal I/O callbacks
Almost all I/O callbacks in ftl utilize data in ftl_io, which is
initialized as callback argument in ftl_io_init_internal. This patch
changes the behavior to always returning the ftl_io struct in addition
to an extra opaque buffer.

Signed-off-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com>
Change-Id: I611ab1b33575f599798a2bb65c231a724c852c7f
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455831
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-06-07 18:26:57 +00:00
..
common lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_band.c lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_io.c lib/ftl: Add ftl_io argument to internal I/O callbacks 2019-06-07 18:26:57 +00:00
ftl_md lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_ppa ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00
ftl_reloc.c lib/ftl: Add ftl_io argument to internal I/O callbacks 2019-06-07 18:26:57 +00:00
ftl_rwb.c lib/ftl: consider 3D TLC NAND read unit size 2019-05-24 23:29:22 +00:00
ftl_wptr lib/ftl: Add ftl_io argument to internal I/O callbacks 2019-06-07 18:26:57 +00:00
Makefile lib/ftl: allow parent/child relations between IOs 2019-04-24 21:57:06 +00:00