mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Call init_full_scan_done() when refreshing the cache. This should fix clvmd -R.
This commit is contained in:
parent
3b3948f1d2
commit
88fc506bf0
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.28 -
|
Version 2.02.28 -
|
||||||
================================
|
================================
|
||||||
|
Fix clvmd -R, so it fully refreshes the caches.
|
||||||
Change lvconvert_mirrors to use mirror segtype not striped.
|
Change lvconvert_mirrors to use mirror segtype not striped.
|
||||||
Fix lvconvert_mirrors detection of number of existing mirrors.
|
Fix lvconvert_mirrors detection of number of existing mirrors.
|
||||||
Clean up numerous compiler warnings that crept in recently.
|
Clean up numerous compiler warnings that crept in recently.
|
||||||
|
@ -442,9 +442,14 @@ int do_check_lvm1(const char *vgname)
|
|||||||
|
|
||||||
int do_refresh_cache()
|
int do_refresh_cache()
|
||||||
{
|
{
|
||||||
|
int ret;
|
||||||
DEBUGLOG("Refreshing context\n");
|
DEBUGLOG("Refreshing context\n");
|
||||||
log_notice("Refreshing context");
|
log_notice("Refreshing context");
|
||||||
return refresh_toolcontext(cmd)==1?0:-1;
|
|
||||||
|
ret = refresh_toolcontext(cmd);
|
||||||
|
init_full_scan_done(0);
|
||||||
|
|
||||||
|
return ret==1?0:-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user