numam-spdk/test/unit/lib/ftl/ftl_wptr
Wojciech Malikowski d23cc88d73 lib/ftl: Track cached lba map segments
Keep track of read lba map segments to avoid
unnecessary traffic in case ANM events.

Lba map is divided on 4KB segments which can
store 512 lba entries.

In case multipe read request on same segment
keep pending request list and process it in
read_lba_map() completion callback.

Change-Id: I2661bdb716ab7c975140e0b37aebcb17aa23901d
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453371
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-06-11 06:21:46 +00:00
..
.gitignore test/unit/ftl: Add unit test for write pointer functionality 2019-02-20 21:46:58 +00:00
ftl_wptr_ut.c lib/ftl: Track cached lba map segments 2019-06-11 06:21:46 +00:00
Makefile test/unit/ftl: Add unit test for write pointer functionality 2019-02-20 21:46:58 +00:00