adb39585ef
Some users require to do write zeroes operation when erasing data on lvol. Currently the default method is unmap. This patch adds flag to spdk_rpc_construct_lvol_bdev call that changes default erase method. This is also a base implementation for possible future function for erasing data on lvol bdev. Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I8964f170b13c2268fe3c18104f7956c32be96040 Reviewed-on: https://review.gerrithub.io/c/441527 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> |
||
---|---|---|
.. | ||
bdev | ||
blob_bs_dev.c | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h | ||
zeroes.c |