Spdk/test
Jim Harris 5f59d919a4 blob: don't try to claim cluster 0 in recovery code
Thin provisioned blobs mark unallocated clusters with
cluster ID 0.  During recovery from a dirty shutdown,
we must not try to claim cluster 0 - we should ignore
them instead.

Fixes issue #291.

This is a cherry-pick of commit e8ddb060f8 from master.

Change-Id: I83083bba3a2468d68874b485f1fc1e302e46fbd4
Signed-off-by: Jim Harris <james.r.harris@intel.com>
Reviewed-on: https://review.gerrithub.io/410065
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-on: https://review.gerrithub.io/410699
2018-05-09 20:52:11 +00:00
..
app test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
bdev test/rbd: add configurable monitoring IP address for ceph 2018-04-17 13:55:44 -04:00
blobfs test/rocksdb: move nightly test case to RUN_NIGHTLY_FAILING. 2018-04-20 17:24:45 -04:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test/iscsi: utilize network namespaces in iSCSI tests 2018-04-26 17:10:36 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env test: move lib/env up one level 2018-03-29 00:31:24 -04:00
event test: move lib/event up one directory 2018-03-29 00:31:24 -04:00
ioat test: move lib/ioat up one directory 2018-03-27 00:46:52 -04:00
iscsi_tgt test/iscsi: utilize network namespaces in iSCSI tests 2018-04-26 17:10:36 +00:00
lvol lvol: add destroy_lvol_bdev RPC method 2018-04-24 21:33:56 +00:00
nvme test/nvme/aer: add changed namespace list log test 2018-04-11 16:05:09 -04:00
nvmf lvol: add destroy_lvol_bdev RPC method 2018-04-24 21:33:56 +00:00
pmem test/pmem: add timing markers to pmem test 2018-04-23 20:10:22 +00:00
unit blob: don't try to claim cluster 0 in recovery code 2018-05-09 20:52:11 +00:00
vhost lvol: add destroy_lvol_bdev RPC method 2018-04-24 21:33:56 +00:00
Makefile test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
spdk_cunit.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00