numam-spdk/lib/blob
Daniel Verkamp d189b8eedd blob_bdev: add unmap -> write_zeroes fallback
If the bdev doesn't support unmap, we should not send unmap I/O.
Instead, use spdk_bdev_write_zeroes(), which has a fallback in the bdev
layer for devices that don't natively support it.

Change-Id: I1bd05d3518716f8e60501dbb4f9da0fee23cf7c2
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/383491
Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2017-10-26 17:23:58 -04:00
..
bdev blob_bdev: add unmap -> write_zeroes fallback 2017-10-26 17:23:58 -04:00
blobstore.c blob: fix bug when specifing cluster size < 4096 2017-10-26 14:21:22 -04:00
blobstore.h blobstore: add bstype to blobstore super block 2017-10-17 13:36:03 -04:00
Makefile blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00
request.c blob: add write_zeroes support 2017-10-23 11:50:16 -04:00
request.h blob: add write_zeroes support 2017-10-23 11:50:16 -04:00