Loading
bdevperf: Fix the display name issue.
This patch does the following work: 1 Fix the performance display name issue. When doing the io statistics, we call spdk_bdev_get_name, however this time, we are already calling spdk_app_stop, so we lost the name info. Currently code, we will not see the correct name. And this patch will help to fix this issue, by storing the name at the begining. 2 Fix memory leak issue. It seems that we do not free the target space. Change-Id: I716bda1a7340921e01f9f9ea28b2b908cd19e0af Signed-off-by:Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/385347 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>