If bdev is configured to use separate buffers for metadata transfer, but it doesn't support the write zeroes command, pass empty zeroed buffer to make sure the metadata is cleared out as well. Change-Id: If6f024266067e5764a28a276296f651d31da4792 Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457628 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdev_ut.c | ||
Makefile |