bdev: change error to warning
Ran into this while putting the compress tests in CI, an error message will print following the completion of the app, checked with Jim and it is actually not an error when lvols are involved so change to warn now as this will show up in everyone's build log for bdev testing. Change-Id: Ib509b89acf5b6bfbeb349692ab59bbea4964557f Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463803 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
0972520167
commit
2b483475d9
@ -1245,7 +1245,7 @@ _spdk_bdev_finish_unregister_bdevs_iter(void *cb_arg, int bdeverrno)
|
||||
*/
|
||||
for (bdev = TAILQ_LAST(&g_bdev_mgr.bdevs, spdk_bdev_list);
|
||||
bdev; bdev = TAILQ_PREV(bdev, spdk_bdev_list, internal.link)) {
|
||||
SPDK_ERRLOG("Unregistering claimed bdev '%s'!\n", bdev->name);
|
||||
SPDK_WARNLOG("Unregistering claimed bdev '%s'!\n", bdev->name);
|
||||
spdk_bdev_unregister(bdev, _spdk_bdev_finish_unregister_bdevs_iter, bdev);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user