This patch will add the uring support to test kernel based local devices, e.g., files or local NVMe devices. To make one binary can support both uring and aio mode when --with-uring is complied. We also introduce a new global variable g_use_uring to switch the mode to use liburing or libaio. Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: I72851168cb377751313d7aa09040ef2a7eb76594 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3214 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
perf.c | ||
README.md |
Compiling perf on FreeBSD
To use perf test on FreeBSD over NVMe-oF, explicitly link userspace library of HBA. For example, on a setup with Mellanox HBA,
LIBS += -lmlx5