Spdk/include/spdk
Shuhei Matsumoto 5bc400f382 lib/bdev: Add spdk_bdev_io_get_cb_arg() to get cb_arg of bdev_io
bdev_io is passed to the callback to the timeout I/O, but the context
of bdev_io is stored in cb_arg and spdk_bdev_abort() needs cb_arg.

Hence add an new helper function, spdk_bdev_io_get_cb_arg(), to get
cb_arg of bdev_io.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I5eb25ffdad2467c55a1b55f8cf0accef8799bb4b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2621
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-06-08 09:28:27 +00:00
..
accel_engine.h lib/accel: add compare function to accel fw 2020-05-20 14:16:22 +00:00
assert.h
barrier.h
base64.h
bdev_module.h lib/bdev: Add SPDK_BDEV_IO_STATUS_ABORTED to notify the upper layer correctly 2020-06-08 09:28:27 +00:00
bdev_zone.h
bdev.h lib/bdev: Add spdk_bdev_io_get_cb_arg() to get cb_arg of bdev_io 2020-06-08 09:28:27 +00:00
bit_array.h
blob_bdev.h
blob.h
blobfs_bdev.h
blobfs.h
conf.h
cpuset.h
crc16.h
crc32.h lib/util: move some crc32 functions to internal header 2020-05-14 10:37:14 +00:00
dif.h
endian.h
env_dpdk.h
env.h env: Add spdk_mem_reserve 2020-05-20 14:14:21 +00:00
event.h
fd.h
file.h
ftl.h
gpt_spec.h
histogram_data.h
idxd.h misc comment/echo cleanup, replace use of word DMA for consistency 2020-06-01 09:22:54 +00:00
ioat_spec.h
ioat.h
iscsi_spec.h
json.h
jsonrpc.h
likely.h
log.h lib/log: add spdk_vlog function 2020-05-15 08:10:39 +00:00
lvol.h
memory.h
mmio.h
nbd.h
net.h
notify.h
nvme_intel.h
nvme_ocssd_spec.h
nvme_ocssd.h
nvme_spec.h nvme: extract cdata sgls as a separate struct 2020-06-05 09:04:01 +00:00
nvme.h nvme: solve the spdk_nvme_connect compatibilty issue. 2020-06-05 09:04:11 +00:00
nvmf_cmd.h
nvmf_fc_spec.h
nvmf_spec.h
nvmf_transport.h nvmf: move cdata subset from transport to ctrlr 2020-06-05 09:04:01 +00:00
nvmf.h nvmf: remove spdk_nvmf_tgt_transport_write_config_json() 2020-06-05 09:03:26 +00:00
opal_spec.h
opal.h nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
pci_ids.h env: add the device ID of virtio device 2020-05-12 08:12:22 +00:00
pipe.h
queue_extras.h
queue.h
reduce.h
rpc.h
scsi_spec.h
scsi.h
sock.h sock/posix: Add recv_buf_size and send_buf_size socket layer options 2020-06-02 09:48:00 +00:00
stdinc.h
string.h
thread.h lib/thread: thread_poll() polls until the exiting thread is exited 2020-04-09 13:44:14 +00:00
trace.h
util.h
uuid.h
version.h version: 20.07 pre 2020-05-06 12:43:20 +00:00
vhost.h lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
vmd.h