Spdk/test/unit/lib/bdev
Krzysztof Karas dfc9894396 bdev: send bdev reset based on outstanding IO and a new timeout parameter
A new parameter io_drain_timeout has been added to spdk_bdev
structure. If this value is unset, the bdev reset behavior
does not change.
The io_drain_timeout controls how long a bdev reset must wait for IO
to complete prior to issuing a reset to the underlying device.
If there is no outstanding IO at the end of that period, the reset
is skipped.

Change-Id: I585af427064ce234a4f60afc3d69bc9fc3252432
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14501
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2022-09-22 19:18:30 +00:00
..
bdev_zone.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
bdev.c bdev: Add functions to [hole,data] seek 2022-09-15 08:23:56 +00:00
compress.c check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
crypto.c check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
gpt Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
mt bdev: send bdev reset based on outstanding IO and a new timeout parameter 2022-09-22 19:18:30 +00:00
nvme accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
part.c UT/bdev/part.c:add the test of function spdk_bdev_part_free() 2022-09-20 10:17:57 +00:00
pmem Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
raid module/raid: raid5: rename to raid5f 2022-07-27 08:51:21 +00:00
scsi_nvme.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
vbdev_lvol.c vbdev_lvol: Implement SEEK_[DATA,HOLE] io type 2022-09-15 08:23:56 +00:00
vbdev_zone_block.c check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00