Keep a global counter of the number of opened blobfs instances. Allocate the cache pool when the first instance is opened, and free the cache pool when the last instance closes. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I99db2b587b738badcd2a54c9f5dc6ec8370ce22c Reviewed-on: https://review.gerrithub.io/362606 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
blobfs_internal.h | ||
blobfs.c | ||
Makefile | ||
tree.c | ||
tree.h |