1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
David Teigland 6b3e402298 toollib: add comment about missing device
Add a comment in _process_pvs_in_vg() to document the
place where there have been problems with processing
PVs twice.

For a while we had a hacky workaround here where we'd
skip processing a PV if its device wasn't found in
all_devices (and !is_missing_pv since we want to
process PVs with missing devices.).  That workaround
was removed in commit 5cd4d46f because it was no
longer needed.

The workaround had originally been needed to prevent
a device from being processed twice when the PV had
no MDAs -- it would be processed once in its real VG
and then the workaround would prevent it from being
processed a second time in the orphan VG.

Wrongly appearing as an orphan likely happened because
lvmcache would consider the no-MDA PV an orphan unless
the real VG holding that PV was also in lvmcache.
This issue is also mentioned in pvchange where holding
the global lock allows VGs to remain in lvmcache so
PVs with 0 mdas are not considered orphans.

The workaround in _process_pvs_in_vg() was originally
intended for reporting commands, not for pvchange.
But, it was accidentally helping pvchange also because
the method described by the pvchange global lock
comment had been subverted by commit 80f4b4b8.
Commit 80f4b4b8 was found to be unnecessary, and was
reverted in commit e710bac0.  This restored the
intended global lock lvmcache effect to pvchange, and
it no longer relied on the workaround in toollib.
2016-01-18 16:09:22 -06:00
autoconf autoconf: Update config.guess/sub to 2014-01-01. 2014-01-21 22:00:15 +00:00
conf conf: fix 'the volume list' vs 'volume list' and '@*' 2016-01-13 15:47:26 +01:00
coverity coverity: trying different model 2015-11-17 19:01:25 +01:00
daemons lvmlockd: cosemtic improvements to logging 2016-01-18 09:35:21 -06:00
doc doc: mention new invalid states in lvmetad_design 2015-06-23 16:48:28 -05:00
include cleanup: just alphabetically sort links 2015-11-16 01:16:11 +01:00
lib report: Fix seg_pe_ranges LV sizes. 2016-01-18 22:04:43 +00:00
libdaemon libdaemon: prohibit use of %d for 64bit numbres 2015-11-09 14:03:25 +01:00
libdm libdm: add some doc for mirror status 2015-12-04 22:10:30 +01:00
liblvm vgrename: use process_each_vg 2015-12-14 14:26:47 -06:00
man man lvmlockd: mention pvmove restriction 2016-01-12 12:01:53 -06:00
nix lockd: Clean up spec 2015-07-04 14:36:57 +02:00
old-tests report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
po makefiles: disable po file targes 2015-05-14 14:19:40 +02:00
python gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
report-generators add copyright notices to new files 2010-07-28 12:20:38 +00:00
reports [REPORT-GENERATORS] cut down stylsheet.css to what we actually use 2010-07-21 10:00:38 +00:00
scripts lvmdump: also add lvm2-activation{-early,-net}.service systemd status for lvmdump -s 2016-01-04 15:12:25 +01:00
spec spec: Add python bindings 2015-11-02 12:42:32 +01:00
test report: add kernel_discards report field to display thin pool discard used in kernel 2016-01-14 16:54:12 +01:00
tools toollib: add comment about missing device 2016-01-18 16:09:22 -06:00
udev udev: fix missing escape for + 2015-08-12 19:46:44 +02:00
unit-tests cleanup: use DM_ARRAY_SIZE 2014-04-08 11:00:15 +02:00
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
acinclude.m4 configure: detect st_ctim 2015-03-18 13:42:24 +01:00
aclocal.m4 pre-release 2015-11-23 03:37:54 +00:00
configure configure: check for udev_device_get_is_initialized is available 2015-11-11 15:15:50 +01:00
configure.in configure: check for udev_device_get_is_initialized is available 2015-11-11 15:15:50 +01:00
COPYING Outline docs 2001-12-31 16:12:40 +00:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in makefiles: generate Local 2015-10-13 16:02:20 +02:00
Makefile.in makefiles: src dirs have depth 5 2015-10-13 16:02:20 +02:00
README README: fix link to lvm-devel mailing list 2015-03-31 15:44:00 +02:00
VERSION post-release 2016-01-16 02:12:10 +00:00
VERSION_DM post-release 2016-01-16 02:12:10 +00:00
WHATS_NEW report: Fix seg_pe_ranges LV sizes. 2016-01-18 22:04:43 +00:00
WHATS_NEW_DM post-release 2016-01-16 02:12:10 +00:00

This tree contains the LVM2 and device-mapper tools and libraries.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sources.redhat.com/pub/lvm2/

The source code is stored in git:
  http://git.fedorahosted.org/git/lvm2.git
  git clone git://git.fedorahosted.org/git/lvm2.git

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing lists for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/lvm-devel

  lvm2-commits@lists.fedorahosted.org (Read-only archive of commits)
  Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel

The source code repository used until 7th June 2012 is accessible here:
  http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/?cvsroot=lvm2.