7331affefd
Unmaps are only used within blobstore to improve device performance, never to zero blocks. Therefore, if the device does not support unmap, just skip it instead of writing zeroes. This is different than devices that elect to implement the write zeroes command as an unmap because they will return 0 for subsequent reads. That optimization is still in effect. Change-Id: Ie1bf98fe86d73b4ac40b41c0d2804db325716500 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/390306 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> |
||
---|---|---|
.. | ||
blob_bdev.c | ||
Makefile |