Loading
app/spdk_nvme_perf: Move number_ios to per-namespace
This change adds a `number_ios` field to `struct ns_worker_ctx` and updates the I/O submission logic to use this per-namespace value instead of the global `g_number_ios`. This refactoring prepares the codebase for future enhancements, such as supporting percent-based number of I/Os per namespace, by allowing each namespace worker to track its own I/O limit independently. No functional change for users specifying an absolute number of I/Os, but this lays the groundwork for more flexible exit criteria. Change-Id: I132a1ffb3873a6f2d453b9038ad4f5b70ae2e7d7 Signed-off-by:Avri Altman <avri.altman@sandisk.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26439 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Ankit Kumar <ankit.kumar@samsung.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com>