Loading
bdev/nvme: respond to attach RPC after bdev is examined
This makes use of newly added spdk_bdev_wait_for_examine(), to only respond to RPC when bdev was fully examined. Fixes #1760 Issue above was triggered in DD tests where application finished before the examine had a chance to fully finish. This patch addresses it by making sure that nvme attach RPC waits for completion of the examine. Later patch in series adds the bdev_wait_for_examine RPC to multiple static configuration files. Making sure similar issues do no occur for bdev modules which do not have changes in their RPC as here. The issue does not occur for JSON configs generated from apps, see patch: (e57bb1af)lib/bdev: build bdev_wait_for_examine into subsystem Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ie3ca2933af97a40ae01ecc3eefe2161d2d34c602 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5483 Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>