Spdk/test
Tomasz Zawadzki b86c4b6541 blob: persist super_blob id on blobstore immediately
Before this patch super_blob id for blobstore was persisted
only during spdk_bs_unload. If power fail occurred after creating and
syncing blob, super_blob id was lost within blobstore.

Lvol store metadata would be lost, if proper shutdown
didn't occur in first SPDK instance run since creation of lvs.

This fix changes setting super blob to be instantly persisted
on disk in super block. Without affecting clean bit in super block.

Change-Id: I578f1fc8717e2d7968ad506fa4dead7507a5e0b4
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/398804
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-03-08 00:14:36 -05:00
..
app build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
blobfs/rocksdb autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test/common: exit with error in waitforlisten() if app crashed 2018-03-07 11:02:35 -05:00
config autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
iscsi_tgt test/iscsi_tgt: remove almost repeated lines from digests.sh 2018-03-02 11:50:56 -05:00
lib test/nvme-cli: enable shell script tracing 2018-03-07 10:16:33 -05:00
lvol test/lvol: use python decorators to show the case message 2018-03-01 13:52:17 -05:00
nvmf autotest: Add spdk/nvme-cli main commands test 2018-03-02 14:08:31 -05:00
pmem autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
unit blob: persist super_blob id on blobstore immediately 2018-03-08 00:14:36 -05:00
vhost test/common: Enable script debugging in readonly and pmem test 2018-03-07 19:12:06 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00