summaryrefslogtreecommitdiff
path: root/lib/format_pool/disk_rep.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/format_pool/disk_rep.c')
-rw-r--r--lib/format_pool/disk_rep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/format_pool/disk_rep.c b/lib/format_pool/disk_rep.c
index fef045198..8d428cacb 100644
--- a/lib/format_pool/disk_rep.c
+++ b/lib/format_pool/disk_rep.c
@@ -360,7 +360,7 @@ int read_pool_pds(const struct format_type *fmt, const char *vg_name,
* accept partial pool if we've done a full rescan of
* the cache
*/
- if (full_scan > 0)
+ if (full_scan > 1)
return 1;
}
@@ -368,7 +368,7 @@ int read_pool_pds(const struct format_type *fmt, const char *vg_name,
dm_list_init(pdhead);
full_scan++;
- if (full_scan > 1) {
+ if (full_scan > 2) {
log_debug_metadata("No devices for vg %s found in cache",
vg_name);
return 0;