+3
−1
+48
−3
+4
−1
Loading
This patch adds support for null IOs in the AIO fsdev by introducing a new RPC flag (--enable-skip-rw) during fsdev creation. When enabled, the AIO fsdev will skip read/write operations, similar to how the null bdev operates in the bdev module. This feature facilitates performance testing across the entire stack without actual data read/write operations. Implementing this within the fsdev/aio module, rather than creating a separate fsdev/null module, avoids unnecessary code duplication and keeps the AIO fsdev focused as a comprehensive example demonstrating various features, including null IO capability. Change-Id: Id7e84711628f23e6faa9128f9e428f759e0032c9 Signed-off-by:Yoray Zack <yorayz@nvidia.com> Signed-off-by:
Vishwanath Venkatesan <vvenkatesan@nvidia.com> Signed-off-by:
Ben Walker <ben@nvidia.com> Signed-off-by:
Anton Nayshtut <anayshtut@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24563 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>