numam-spdk/test/json_config
Tomasz Zawadzki 95d8e7a683 lib/bdev: delay bdev_register notification til after examine
"bdev_register" notification was sent right when register
happened, which was misleading for any listener.
Action on the registered bdev might not have been possible
when examine took longer time.

Order of bdev_register notifications in json_config test
was modified, because they are being sent out as pollers
for the spdk_bdev_wait_for_examine() are being processed.
This is only because pollers are inserted at the tail,
and processed from the tail as well.

Order of notifications should not matter, as long as bdevs
are ready for use.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I45b769f184b386df2daa4152ee766636ef0668ad
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5213
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-01-15 08:28:57 +00:00
..
alias_rpc build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
clear_config.py sock: Save socket subsystem configuration in JSON format 2020-07-13 08:40:15 +00:00
config_filter.py lib/bdev: build bdev_wait_for_examine into subsystem 2021-01-15 08:28:57 +00:00
json_config.sh lib/bdev: delay bdev_register notification til after examine 2021-01-15 08:28:57 +00:00
json_diff.sh test/json_config: Freebsd supports python3 now so use it 2020-01-17 14:07:39 +00:00