Shuhei Matsumoto 6716729c9c dif: Create iovec array so that a space for metadata is left for each block
This patch adds an API spdk_dif_set_md_interleave_iovs().
This function is used to leave a space for metadata for each block
when the network socket reads data, or to make the network socket
ignore a space for metadata for each block when the network socket
writes data. This function removes the necessity of data copy in
the SPDK application during DIF insertion and strip.

Change-Id: I018efd77bdadcaec4679eea4dc1e404f155b0879
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446216
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-03-07 07:03:27 +00:00
..
2019-03-05 06:45:11 +00:00
2017-07-12 18:12:52 -04:00
2018-12-03 19:50:15 +00:00
2019-02-20 01:14:18 +00:00
2018-07-06 22:49:20 +00:00
2019-01-29 00:12:07 +00:00
2019-01-16 22:25:13 +00:00
2018-12-05 00:35:35 +00:00
2019-01-22 23:22:16 +00:00
2019-03-01 21:38:02 +00:00
2019-01-30 06:36:25 +00:00
2018-12-18 17:26:49 +00:00
2018-12-06 22:25:09 +00:00
2019-02-01 09:29:12 +00:00
2019-02-06 19:04:21 +00:00