1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib/metadata
Alasdair G Kergon b617109fff lvmetad: fix format1 updates
fmt1 doesn't have a separate commit function: updates take effect
immediately vg_write is called, so we must update lvmetad at this
point if we're going to go on and ask lvmetad for the VG metadata
again before calling the commit function (though that's probably an
unsupported and pointless thing to do anyway as the client must
already have that data and it cannot have changed because it's locked
and with devs suspended we shouldn't be communicating with lvmetad;
so when that's fixed properly, this fix here can be reverted).

This problem showed up as an internal error when lvremoving an LVM1
snapshot.

> Internal error: LV snap1 (00000000000000000000000000000001) missing from preload metadata

https://bugzilla.redhat.com/891855
2013-01-05 03:17:35 +00:00
..
lv_alloc.h discards: don't discard reconfigured extents 2012-06-27 22:12:01 +01:00
lv_manip.c lv_manip: fix regresion from bf2741376d 2012-11-21 12:15:09 +01:00
lv.c thin: fix property discard for lvm2api 2012-11-27 14:09:49 +01:00
lv.h thin: fix property discard for lvm2api 2012-11-27 14:09:49 +01:00
merge.c cleanup: Use segtype->ops->name() instead of segtype->name where applicable 2012-09-05 11:35:54 -05:00
metadata-exported.h liblvm: internal API change 2012-11-19 14:37:30 +01:00
metadata.c lvmetad: fix format1 updates 2013-01-05 03:17:35 +00:00
metadata.h thin: add detach_pool_metadata_lv 2012-12-02 17:56:29 +01:00
mirror.c mirror/raid: Move 'copy_percent' to common code (mirror.c -> lv_manip.c) 2012-10-23 20:33:54 -05:00
pv_alloc.h discards: split discard from release_pv_segment 2012-06-27 22:11:54 +01:00
pv_manip.c discards: skip when removing LVs on missing PVs 2012-09-19 12:48:56 +01:00
pv_map.c cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c Move lvmcache data structures behind an API (making the structures private to 2012-02-10 01:28:27 +00:00
pv.h Defer writing PV labels to vg_write. 2011-06-01 19:29:31 +00:00
raid_manip.c RAID: Limit replacement of devices when array is not in-sync. 2012-12-18 14:40:42 -06:00
replicator_manip.c add thin_manip.c like the other manip files 2011-09-06 19:25:42 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Use a more correct macro for 'seg_is_linear' 2011-10-14 14:21:32 +00:00
snapshot_manip.c Reinstate support for format1 snapshots, but issue deprecated warning. 2011-12-20 00:02:18 +00:00
thin_manip.c thin: add detach_pool_metadata_lv 2012-12-02 17:56:29 +01:00
vg.c RAID: Do not allow RAID LVs in a cluster volume group. 2012-10-03 15:52:54 -05:00
vg.h Add free_orphan_vg 2012-02-13 11:03:59 +00:00