The blob's parent_id and allocate_all examined and/or modified in a two places bs_inflate_blob_open_cpl(). This transforms the two if statements scattered around the function into a switch statement to make it easier to understand how these two values are related. Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I2cff2d07a0089b52678035b2ece60db6a5f67a8e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17178 Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
blob_bs_dev.c | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h | ||
spdk_blob.map | ||
zeroes.c |