| c2c1a767 | 11-Jul-2024 |
Jim Harris <jim.harris@samsung.com> |
fio/bdev: use numa_id when allocating io buffers
fio does the io buffer allocations on a per-thread basis, so if a thread/job is associated with multiple bdevs, and those bdevs don't share the same
fio/bdev: use numa_id when allocating io buffers
fio does the io buffer allocations on a per-thread basis, so if a thread/job is associated with multiple bdevs, and those bdevs don't share the same numa_id, we will just revert to SPDK_ENV_NUMA_ID_ANY.
Also, if any of the bdevs report SPDK_ENV_NUMA_ID_ANY, revert to SPDK_ENV_NUMA_ID_ANY for that case too.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I92caf0dadc15af3196ae9e0f5ae410ad4cee28f3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24155 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| d4e419d6 | 10-Jun-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
fio_plugin: move current_f to spdk_fio_probe_ctx
Now that we have a probe context structure, move current_f there, as it's more fitting place to keep it.
Signed-off-by: Konrad Sztyber <konrad.sztyb
fio_plugin: move current_f to spdk_fio_probe_ctx
Now that we have a probe context structure, move current_f there, as it's more fitting place to keep it.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I101e0ea074077c7779ad5d7ac225f3b20820a357 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23589 Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
| 0d61c7d6 | 17-Apr-2024 |
Ankit Kumar <ankit.kumar@samsung.com> |
nvme/fio_plugin: trim add support for multiple ranges
For FIO_IOOPS_VERSION >= 34 fio supports multiple ranges per trim request. fio option num_range can be used to specify that. If multiple ranges
nvme/fio_plugin: trim add support for multiple ranges
For FIO_IOOPS_VERSION >= 34 fio supports multiple ranges per trim request. fio option num_range can be used to specify that. If multiple ranges are specified the io_u data buffer contains the start offset and number of bytes to be trimmed for each range.
This commit adds the necessary changes to support multi range trim by: * allocating per IO request dsm range buffer with correct size. * parsing the io_u data buffer and creating the trim request.
Change-Id: Ied274feeaba6dc36cab157ffd217730f9560da73 Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22890 Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|