9f891d14ce
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> |
||
---|---|---|
.. | ||
bdev | ||
blob | ||
blobfs | ||
conf | ||
copy | ||
cunit | ||
env_dpdk | ||
event | ||
ioat | ||
iscsi | ||
json | ||
jsonrpc | ||
log | ||
lvol | ||
nbd | ||
net | ||
nvme | ||
nvmf | ||
rocksdb | ||
rpc | ||
scsi | ||
trace | ||
ut_mock | ||
util | ||
vhost | ||
Makefile |