numam-spdk/test/unit/lib
Shuhei Matsumoto 8287ae7814 lib/scsi: Abort management tasks being queued when removing LUN
SCSI management task is for SCSI tasks which is submitted after it,
and all such SCSI tasks are aborted by the last patch when we
remove LUN dynamically. Hence we can abort all SCSI management tasks
being queued when removing LUN.

Add simple unit tests too.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I9be3f910ab4bbb99cd399f71dc716a7c40f34fe5
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/474022
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-11-14 18:08:12 +00:00
..
bdev test/unit: Add bdev_zone_ut.c to unittest. 2019-11-07 13:23:18 +00:00
blob ut/cunit: added missing semicolon on CU_ASSERT macros 2019-07-24 18:21:22 +00:00
blobfs blobfs_bdev_ut : fix memory leak 2019-11-07 13:24:15 +00:00
event RPC: rename start_subsystem_init to framework_start_init 2019-09-30 21:13:41 +00:00
ftl lib/ftl: track defragged bands in ftl_reloc 2019-08-27 18:55:40 +00:00
ioat test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
iscsi ut/iscsi: Use TAILQ_HEAD_INITIALIZER() for g_write_pdu_list 2019-11-12 05:31:59 +00:00
json ut/cunit: added missing semicolon on CU_ASSERT macros 2019-07-24 18:21:22 +00:00
jsonrpc jsonrpc: always allocate response for request 2019-07-19 20:56:54 +00:00
log log: passing user-defined log 2019-06-18 03:56:50 +00:00
lvol ut/lvol: fixed scan-build error on spdk_bs_init 2019-07-01 13:08:33 +00:00
notify lib/notify: rename spdk_notify_get_events to spdk_notify_foreach_event 2019-05-07 06:11:27 +00:00
nvme nvme: use -EFAULT for vtophys-related failures 2019-11-06 15:19:48 +00:00
nvmf nvme: allow setting of completion queue CDW0 2019-10-24 18:02:38 +00:00
reduce test/reduce: support iovecs in compress/decompress UT 2019-08-21 22:09:32 +00:00
scsi lib/scsi: Abort management tasks being queued when removing LUN 2019-11-14 18:08:12 +00:00
sock sock: Add a function to check if a socket is connected 2019-10-15 16:35:09 +00:00
thread thread: Add a mechanism to exit a lightweight thread 2019-05-22 04:23:17 +00:00
util test/unit: add test for base64 with Arm NEON intrinsics 2019-09-09 05:40:57 +00:00
vhost test/vhost: Remove event function stubs 2019-09-18 16:45:05 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile bdev/nvme: always enable FTL 2019-05-02 08:41:56 +00:00