+17
−0
+1
−1
+27
−0
+1
−0
Loading
External application might store array of created bdevs, and it might be useful to iterate over concrete bdevs. Currently possible solutions would be either iterate over all bdevs and filter bdevs by ourselfs, or iterate over needed bdevs one by one using spdk_bdev_open_ext. Patch introduces API to path the array of bdev names to iteration that allows to simplify described process. Change-Id: I37e1ba61f1dcf706d5d837deff4b0ea2c5e4e726 Signed-off-by:Vasilii Ivanov <iwanovvvasilij@gmail.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26941 Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com>