+10
−1
Loading
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>