+36
−29
Loading
We don't need to allocate/free tasks on every I/O; we can just allocate the tasks and buffers once in the initial submit_io() loop. This also removes the remaining direct DPDK calls from the hotplug example. Change-Id: Ie8774b289e650b3fa64614f2da0efbefd013a610 Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/376864 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>