c1f9a62ca3
This patch fixes minor unit test deallocations around io_channels. It has not exposed any issues in blobstore code, but should always be right to prevent covering up any issues later. 1) Two spdk_bs_free_io_channel() were missing 2) Dirty shutdown should still free bs resources with _spdk_bs_free() Sample log at the end of UT, before this patch: thread.c: 200:_free_thread: *ERROR*: thread 0x617000000080 still has channel for io_device blobstore thread.c: 200:_free_thread: *ERROR*: thread 0x617000000080 still has channel for io_device blobstore thread.c: 200:_free_thread: *ERROR*: thread 0x617000000080 still has channel for io_device blobstore thread.c: 180:spdk_thread_lib_fini: *ERROR*: io_device blobstore not unregistered thread.c: 180:spdk_thread_lib_fini: *ERROR*: io_device blobstore not unregistered Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I187bc61bb6e094c9c740a987e7d14760551a0503 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/475872 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
blob.c | ||
bs_dev_common.c | ||
bs_scheduler.c | ||
Makefile |