Warn in migration that it might take a while
This commit is contained in:
parent
86c2144a37
commit
ee1f0f4d3a
@ -11,7 +11,7 @@ namespace blockstore {
|
|||||||
|
|
||||||
#ifndef CRYFS_NO_COMPATIBILITY
|
#ifndef CRYFS_NO_COMPATIBILITY
|
||||||
void VersionCountingBlockStore::migrateFromBlockstoreWithoutVersionNumbers(BlockStore *baseBlockStore, const bf::path &integrityFilePath) {
|
void VersionCountingBlockStore::migrateFromBlockstoreWithoutVersionNumbers(BlockStore *baseBlockStore, const bf::path &integrityFilePath) {
|
||||||
std::cout << "Migrating file system for integrity features..." << std::flush;
|
std::cout << "Migrating file system for integrity features. This can take a while..." << std::flush;
|
||||||
KnownBlockVersions knownBlockVersions(integrityFilePath);
|
KnownBlockVersions knownBlockVersions(integrityFilePath);
|
||||||
baseBlockStore->forEachBlock([&baseBlockStore, &knownBlockVersions] (const Key &key) {
|
baseBlockStore->forEachBlock([&baseBlockStore, &knownBlockVersions] (const Key &key) {
|
||||||
auto block = baseBlockStore->load(key);
|
auto block = baseBlockStore->load(key);
|
||||||
|
Loading…
Reference in New Issue
Block a user