1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-10 05:18:36 +03:00
lvm2/lib/metadata
Milan Broz 4b1687fb74 Do not set precommitted flag in cache when precommitted metadata does not exist.
The use_precommitted flag indicates, that we want to use precommitted metadata
(used in suspend call to preload table with precommitted data).

But if there are no such data, committed metadata are read but the cache
still contains that precommitted flag.

(The problem is that later possible drop_metadata call will not invalidate
device in cache.)

The wrong precommitted state is stored in on remote nodes during normal
suspend/resume cycle _without_ vg_write/commit.

Use the PRECOMMITTED status flag here instead (which is always set if using
precommited metadata here).
2010-01-05 16:01:22 +00:00
..
lv_alloc.h Update a few more uint64_t's related to the 64-bit status change. 2009-12-04 17:48:32 +00:00
lv_manip.c Resume volumes in reverse order to preserve memlock pairing. 2010-01-05 15:58:11 +00:00
merge.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
metadata-exported.h Switch status from 32-bit to 64-bit 2009-11-24 22:55:55 +00:00
metadata.c Do not set precommitted flag in cache when precommitted metadata does not exist. 2010-01-05 16:01:22 +00:00
metadata.h Consolidate LV allocation into alloc_lv(). 2009-09-28 17:46:15 +00:00
mirror.c Revert another unintended change that snuck in. 2009-12-17 15:59:53 +00:00
pv_alloc.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
pv_manip.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
pv_map.c Do not include MISSING_PVs in allocation maps. 2009-04-23 16:41:27 +00:00
pv_map.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
snapshot_manip.c Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00