Spdk/test/unit/lib/bdev
Maciej Szwed adb39585ef lvol: add option to change default data erase method
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>
2019-01-23 22:25:37 +00:00
..
bdev_raid.c thread: Rename spdk_thread_msg to spdk_msg_fn 2018-12-18 23:31:08 +00:00
bdev.c histograms: add unit tests for public bdev api 2019-01-22 17:06:52 +00:00
crypto.c test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
gpt bdev/gpt: examine my_lba in primary header 2019-01-14 21:26:46 +00:00
mt QoS/Bdev: add the Read/Write separate bandwidth rate limits 2019-01-22 23:21:43 +00:00
part.c test: Use ut_multithread framework in bdev/part test 2018-12-23 00:56:01 +00:00
pmem test: Use ut_multithread framework in bdev/pmem 2019-01-15 16:53:12 +00:00
scsi_nvme.c build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
vbdev_lvol.c lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
Makefile bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00