1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Jonathan Brassow 5555d2a000 RAID: Fix segfault when attempting to replace RAID 4/5/6 device
Commit 8767435ef8 allowed RAID 4/5/6
LV to be extended properly, but introduced a regression in device
replacement - a critical component of fault tolerance.

When only 1 or 2 drives are being replaced, the 'area_count' needed
can be equal to the parity_count.  The 'area_multiple' for RAID 4/5/6
was computed as 'area_count - parity_devs', which could result in
'area_multiple' being 0.  This would ultimately lead to a division by
zero error.  Therefore, in calc_area_multiple, it is important to take
into account the number of areas that are being requested - just as
we already do in _alloc_init.
2012-07-24 19:02:06 -05:00
autoconf Using Fedora 14's autoreconf. 2011-01-07 14:38:34 +00:00
daemons configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
doc conf: add a comment about obsolete .cache file 2012-07-16 10:43:04 +02:00
include More .gitignore files for an in-source-tree build. 2012-06-08 16:34:43 +01:00
lib RAID: Fix segfault when attempting to replace RAID 4/5/6 device 2012-07-24 19:02:06 -05:00
libdaemon daemon-server: fix error message on daemon shutdown 2012-07-19 16:45:08 +02:00
libdm config: fix one-node dumpconfig, add dm_config_write_one_node 2012-07-20 15:53:04 +02:00
liblvm cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
man thin: add lvchange for discard and zero change 2012-07-18 14:38:34 +02:00
old-tests Add .gitignore files for an in-source-tree build. 2012-06-08 16:26:21 +01: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 systemd: add doc reference in dm-event.socket 2012-06-29 13:54:35 +02:00
test RAID: Fix segfault when attempting to replace RAID 4/5/6 device 2012-07-24 19:02:06 -05:00
tools thin: add lvchange for discard and zero change 2012-07-18 14:38:34 +02:00
udev pvscan: add --activate ay option (autoactivate) 2012-06-28 09:44:03 -04:00
unit-tests cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
.gitignore gitignore: Ignore files ending in ~ 2012-06-11 16:13:02 +01:00
aclocal.m4 Add aclocal.m4 (for pkgconfig). 2011-01-07 16:27:05 +00:00
configure configure: default tmpfile dir in PREFIX/lib/tmpfiles.d 2012-07-16 11:17:02 +02:00
configure.in configure: default tmpfile dir in PREFIX/lib/tmpfiles.d 2012-07-16 11:17:02 +02: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 veritysetup: Remove code as now in cryptsetup. 2012-06-11 16:12:20 +01:00
Makefile.in veritysetup: Remove code as now in cryptsetup. 2012-06-11 16:12:20 +01:00
README Rename git report from LVM2.git to lvm2.git. 2012-06-08 17:41:43 +01:00
VERSION release: post-release update version 2012-06-09 00:44:01 +01:00
VERSION_DM release: post-release update version 2012-06-09 00:44:01 +01:00
WHATS_NEW config: fix one-node dumpconfig, add dm_config_write_one_node 2012-07-20 15:53:04 +02:00
WHATS_NEW_DM config: fix one-node dumpconfig, add dm_config_write_one_node 2012-07-20 15:53:04 +02: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/linux-lvm

  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.