Spdk/lib
Jim Harris e045a02ca0 blobfs: cleanup cache pool
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>
2017-05-25 16:55:03 -04:00
..
bdev bdev/error: do not submit an I/O that will be failed 2017-05-25 13:53:06 -04:00
blob bdev: make enum spdk_bdev_io_status private 2017-05-23 16:30:10 -04:00
blobfs blobfs: cleanup cache pool 2017-05-25 16:55:03 -04:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy io_channel: Remove unique flag 2017-05-22 19:27:17 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: remove element size from spdk_ring_create 2017-05-25 13:52:49 -04:00
event env: remove element size from spdk_ring_create 2017-05-25 13:52:49 -04:00
ioat include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
iscsi iscsi: free mempools on exit 2017-05-25 13:52:09 -04:00
json include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
jsonrpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
log log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
net build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
nvme nvme/host: use spec-compliant PSDT value 01b 2017-05-23 17:10:50 -04:00
nvmf bdev: make enum spdk_bdev_io_status private 2017-05-23 16:30:10 -04:00
rpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
scsi scsi: fix scsi compliance issue for inquiry VPD NAA identifier 2017-05-24 11:51:00 -04:00
trace include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
util io_channel: Remove unique flag 2017-05-22 19:27:17 -04:00
vhost vhost: close remaining memory region FDs during backend cleanup 2017-05-24 11:53:47 -04:00
Makefile blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00