+58
−1
+5
−1
+3
−1
Loading
Support UNMAP by fallocate FALLOC_FL_PUNCH_HOLE. Note that fallocate() is synchronous syscall, reactor would block until operations to disk complete. This could significantly hurt performance. For general purpose, AIO based UNMAP(even WRITE ZERO) is *not* suggested to be used in production environment. Instead of an entire NVMe bdev, we can test UNMAP in regular file based development environment. Suggested by Changpeng, support RPC command to enable *fallocate* for a single AIO bdev(rather than enabling this feature for all the AIO bdev at compiling step), this looks appropriate enough. Change-Id: Iced8b9506e75744ad2e45cecc9995c77224d077b Signed-off-by:zhenwei pi <pizhenwei@bytedance.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20454 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>