Spdk/test/unit/lib
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 lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
blob thread: Simplify two unit tests with nested poll calls 2019-01-21 13:54:46 +00:00
blobfs thread: Simplify two unit tests with nested poll calls 2019-01-21 13:54:46 +00:00
event parse: add return value to app_parse callback 2019-01-18 10:08:09 +00:00
ftl ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00
ioat pci: remove ioat-specific attach functions 2018-12-07 17:24:19 +00:00
iscsi build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
json json: add utilities function enabling itaration over JSON object 2018-10-18 16:07:37 +00:00
jsonrpc jsonrpc: fix received JSON buffer overwrite 2019-01-10 14:31:37 +00:00
log build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
lvol lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
nvme test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvmf nvmf/tcp: Use the common buffer cache for each polling group 2019-01-18 19:21:58 +00:00
reduce reduce: remove close callback 2019-01-16 22:25:13 +00:00
scsi thread: Rename spdk_thread_msg to spdk_msg_fn 2018-12-18 23:31:08 +00:00
sock UT: fix the sock_ut failure because of the port conflict 2019-01-22 17:28:24 +00:00
thread thread: Rename spdk_free_thread to spdk_thread_exit 2019-01-17 11:24:38 +00:00
util dif: Fix opposite definition of DIF location parameter from SPDK NVMe API 2019-01-17 17:12:01 +00:00
vhost test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00