Spdk/lib
Maciej Szwed b9d123b814 blobstore: on init write zeroes to metadata and unmap rest
Currently on blobstore creation we use write zeros everytime.
Some drives does not support write zeros, but support unmap.
We should do write zeroes only on metadata and try to unmap
data clusters

Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Change-Id: Iae36c1ccacc08340e79ad40c4c9a2c53dda920ba
Reviewed-on: https://review.gerrithub.io/387152
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-11-22 14:12:29 -05:00
..
bdev rte_virtio: rename virtio_pci_ops to virtio_dev_ops 2017-11-21 17:21:00 -05:00
blob blobstore: on init write zeroes to metadata and unmap rest 2017-11-22 14:12:29 -05:00
blobfs blobfs: Add conf parse for blobfs. 2017-11-15 18:03:00 -05:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy event: Pollers must now be unregistered from the thread they run on. 2017-11-17 11:11:23 -05:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk pci/dpdk: use rte_eal_dev_attach/detach for DPDK 17.11-rc3 2017-11-15 17:52:05 -05:00
event event/subsystem: fix subsystem init failure handling 2017-11-20 19:28:44 -05:00
ioat copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi iscsi: stop using "OK/NG" for comments in ACL 2017-11-22 11:17:13 -05:00
json json: add function to write UTF-16LE strings 2017-07-12 18:12:52 -04:00
jsonrpc log: rename SPDK_TRACELOG to SPDK_DEBUGLOG 2017-08-29 13:25:58 -04:00
log log: Create a separate implementation file for common log flag operations. 2017-11-14 15:53:37 -05:00
lvol lvol: fix lvol store load on lvols load fail 2017-11-15 18:05:09 -05:00
nbd nbd: use pthread_create instead of fork 2017-11-22 11:44:05 -05:00
net net&iscsi: force overwrite "*" and "[*]" by wildcard 2017-11-14 15:44:40 -05:00
nvme nvme: normalize PCI addresses before comparing 2017-11-16 18:17:09 -05:00
nvmf nvmf: Fix the bug when destroy rdma queue pair. 2017-11-20 16:48:15 -05:00
rocksdb rpc: remove rpc subsystem 2017-11-10 17:00:58 -05:00
rpc rpc: only unlink unix domain socket if *we* have created it 2017-11-20 19:30:04 -05:00
scsi event: Pollers must now be unregistered from the thread they run on. 2017-11-17 11:11:23 -05:00
trace trace: Move trace flags to separate implementation file 2017-11-15 18:57:12 -05:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util io_channel: change return type of spdk_channel_msg 2017-11-17 11:25:14 -05:00
vhost vhost: remove needless if branch for bvdev/svdev 2017-11-21 16:10:09 -05:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00