numam-spdk/include
Ben Walker 2b768821bf blob: spdk_bs_destroy now only zeroes the super block
The function just needs to zero out metadata so that the
blobstore is effectively destroyed. If the user wants
to unmap the rest of the disk after the blobstore is
destroyed, they are free to do so. On future initializations
of blobstores the code will do the unmapping, so performance
is not impacted.

While here, implement the zeroing using the new
write_zeroes functionality instead of allocating a buffer
full of zeroes.

Change-Id: I7f18be0fd5e13a48b171ab3f4d5f5e12876023bc
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/390307
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>
2017-12-06 17:21:46 -05:00
..
linux rte_virtio: use linux headers where possible 2017-10-06 17:15:19 -04:00
spdk blob: spdk_bs_destroy now only zeroes the super block 2017-12-06 17:21:46 -05:00
spdk_internal blob: spdk_bs_destroy now only zeroes the super block 2017-12-06 17:21:46 -05:00
Makefile build: add 'make install' rule 2017-11-27 17:58:02 -05:00