1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Alasdair G Kergon a9d48bae2f cache: Set correct vgid when changing PV header.
pv_write is called both to write orphans and to rewrite PV headers
of PVs in VGs.  It needs to select the correct VG id so that the
internal cache state gets updated correctly.

It only affected commands that involved further steps after
the pv_write and was often masked because the metadata would
be re-read off disk and correct itself.

"Incorrect metadata area header checksum" warnings appeared.

Example:
  Create vg1 containing dev1, dev2 and dev3.
  Hide dev1 and dev2 from the system.
  Fix up vg1 with vgreduce --removemissing.
  Bring back dev1 and dev2.
  In a single operation reinstate dev1 and dev2 into vg1 (vgextend).
Done as separate operations (automatically fix-up dev1 and dev2 as orphans,
then vgextend) it worked, but done all in one go the internal cache got
corrupted and warnings about checksum errors appeared.
2015-04-09 21:13:55 +01:00
..
activate thin: fix upgrade regression 2015-01-30 16:22:11 +01:00
cache cache: Set correct vgid when changing PV header. 2015-04-09 21:13:55 +01:00
cache_segtype cache: use writethrough cache_mode for older metadata 2015-01-29 12:05:58 +01:00
commands systemid: Use correct mempool. 2015-03-18 23:25:30 +00:00
config cache: Store metadata size and checksum. 2015-03-18 23:43:02 +00:00
datastruct datastruct: Add str_list_add_list. 2015-03-26 18:30:37 +00:00
device debug: log scanned value 2015-04-02 13:38:41 +02:00
display display: fix return values 2015-03-10 14:10:18 +01:00
error segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
filters config: use timestamp with nanosecond precision 2015-03-18 13:42:56 +01:00
format1 cache: Store metadata size and checksum. 2015-03-18 23:43:02 +00:00
format_pool cache: Store metadata size and checksum. 2015-03-18 23:43:02 +00:00
format_text cache: Set correct vgid when changing PV header. 2015-04-09 21:13:55 +01:00
freeseg segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
label cache: Store metadata size and checksum. 2015-03-18 23:43:02 +00:00
locking locking: rename LCK_CONVERT 2014-11-18 16:50:49 +01:00
log vgextend: Use process_each_vg. 2015-02-13 14:58:51 +00:00
metadata alloc: Log PV tags when reserving areas. 2015-03-26 21:13:26 +00:00
mirror cmirror: Adjust region size to work around CPG msg limit to avoid hang. 2015-02-25 14:42:15 -06:00
misc lvm-file: wrapper to read ctim from stat 2015-03-18 13:42:24 +01:00
mm memory: disable check with valgrind pool build 2015-02-12 15:40:53 +01:00
properties report: add separate fields for PV/VG/LV attributes 2014-07-04 15:40:17 +02:00
raid segtype: add SEG_ONLY_EXCLUSIVE flag 2014-11-10 22:05:48 +01:00
replicator cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
report devices: avoid extra open() syscall 2015-03-06 13:17:39 +01:00
snapshot segtype: add SEG_ONLY_EXCLUSIVE flag 2014-11-10 22:05:48 +01:00
striped segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
thin cleanup: add lv_is_error_when_full() macro 2015-01-20 14:52:06 +01:00
unknown segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero cleanup: remove unused headers 2014-11-13 17:49:42 +01:00
Makefile.in configure: Look for valgrind.h independently of VALGRIND_POOLS. 2015-02-05 13:50:34 +01:00