1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Dave Wysochanski dd2a0e940d Add find_vgname_from_{pvname|pvid} functions.
Some commands start with a pvname, but we'd like to force users to
start with a vg handle to obtain a pv handle.  Our best option seems
to be providing a way to look up the vgname from the pvname, and then
require them to use vg_read/vg_open.

In addition to the pvname lookup function, this patch also provides a
lookup by pvid.  The lookup by pvid can be used in conjunction with
lvmcache_get_pvids to process all pvs in the system.

The pvid find function first calls lvmcache_vgname_from_pvid, which may
cause the label to be read if it is not in the cache.  If the vgname is
returned is an orphan, we then check to see if there are metadata areas,
and if not, we scan every PV on the system by calling scan_vgs_for_pvs().
In most cases we should not need to do this, and by using the info->mdas
count, we avoid calling pv_read() as prior code did.  So this patch is a
bit cleaner and should allow us to refactor more of the pv code.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
2010-05-19 11:52:37 +00:00
autoconf extended configure with --enable-profiling for compiling code with gcov info 2008-06-27 15:35:09 +00:00
daemons Use -d to control level of messages sent to syslog by dmeventd. 2010-05-14 14:56:39 +00:00
doc Add activation/polling_interval to lvm.conf as --interval default. 2010-04-13 01:43:56 +00:00
include Update cflow file generation - support build dir and use $(top_srcdir) 2010-03-29 14:11:17 +00:00
lib Add find_vgname_from_{pvname|pvid} functions. 2010-05-19 11:52:37 +00:00
libdm Do not print encryption key in message debug output. 2010-05-13 13:31:30 +00:00
liblvm Add pkgconfigdir for placement of .pc files 2010-05-11 08:57:02 +00:00
man Add new --sysinit option for vgchange and lvchange. 2010-05-06 11:15:55 +00:00
old-tests Move regex printing code from test to main tree (may use in debug messages). 2010-04-22 17:42:38 +00:00
po INSTALL rules updates 2010-04-09 21:42:48 +00:00
scripts Fix clvmd init script stop function to not deactive non-clustered volume groups. 2010-05-17 03:18:27 +00:00
test Use -d to control level of messages sent to syslog by dmeventd. 2010-05-14 14:56:39 +00:00
tools Accept orphan VG names as parameters to lock_vol() and related functions. 2010-05-19 01:16:40 +00:00
udev Add support for new IMPORT{db} udev rule. 2010-04-28 13:37:36 +00:00
configure Add UDEV_PC and SELINUX_PC substituted variables 2010-05-11 08:48:43 +00:00
configure.in Add UDEV_PC and SELINUX_PC substituted variables 2010-05-11 08:48:43 +00: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 For lcov target there is no need to include source file dependencies 2010-05-14 13:32:36 +00:00
Makefile.in Add check_cluster and check_local targets in addition to just "check". 2010-04-13 13:28:52 +00:00
README quick review of docs 2008-11-04 17:49:22 +00:00
VERSION post-release 2010-05-17 20:18:13 +00:00
VERSION_DM post-release 2010-05-17 20:18:13 +00:00
WHATS_NEW Add is_global_vg and split out from is_orphan_vg. 2010-05-19 02:36:33 +00:00
WHATS_NEW_DM post-release 2010-05-17 20:18:13 +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/

To access the CVS tree use:
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 login
  CVS password: cvs
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 co LVM2

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

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

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