Spdk/test
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
..
app app: spdk_app_fini no longer gives return code 2017-10-10 10:56:34 -04:00
blobfs/rocksdb test/blobfs: add timing for rocksdb benchmarks 2017-09-20 19:33:50 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/iscsi: Add iscsi_tgt with NVML backend test 2017-10-19 13:00:27 -04:00
lib bdev: add fallback from write_zeroes to writev 2017-10-23 11:50:16 -04:00
lvol test/lvol: RPC lvol tests 2017-10-18 12:38:24 -04:00
nvmf test/nvmf: extend test plan for NVMe-oF target 2017-10-10 16:27:58 -04:00
pmem test/pmem: RPC pmem functional tests. 2017-10-19 15:16:05 -04:00
unit blob: add write_zeroes support 2017-10-23 11:50:16 -04:00
vhost test/vhost: Fio test for vhost initiator for unmap 2017-10-19 20:14:50 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00