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
Dave Wysochanski cbfbc6766e Fix vgsplit locking and remove unneeded error messages when split into new VG.
When vg_lock_and_read() calls were added, they were done so incorrectly for
the destination VG (vg_to).  This resulted in the VG lock not obtained when
a new VG was the destination (vg_lock_and_read() would fail in the vg_read()
clause, which would then release the lock before returning NULL), and could
result in corrupted destination VG.

The fix was to put back the original lock_vol() and vg_read() calls for 'vg_to'.
The failure of vg_read() indicates "vg does not exist", and we key off that
to determine whether we are dealing with a new or existing VG as the
destination.

The first two error messages were also the result of the incorrect
vg_lock_and_read() calls:
  Volume group "new" not found
  cluster request failed: Invalid argument
  New volume group "new" successfully split from "vg"

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=438249
2008-04-02 19:30:12 +00:00
autoconf Update to use autoconf 2.61, while still supporting 2.57. 2007-08-14 19:11:31 +00:00
daemons Fix another allocation bug with clvmd and large node IDs.` 2008-04-01 15:01:30 +00:00
debian Update packages. 2003-02-16 22:12:28 +00:00
dmeventd Fix mirror log name construction during lvconvert. (2.02.30) 2008-01-31 12:19:36 +00:00
doc Reflect actual default setting of preferred_names in example.conf and 2008-02-11 16:57:40 +00:00
include Fix the fsadm build failure without using -llvm. 2007-10-03 16:10:04 +00:00
lib Cache VG metadata internally while VG lock is held. 2008-04-01 22:40:13 +00:00
libdm Add list_move() support function for list manipulation. 2008-03-26 16:20:54 +00:00
man Correct command name in lvmdiskscan man page. 2008-03-25 12:37:48 +00:00
old-tests Correct typo in comments: s/is part of the LVM2/is part of LVM2/. 2007-09-21 10:16:45 +00:00
po Correct typo in comments: s/is part of the LVM2/is part of LVM2/. 2007-09-21 10:16:45 +00:00
scripts Fix lvresize to support /dev/mapper prefix in the lvname 2008-02-06 12:45:32 +00:00
test Fix lvresize to dump stack if vg_lock_and_read() fails. 2008-04-02 12:17:30 +00:00
tools Fix vgsplit locking and remove unneeded error messages when split into new VG. 2008-04-02 19:30:12 +00:00
configure Add snapshot dmeventd library (enables dmeventd snapshot monitoring). 2008-01-09 15:32:19 +00:00
configure.in Add snapshot dmeventd library (enables dmeventd snapshot monitoring). 2008-01-09 15:32:19 +00:00
CONTRIBUTORS Add CONTRIBUTORS file. 2004-12-21 16:24:19 +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 Some new features. 2002-11-18 14:04:08 +00:00
make.tmpl.in Correct typo in comments: s/is part of the LVM2/is part of LVM2/. 2007-09-21 10:16:45 +00:00
Makefile.in Correct typo in comments: s/is part of the LVM2/is part of LVM2/. 2007-09-21 10:16:45 +00:00
README Fix ftp urls 2004-07-03 18:20:25 +00:00
VERSION post-release 2008-01-31 12:41:13 +00:00
WHATS_NEW Fix vgsplit locking and remove unneeded error messages when split into new VG. 2008-04-02 19:30:12 +00:00
WHATS_NEW_DM Remove redundant if-before-free tests. 2008-02-15 14:14:58 +00:00

This directory contains LVM2, the new version of the userland LVM
tools designed for the new device-mapper for the Linux kernel.

The device-mapper needs to be installed before compiling these LVM2 tools.

For more information about LVM2 read 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/
  ftp://sources.redhat.com/pub/dm/

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 discussion/bug reports etc.
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm