Spdk/test/unit/lib
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
..
bdev bdev: Move QoS parameters into separate struct 2018-04-23 17:49:08 +00:00
blob blob: don't try to claim cluster 0 in recovery code 2018-05-09 20:52:11 +00:00
blobfs test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
event subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
ioat test: use spdk.unittest.mk for ioat unit tests 2018-02-14 10:40:40 -05:00
iscsi test: Remove all uses of strncpy 2018-04-13 16:15:52 -04:00
json ut/json: add missing UT for int64/uint64 write 2018-02-20 13:05:36 -05:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log rpc.py: remove references of "debug" trace flag 2018-04-25 17:31:28 +00:00
lvol lvol: Creating 2 lvols simultaneously with same name 2018-04-17 14:03:22 -04:00
net net: create NET_MODULE for compiling different net_implementations 2018-03-15 17:54:29 -04:00
nvme nvme: require trid to be valid in nvme_ctrlr_probe 2018-04-19 17:51:14 -04:00
nvmf nvmf: make spdk_nvmf_subsystem_remove_ns asynchronous 2018-04-18 15:41:00 -04:00
scsi scsi: validate dev name length 2018-04-10 15:43:03 -04:00
util io_channel: add asserts in spdk_io_device_register 2018-04-18 12:33:25 -04:00
vhost test/vhost: convert vhost-nvme stubs to DEFINE_STUB 2018-04-25 02:38:30 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile test: add spdk_sock unit tests 2018-02-12 12:30:39 -05:00