+8
−8
+2
−2
+30
−4
+3
−3
+1
−1
Loading
This is the first patch of a series that replaces single global write buffer with per-io_channel buffers. This change is intended to improve performance for multithreaded workloads. This patch changes the way the ftl_io_channels are allocated by only keeping an ftl_io_channel pointer inside spdk_io_channel's context. It allows for delaying IO channel destruction, which in turn allows the FTL to iterate over all exisiting IO channels without locking. Change-Id: I5e0cab8043a2b5f747e971dd3d65ed2546c8cf26 Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/900 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>