master - lvmetad: store MISSSING flag properly
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=148ad25f4c14274d920af477b1ca7084874eb615 Commit: 148ad25f4c14274d920af477b1ca7084874eb615 Parent: 4141409eb09e78aef030346995f1722fb40956d8 Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon May 29 16:18:29 2017 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon May 29 16:20:00 2017 +0200
lvmetad: store MISSSING flag properly
PV MISSING flag is compatible flag, not a status (incompatible) flag.
--- WHATS_NEW | 1 + daemons/lvmetad/lvmetad-core.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.172 - =============================== + Store MISSING PV in proper field in lvmetad. Cache format2 flag is now using segment name type field. Support storing status flags via segtype name field. Stop using '--yes' mode when fsadm runs without terminal.
daemons/lvmetad/lvmetad-core.c +1 -1
@@ -360,7 +360,7 @@ static int update_pv_status(lvmetad_state *s, pvmeta =dm_hash_lookup (s->pvid_to_pvmeta, uuid); -set_flag (cft, pv,"status" ,"MISSING" , !pvmeta); +set_flag (cft, pv,"flags" ,"MISSING" , !pvmeta);if (pvmeta) {if (!(pvmeta_cn =dm_config_clone_node (cft, pvmeta->root->child,1 ))) {