Spdk/test/unit/lib
Changpeng Liu 87d5d832e7 blobfs: refactor cache_free_buffers()
cache_free_buffers() was only used in the file deletion and unload, and
the file is also freed after that, so here we combine the cache free and
file free together and do the cache free in the cache thread.

Change-Id: I57e9a27c9a6467bcf6c85cd277db3b57e06c98e5
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1795
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-05-11 12:34:16 +00:00
..
bdev lvol: remove lvol_task structure 2020-04-24 15:45:21 +00:00
blob lib/blob: clear blobid and md_page on blob_create failure 2020-05-07 08:30:19 +00:00
blobfs blobfs: refactor cache_free_buffers() 2020-05-11 12:34:16 +00:00
event lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
ftl lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
idxd lib/idxd: add unit test for idxd_wq_config() 2020-04-23 15:48:32 +00:00
ioat ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
iscsi lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in iscsi.h 2020-04-20 07:38:29 +00:00
json ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
jsonrpc lib/jsonrpc: remove spdk_ prefix from internal functions. 2020-05-11 12:29:07 +00:00
log log: spdk_log_dump more characters than required 2020-04-14 11:34:45 +00:00
lvol ut/lvol: simplify UT by using handy CUnit macros 2020-03-31 07:57:10 +00:00
notify ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme nvme/ctrlr: Allow targets not supporting Keep Alive Timer feature ID 2020-05-07 10:41:31 +00:00
nvmf include/spdk_internal: remove SPDK_LOG_NVME from nvme_tcp.h 2020-05-11 12:29:07 +00:00
reduce test: add generic unlink wrapper 2020-05-06 12:43:57 +00:00
scsi lib/scsi: Remove spdk prefix from private functions 2020-04-16 08:09:14 +00:00
sock sock/uring: use batched manner to get the cqes. 2020-05-06 12:43:33 +00:00
thread ut/thread: Test creating and destroying nested I/O channels 2020-04-09 13:44:14 +00:00
util ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
vhost unit: add vhost packed ring test 2020-04-15 03:55:59 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile lib/idxd: add unit test framework and first unit test 2020-04-23 15:48:32 +00:00