e87808c4fb
The system could crash anytime, we need sync the "clean" flag into disk as soon as we load the blobstore. Then if the system crashed, we will find the blobstore is not clean shutdown next time when we load the blobstore, and we could run the recover process then. Change-Id: I6189678e970ffe979a224e02be6cede0ee44dde8 Signed-off-by: Cunyin Chang <cunyin.chang@intel.com> Reviewed-on: https://review.gerrithub.io/376276 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> |
||
---|---|---|
.. | ||
bdev | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h |