+30
−24
Loading
Use the macros for red black tree provided by Free BSD to speed up io_device lookup. This change was reverted once but is re-submitted because the critical issue was fixed by the preceding patches. In addition to the fix, add unit tests to verify the fix explicitly. Signed-off-by:Jiewei Ke <jiewei@smartx.com> Signed-off-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I97ed77f6e5ceacdf2593c9751b55a7d0b92c0b35 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8525 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>