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
Milan Broz 851b1a9606 Fix extent rounding for striped segments.
We should never remove more extents than requested by user,
so round up to next stripe boundary during lvreduce.

Also this fixes round to zero sized LV bug:

# lvcreate -i2 -I 64k -l10 -n lvs vg_test
# lvreduce -f -l1 vg_test/lvs
  Rounding size (1 extents) down to stripe boundary size for segment (0 extents)
  WARNING: Reducing active logical volume to 0
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
  Reducing logical volume lvs to 0
  Failed to suspend lvs
2011-06-09 19:34:49 +00:00
autoconf Using Fedora 14's autoreconf. 2011-01-07 14:38:34 +00:00
daemons Fix a few compile warnings. 2011-06-03 09:05:30 +00:00
doc First draft of a document describing how we will automatically and 2011-05-25 21:43:12 +00:00
include Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
lib Fix create_temp_name to replace any '/' found in the hostname with '?'. 2011-06-08 08:49:53 +00:00
libdm Fix another occurrence of linux kernel version check. 2011-06-09 15:52:59 +00:00
liblvm Permit --available with lvcreate so non-snapshot LVs need not be activated. 2011-06-01 19:21:03 +00:00
man Permit --available with lvcreate so non-snapshot LVs need not be activated. 2011-06-01 19:21:03 +00:00
old-tests Move tests from old-tests/regex to unit-tests/regex. unit-tests will 2010-07-20 15:18:57 +00:00
po INSTALL rules updates 2010-04-09 21:42:48 +00: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 Use append but except query for dlm locks:-) 2011-06-02 09:08:16 +00:00
test Fix extent rounding for striped segments. 2011-06-09 19:34:49 +00:00
tools Fix extent rounding for striped segments. 2011-06-09 19:34:49 +00:00
udev Set DM_UDEV_DISABLE_OTHER_RULES_FLAG for suspended DM devices in udev rules. 2011-01-28 11:41:51 +00:00
unit-tests [MM] Make valgrind aware of the pool allocators 2010-08-09 10:56:01 +00:00
aclocal.m4 Add aclocal.m4 (for pkgconfig). 2011-01-07 16:27:05 +00:00
configure Add missing pkg_config_init check with --enable-udev_sync. 2011-04-28 16:54:32 +00:00
configure.in Add missing pkg_config_init check with --enable-udev_sync. 2011-04-28 16:54:32 +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 Move common libudev code to lvm-wrappers.[ch]. 2011-04-22 11:59:59 +00:00
Makefile.in Fix default /etc/lvm permissions to be 0755. (2.02.66) 2010-11-22 21:39:47 +00:00
README quick review of docs 2008-11-04 17:49:22 +00:00
VERSION test 2011-04-29 19:01:59 +00:00
VERSION_DM post-release 2011-04-29 17:05:20 +00:00
WHATS_NEW Fix extent rounding for striped segments. 2011-06-09 19:34:49 +00:00
WHATS_NEW_DM Accept kernel version 3 (3.0-rc and similar). 2011-06-09 15:07:40 +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