eabe783cc4
Use the macros for red black tree provided by Free BSD to speed up bdev name lookup in spdk_bdev_get_by_name(). In the bdev_multi_allocation test, we can get 3x ~ 5x speed up when creating multiple bdevs for various bdev nums. Signed-off-by: Jiewei Ke <jiewei@smartx.com> Change-Id: I49a2fbcccf06d4c36cbd445ce59e0b0dd4ada31d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7837 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_lvol_rpc.c | ||
vbdev_lvol.c | ||
vbdev_lvol.h |