numam-spdk/test
Cunyin Chang 9f891d14ce blob: Make the files persisted cross power failure.
We only sync the metadata and data in the runtime of blobstore, which
means we only update the used md bitmap and used clusters bitmap in memory.
if the system crushed, we have no chance to sync the used md bitmap and
used clusters bitmap into disk, then next time when we try to load the
blobstore, all the data will lost, this patch add the logic to recover the
valid data from last dirty shutdown. We will go through all the metadata pages
to find all valid data and rebuild them.

Change-Id: Ieb7c5f932206b1b68fdde0cee35f2d2cb3a4f309
Signed-off-by: Cunyin Chang <cunyin.chang@intel.com>
Reviewed-on: https://review.gerrithub.io/376470
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-10-19 15:13:58 -04:00
..
app app: spdk_app_fini no longer gives return code 2017-10-10 10:56:34 -04:00
blobfs/rocksdb test/blobfs: add timing for rocksdb benchmarks 2017-09-20 19:33:50 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/iscsi: Add iscsi_tgt with NVML backend test 2017-10-19 13:00:27 -04:00
lib test/bdevio: assert against get_io_channel failure 2017-10-19 00:33:06 -04:00
lvol test/lvol: RPC lvol tests 2017-10-18 12:38:24 -04:00
nvmf test/nvmf: extend test plan for NVMe-oF target 2017-10-10 16:27:58 -04:00
pmem bdev_pmem: documentation 2017-10-17 16:28:16 -04:00
unit blob: Make the files persisted cross power failure. 2017-10-19 15:13:58 -04:00
vhost test/vhost: Add tests for hot-attach and hot-detach features. 2017-10-17 13:37:09 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00