Spdk/lib/scsi
Shuhei Matsumoto b386a3a9a2 lib/scsi: Assert if ref count of task goes negative
We didn't have any check if ref count of SCSI task doesn't go negative.
This addition will verify the idea to LUN hotplug issue by subsequent
patches.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Change-Id: I1d6ca9b9439bc7c4b701b65cc004cdf5cae16e91
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473585
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-11-14 18:08:12 +00:00
..
dev.c lib/scsi: Check pending tasks for the SCSI device only from the specific initiator 2019-10-18 17:30:13 +00:00
lun.c lib/scsi: Close block device on the thread which opened it 2019-11-05 12:10:08 +00:00
Makefile scsi: add persistent reservation out with register feature support 2019-05-24 23:04:03 +00:00
port.c scsi: add iSCSI initiator port TransportID 2018-12-05 16:04:06 +00:00
scsi_bdev.c lib/scsi: Free bdev_io just after getting completion from bdev for management I/O 2019-10-22 17:20:51 +00:00
scsi_internal.h lib/scsi: Close block device on the thread which opened it 2019-11-05 12:10:08 +00:00
scsi_pr.c scsi: fix error break when checking SCSI reservation 2019-07-04 08:15:44 +00:00
scsi_rpc.c rpc: Rename get_scsi_devices to scsi_get_devices 2019-10-03 23:01:27 +00:00
scsi.c trace: remove short_name 2019-05-02 08:41:56 +00:00
task.c lib/scsi: Assert if ref count of task goes negative 2019-11-14 18:08:12 +00:00