mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
52fd66210b
When an ignored metadata area gets flagged for use again, make sure the code doesn't try to parse its old metadata. Firstly by trying to detect this situation and skipping the read (while still remembering the position reached in the circular buffer), and secondly by clearing the invalid live metadata location on disk as a precaution when subsequently writing out the precommitted metadata. Problems showed up when a metadata area in one VG got moved to another VG in ignored state (still holding metadata for the original VG) and then later got brought into use in the new VG - only the header should be read in this case, not any of the metadata content. |
||
---|---|---|
.. | ||
archive.c | ||
archiver.c | ||
archiver.h | ||
export.c | ||
flags.c | ||
format-text.c | ||
format-text.h | ||
import_vsn1.c | ||
import-export.h | ||
import.c | ||
layout.h | ||
text_export.h | ||
text_import.h | ||
text_label.c |