d0ff231e36
In the reduce_dev_destroy case, we were not calling alloc_zero_buf in the load path because of a built in short circuit. This resulted in us decrementing the g_vol_count variable past 0 in cases where we were destroying a reduce volume that we had already freed. This resulted in us failing to allocate the g_zero_buf the next time we loaded a reduce volume. Change-Id: I429cbac1454bdcda502038af659d5302627ecab2 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478127 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
reduce.c |