Spdk/lib/ftl
Shuhei Matsumoto 1554a344c9 env: Add free_space parameter to spdk_ring_enqueue
DPDK rte_ring_enqueue_bulk() has free_space parameter to return
the amount of space in the ring after enqueue operation has finished.
This parameter can be used to wait when the ring is almost full and
wake up when there is enough space available in the ring.

Hence we add free_space to spdk_ring_enqueue() and spdk_ring_enqueue()
passes it to rte_ring_enqueue_bulk() simply.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I9b9d6a5a097cf6dc4b97dfda7442f2c4b0aed4d3
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456734
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-06-05 05:23:58 +00:00
..
ftl_anm.c lib/ftl:fix scanbuild error in ftl_anm.c 2019-05-16 20:52:50 +00:00
ftl_anm.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_band.c lib/ftl: report all errors in completion callback 2019-06-03 04:39:37 +00:00
ftl_band.h lib/ftl: improved padding during shutdown 2019-05-24 23:29:22 +00:00
ftl_core.c lib/ftl: Removed not needed assertion from ftl_submit_write() 2019-06-03 10:46:27 +00:00
ftl_core.h lib/ftl: report all errors in completion callback 2019-06-03 04:39:37 +00:00
ftl_debug.c ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_debug.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_init.c lib/ftl: added device pointer to ftl_io_channel 2019-06-03 04:39:37 +00:00
ftl_io.c lib/ftl: fixed metadata pointer arithmetic 2019-06-04 00:07:02 +00:00
ftl_io.h lib/ftl: use pre-allocated iov buffer 2019-06-03 04:39:37 +00:00
ftl_ppa.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_reloc.c env: Add free_space parameter to spdk_ring_enqueue 2019-06-05 05:23:58 +00:00
ftl_reloc.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_restore.c lib/ftl: Fix memory leak in restore module 2019-03-18 16:33:49 +00:00
ftl_rwb.c env: Add free_space parameter to spdk_ring_enqueue 2019-06-05 05:23:58 +00:00
ftl_rwb.h lib/ftl: improved padding during shutdown 2019-05-24 23:29:22 +00:00
ftl_trace.c lib/ftl: trace last LBA during completion 2019-05-16 07:56:20 +00:00
ftl_trace.h lib/ftl: traces refactor 2019-04-01 09:05:33 +00:00
Makefile ftl: Added trace support 2019-01-18 18:58:04 +00:00