numam-spdk/lib
Shuhei Matsumoto d0e3f624f0 scsi: LUN reset waits for completion of all prior tasks
IO submissions to backends have to complete first in LUN reset.
Previous patch makes the waiting time limited.

LUN reset don't use timeout for now because even if LUN reset reports
timeout, error handling of the initiator will be escalated and the
initiator will issue stronger command and will wait eventually
until all outstanding tasks completed.

Besides, not using timeout in LUN reset will make implementation simple.

If timeout becomes necessary, I'll do it in the separate patch later.

Change-Id: Ie9e4502068c19b1727ea65dc773ddf08cedec7c4
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/434766
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-12-10 20:34:11 +00:00
..
bdev bdev/rbd: full control over client configuration 2018-12-05 17:49:57 +00:00
blob log: remove "trace" from internal API 2018-12-03 19:50:15 +00:00
blobfs log: remove "trace" from internal API 2018-12-03 19:50:15 +00:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy lib/copy: unregister copy engine on finish 2018-10-15 17:42:20 +00:00
env_dpdk pci: remove virtio-specific attach functions 2018-12-07 17:24:19 +00:00
event app: fixup error handling in wait_subsystem_init RPC 2018-12-10 15:55:32 +00:00
ioat pci: remove ioat-specific attach functions 2018-12-07 17:24:19 +00:00
iscsi scsi: Serialize LUN reset execution 2018-12-10 20:34:11 +00:00
json json: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
jsonrpc jsonrpc client: non-blocking mode 2018-12-07 09:41:03 +00:00
log app: rename traceflag cmdline option to logflag 2018-12-03 19:50:15 +00:00
lvol lvol: check spdk_lvol for NULL before dereferencing it 2018-11-20 15:01:57 +00:00
nbd nbd: fixup return codes 2018-11-28 22:55:09 +00:00
net lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
nvme nvme_tcp: Make the header and data digest configurable. 2018-12-07 23:24:12 +00:00
nvmf nvmf/tcp: Fix the recv state switch if no shared buffer available 2018-12-10 20:21:41 +00:00
reduce reduce: don't pass size when loading pmem file 2018-12-06 00:22:36 +00:00
rocksdb build: remove xx_MODULES_LINKER_ARGS and xx_MODULES_FILES 2018-11-28 16:43:01 +00:00
rpc rpc: add spdk_rpc_is_method_allowed 2018-12-05 00:35:35 +00:00
scsi scsi: LUN reset waits for completion of all prior tasks 2018-12-10 20:34:11 +00:00
sock net: add asynchronous initialization and finish 2018-11-07 17:08:27 +00:00
thread thread: Fix check that prevented a debug log from printing 2018-12-07 17:13:10 +00:00
trace lib/trace: group registration check 2018-12-05 06:20:47 +00:00
ut_mock ut_mock: rename library from spdk_mock to ut_mock 2018-11-20 14:57:57 +00:00
util util/uuid: add a new uuid copy API. 2018-12-06 22:25:09 +00:00
vhost log: remove "trace" from internal API 2018-12-03 19:50:15 +00:00
virtio pci: remove virtio-specific attach functions 2018-12-07 17:24:19 +00:00
Makefile reduce: add configure option 2018-11-08 00:01:47 +00:00