Spdk/test/unit/lib
Seth Howell 3f9cbe513b blob: add write_zeroes support
Unmap does not guarantee that erased blocks will return all zeroes.
using write_zeroes when unmapping metadata gives the
desired behavior for a blob.

Only metadata pages will be cleared with write_zeroes in this patch;
blob data clusters will still call unmap.  This behavior may be made
configurable in a later patch (to allow the user to request zeroing of
clusters rather than just unmapping).

Change-Id: I1b210abac110867ce703bcfdeb634eb45aa9d5c9
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/372004
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-10-23 11:50:16 -04:00
..
bdev lvol: add reference counter for open lvols 2017-10-20 16:06:53 -04:00
blob blob: add write_zeroes support 2017-10-23 11:50:16 -04:00
blobfs blobfs, tree: fix a bug in spdk_tree_insert_buffer 2017-08-15 16:36:41 -04:00
event ut/event: add fatal assert for allocation 2017-10-17 11:34:38 -04:00
ioat test: move IOAT library unit test to test/unit 2017-06-21 18:57:35 -04:00
iscsi iscsi: delete spdk_iscsi_find_init_grp() function. 2017-10-16 19:27:35 -04:00
json test/json_util_ut: assert that string is valid 2017-07-12 18:13:23 -04:00
jsonrpc jsonrpc: allow asynchronous request completion 2017-07-12 12:10:31 -04:00
log log: add new parm to spdk_trace_dump() 2017-09-06 17:33:03 -04:00
lvol lvol: Add spdk_lvs_destroy() API [2/3] 2017-10-20 16:06:53 -04:00
nvme ut/nvme: clean up mutex and mutexattr 2017-10-17 11:34:38 -04:00
nvmf nvmf: don't allow 0xFFFFFFFF as a NSID 2017-09-19 17:16:59 -04:00
scsi scsi: add UT code for spdk_scsi_dev_add/delete_port 2017-10-12 15:46:14 -04:00
util util: fail io_device unregister if foreach operations outstanding 2017-09-20 19:27:06 -04:00
vhost vhost: wrap rte_vhost_vring into spdk_vhost_vring 2017-10-17 13:37:56 -04:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00