bdev: fix order of generated RPCs
set_bdev_qos_limit RPCs must come after the RPCs that create its bdev. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I7008745f9c56d9bc579decc7fe3c4d0d58950754 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451414 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
07ec3d4789
commit
e1112c7a49
@ -716,11 +716,11 @@ spdk_bdev_subsystem_config_json(struct spdk_json_write_ctx *w)
|
||||
}
|
||||
|
||||
TAILQ_FOREACH(bdev, &g_bdev_mgr.bdevs, internal.link) {
|
||||
spdk_bdev_qos_config_json(bdev, w);
|
||||
|
||||
if (bdev->fn_table->write_config_json) {
|
||||
bdev->fn_table->write_config_json(bdev, w);
|
||||
}
|
||||
|
||||
spdk_bdev_qos_config_json(bdev, w);
|
||||
}
|
||||
|
||||
spdk_json_write_array_end(w);
|
||||
|
Loading…
Reference in New Issue
Block a user