79ed1ba18d
This patch adds new interface for opening bdev and implements new style remove event. With that changes user can be notified about different types of events that occur in regards to bdev. spdk_bdev_open_ext function uses bdev name as an argument instead of bdev structure to remove race condition where user gets the bdev structure and bdev is removed after getting that structure and before open function is called. spdk_bdev_open is now deprecated. Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I44ebeb988bc6a2f441fc6a0c38a30668aad999ad Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455647 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
bdev_rpc.c | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
vtune.c |