numam-spdk/test/unit/lib/ftl/ftl_md
Wojciech Malikowski fcd2364c6a lib/ftl: Metadata read/write interfaces refactor
Extended ftl_band_read_lba_map() interface to provide
range of lba map to read.

Added ftl_xfer_offset_from_ppa() function for
calculating offset of read portion of lba map
based on ppa address from IO. This offset is
used for coping read lba map portion  to internal
ftl buffer.

Change-Id: I1c72a18c79eda8c33cd0b20ea36a5d9521a09d06
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449435
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-06-06 07:26:35 +00:00
..
.gitignore test/unit/ftl: Add unit tests for metadata serialization 2019-03-18 14:04:29 +00:00
ftl_md_ut.c lib/ftl: Metadata read/write interfaces refactor 2019-06-06 07:26:35 +00:00
Makefile test/unit/ftl: Add unit tests for metadata serialization 2019-03-18 14:04:29 +00:00