Spdk/test/unit/lib/ftl/ftl_reloc.c
Konrad Sztyber 1d97387549 lib/ftl: use pre-allocated iov buffer
Keep an array of iovecs tied to each IO. Internal IOs can have
iov_cnt > 1 without having to allocate additional memory. User's iovec
can now be modified too (e.g. when splitting the request).

Change-Id: Iec73c6dad59acdc331a1461fd7feac085138a8de
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455525
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-06-03 04:39:37 +00:00
..
.gitignore test/unit/ftl: Add module unit tests for relocate 2019-02-13 18:48:35 +00:00
ftl_reloc_ut.c lib/ftl: use pre-allocated iov buffer 2019-06-03 04:39:37 +00:00
Makefile test/unit/ftl: Add module unit tests for relocate 2019-02-13 18:48:35 +00:00