+41
−0
Loading
Add dsm_range per IO request for trim (DSM deallocate). Spdk supports asynchronous trim requests for all cases except ZBD where trim does a zone reset. Set ioengine flag FIO_ASYNCIO_SYNC_TRIM in that case. While queuing add the necessary changes to fill dsm_range and submit the request. Change-Id: Ie7971c7cdf622d3fc44fe057c1b8991a1909e0e9 Signed-off-by:Ankit Kumar <ankit.kumar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22889 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>