Spdk/test
paul luse fae0356697 test/bdevperf: fix issue with overlapping I/Os
A previous fix for miscompare had a slight issue with the scenario
where we chose an offset and then discover that it's already taken
because we've wrapped to this location before the previous IO
completed. In such case, we intended to bump the offset to just go
to the next block however we only bumped the local variable so the
next IO submitted will overwrite the previous.

The fix is simply to use the previously incremented target->offset
and increment it again for the next IO.

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: I26661eb0631ac50cc4f86f42f1d1789d297e204d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1250
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-03-17 08:23:33 +00:00
..
app test/iscsi: add application for target fuzz testing. 2020-03-13 08:53:46 +00:00
bdev test/bdevperf: fix issue with overlapping I/Os 2020-03-17 08:23:33 +00:00
blobfs test/rocksdb: fix db_bench build with gcc9 2020-03-05 13:33:23 +00:00
blobstore lib/log: do not put trailing whitespace in fdump 2020-02-04 20:08:02 +00:00
common test/iscsi: add application for target fuzz testing. 2020-03-13 08:53:46 +00:00
compress module/compress: rename set_compress_pmd RPC to match convention 2020-01-31 12:37:31 +00:00
config_converter test/config_converter: Declare $rootdir, $testdir paths 2020-02-20 09:54:15 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dpdk_memory_utility test: add test to validate dpdk mem utility 2020-01-24 05:46:43 +00:00
env test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
event lib/thread: Fail spdk_thread_exit() if thread has any registered poller 2020-02-13 09:51:15 +00:00
ftl test/ftl: Prevent from trying to kill same process twice 2020-03-12 09:03:47 +00:00
fuzz test/fuzz: Rename FUZZ_APP to VHOST_FUZZ_UP 2020-02-27 10:15:40 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test/iscsi_tgt: fix wait for iscsi devices in rdb test 2020-03-16 08:45:28 +00:00
json_config subsystem/accel: add entry point for .write_config_json 2020-02-18 08:05:34 +00:00
lvol test/lvol: use rpc daemon throughout all lvol tests 2020-03-11 11:35:03 +00:00
make scripts/rpc.py: add daemon mode 2020-03-11 11:35:03 +00:00
nvme test/nvme: do not skip tests if nvme-cli is unavailable 2020-03-03 07:55:07 +00:00
nvmf test/nvmf: Add more cases in perf testing. 2020-03-16 08:45:36 +00:00
ocf test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem script: update pmem test script 2020-02-12 12:07:30 +00:00
rpc scripts/rpc.py: add daemon mode 2020-03-11 11:35:03 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
unit ut/blob: recreate bs and blobs for each iteration of power fail UT 2020-03-17 08:23:25 +00:00
vhost test/vhost: add "-g" for vhost_fuzz app 2020-03-06 10:27:55 +00:00
vmd test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00