Spdk/lib
Vitaliy Mysak 4fad4b86dd ocf: finish OCF reqs after put_io_channel
Relaunch queue poller on put_io_channel callback of OCF bdev
  to delay thread shutdown. New poller will finish all pending
  OCF requests as there might be some even after all SPDK IOs
  completed.

This solves the issue of OCF not being able to
  complete all its work because of queue poller getting
  unregistered in callback of put_io_channel.

This patch also changes unregister procedure:
  we call ocf_cache_stop in callback of io_device_unregister
  instead of in callback of bdev_unregister.

Change-Id: Ib7e41fc25e71029a73bb76a62e39e6bf4b8189ce
Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/444276
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>
2019-04-03 00:00:20 +00:00
..
bdev ocf: finish OCF reqs after put_io_channel 2019-04-03 00:00:20 +00:00
blob blobstore: switch to spdk_*malloc(). 2019-03-26 23:27:29 +00:00
blobfs blobfs: spdk_fs_thread_ctx is no longer a channel 2019-04-02 23:24:30 +00:00
conf string: spdk_strtol to delegate additional error checking 2019-01-29 00:10:57 +00:00
copy lib/copy: unregister copy engine on finish 2018-10-15 17:42:20 +00:00
env_dpdk env/dpdk: add spdk_pci_fini() 2019-03-28 14:50:46 +00:00
event thread: Implement a thread scheduler 2019-04-02 23:24:30 +00:00
ftl lib/ftl: check for null 2019-04-02 08:22:48 +00:00
ioat ioat: don't rely on phys_addr retrieved from spdk_malloc() 2019-03-20 01:06:09 +00:00
iscsi iscsi: fix up segment fault due to failed initialization 2019-04-02 19:25:00 +00:00
json json_util: add debug logs to spdk_json_decode_object function 2019-01-10 14:31:37 +00:00
jsonrpc jsonrpc: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
log app, log: clarify how to enable log flags 2019-03-29 02:35:48 +00:00
lvol lvol: Fix for lvol failed deletion flow 2019-04-02 19:23:22 +00:00
nbd nbd: avoid impact to device setup by other task 2019-02-15 22:02:48 +00:00
net net: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
notify notify: add notification library 2019-03-29 21:15:14 +00:00
nvme nvme: remove set_state after nvme_ctrlr_identify_id_desc_namespaces 2019-04-01 09:09:07 +00:00
nvmf rdma: optimize and move buffers variable. 2019-04-02 23:26:08 +00:00
reduce reduce: account for compressed buffers 2019-04-02 21:40:21 +00:00
rocksdb blobfs: spdk_fs_thread_ctx is no longer a channel 2019-04-02 23:24:30 +00:00
rpc rpc: add get_spdk_version rpc method 2019-03-26 22:54:28 +00:00
scsi scsi: Remove the prefix spdk_ from names of private functions 2019-04-01 00:52:56 +00:00
sock sock/vpp: do not continue if buf writed is less than provided 2019-03-12 22:19:42 +00:00
thread thread: add spdk_thread_is_idle() 2019-03-01 21:38:02 +00:00
trace lib/trace: add trace_record tool 2019-01-30 06:36:25 +00:00
ut_mock thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
util dif: Insert DIF into newly read data block by stream fashion 2019-03-13 01:40:02 +00:00
vhost vhost/scsi: don't hotplug targets to stopped sessions 2019-03-29 20:19:12 +00:00
virtio virtio/pci: don't rely on phys_addr retrieved from spdk_malloc() 2019-03-20 01:06:09 +00:00
Makefile notify: add notification library 2019-03-29 21:15:14 +00:00