Spdk/lib
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
..
bdev bdev: use claim_module to determine leaf status 2018-03-07 11:00:32 -05:00
blob blob: persist super_blob id on blobstore immediately 2018-03-08 00:14:36 -05:00
blobfs blobfs: cleanup and add comments in deleted file cleanup path 2018-03-02 15:30:32 -05:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
event event: remove two deprecated functions 2018-03-05 20:34:49 -05:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi iscsi: Remove the variable ntargets from iscsi global params 2018-03-07 19:07:09 -05:00
json json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc jsonrpc: add spdk_jsonrpc_send_error_response_fmt 2018-02-23 15:27:16 -05:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol bdev: Added functions allowing logical volume rename. 2018-02-16 16:21:20 -05:00
nbd nbd: improve nbd to handle overlapped I/O 2018-01-16 09:59:21 -05:00
net scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvme scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvmf nvmf: fix potential leak when processing multi-range deallocate command 2018-03-07 11:14:41 -05:00
rocksdb env_spdk: make sure the Randomaccessfile opened as rocksdb posix env. 2018-01-12 12:57:23 -05:00
rpc rpc: remove the existing socket file when application starts 2018-03-02 16:48:53 -05:00
scsi scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
trace util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util util: add spdk_mem_all_zero() function 2018-02-23 10:05:32 -05:00
vhost vhost: always inline spdk_vhost_dev_has_feature 2018-02-20 12:35:21 -05:00
virtio virtio/user: implement get/set config messages 2018-02-23 15:37:11 -05:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00