test: ftl: add tests for ftl_is_mapped()

This commit is contained in:
S.J.R. van Schaik 2017-09-21 17:27:15 +02:00
parent 5004fed4aa
commit f3eb5df644
5 changed files with 98 additions and 0 deletions

View file

@ -447,6 +447,11 @@ int ftl_resume_map(struct ftl_map *map)
* depth until we have either found that there is no further subtree to
* traverse or until we have found the actual user page.
*/
#ifdef trace_path
#undef trace_path
#define trace_path __real_trace_path
#endif
int trace_path(struct ftl_map *map, struct ftl_page_desc *new_page_desc,
uint32_t *page, uint32_t va)
{