Spdk/test
paul luse cf467578f8 bdev/reduce: fix issue with vol_load
Discovered in bdev compression test.  Vol load was using the index
of the logical map to set the allocated chunk map bits as well as
retrieve the chunk. Exposed with overwrite situations. Also clarrified
one var name that I missed in previous patch.

Also added UT that fails without the fix, passes with the fix.

Change-Id: I776a5af9364cc3d4e8b7dafec22acf23bd463630
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447969
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-03-18 17:41:32 +00:00
..
app event: Remove arg2 from spdk_app_start() 2019-03-05 08:43:12 +00:00
bdev event: Remove arg2 from spdk_app_start() 2019-03-05 08:43:12 +00:00
blobfs event: Remove arg2 from spdk_app_start() 2019-03-05 08:43:12 +00:00
blobstore histograms: tests for bdev histograms 2019-01-24 21:50:18 +00:00
common test scripts: add rpm-build package in vm_setup.sh 2019-03-18 12:55:02 +00:00
config_converter config_converter: Remove deprecated construct_nvmf_subsystem RPC 2019-01-29 16:17:03 +00:00
cpp_headers build: don't include spdk.app.mk in test/cpp_headers 2018-12-12 22:35:21 +00:00
env test: add mem_callbacks unit test 2019-03-12 13:58:57 +00:00
event event: Remove arg2 from spdk_app_start() 2019-03-05 08:43:12 +00:00
ftl test/ftl: Change fio_plugin from basic test to bdevperf 2019-03-18 16:33:49 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test/iscsi_tgt: Use rpc instead of config file. 2019-02-22 18:28:25 +00:00
json_config jsonrpc: add Python with statement support 2019-03-15 05:01:27 +00:00
lvol test/lvol: Implement test case 653 2019-03-01 22:54:07 +00:00
nvme test/nvmf/nvme-cli: don't run nvme-cli as secondary process 2019-01-29 20:54:13 +00:00
nvmf test/nvmf: add connect_disconnect test back to nightly 2019-03-08 21:09:09 +00:00
ocf ocf/test: update integrity test for multicore case 2019-03-15 19:04:10 +00:00
pmem bdev: remove delete_bdev RPC 2019-03-01 08:50:07 +00:00
rpc_client jsonrpc: add connection close callback 2019-01-10 14:31:37 +00:00
spdkcli test/spdkcli: update match file to cover larger volume NVMe SSD 2019-03-08 02:18:15 +00:00
unit bdev/reduce: fix issue with vol_load 2019-03-18 17:41:32 +00:00
vhost test/hotplug: Use malloc as second bdev instead of nvme in hotremove tests 2019-03-13 17:57:14 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00