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
Peter Rajnoha 1e6a926e85 filter: filter-usable: consider snapshot and origin LV as unusable if its component is suspended
Note that this is just a quick fix and it needs more robust fix to
encompass any combination, not just the (old) snapshot one!

This started with this report:
  https://bugzilla.redhat.com/show_bug.cgi?id=1219222

If we have devices/ignore_suspended_devices=1 set based on which we
filter out suspended devices as unusable (or if we ignore suspended
devices by force, e.g. during lvconvert called from dmeventd) and
when we have snapshot and snapshot origin devices in the play, we
need to look at their components unerneath (*-real and *-cow) to
check if they're not suspended. If they are, the snapshot/snapshot
origin is not usable as well and hence it needs to be filtered out
by filter-usable.c code which does suspended device filtering.

Not going into much details here, more details are in the bugzilla
mentioned above. However, this is a quick fix since snapshot
and this exact situation is not the only one. So this is
something that needs to be revisited and fixed properly
with full dm tree and checking the whole stack to state
whether the device at the very top is usable or not.
2015-06-17 13:37:53 +02:00
autoconf autoconf: Update config.guess/sub to 2014-01-01. 2014-01-21 22:00:15 +00:00
conf example.conf.in: apply previous improvements to example.conf 2015-05-15 20:32:58 +02:00
daemons cleanup: drop double const 2015-06-15 14:46:44 +02:00
doc lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
include makefiles: better clean 2015-05-18 12:45:42 +02:00
lib filter: filter-usable: consider snapshot and origin LV as unusable if its component is suspended 2015-06-17 13:37:53 +02:00
libdaemon libdaemon: fprintf(stderr...) -> ERROR() 2015-05-15 20:31:42 +02:00
libdm libdm: better debug message 2015-06-15 14:48:04 +02:00
liblvm makefiles: better clean 2015-05-18 12:45:42 +02:00
man man vgchange lvchange: mention activation option s 2015-06-16 13:28:07 -05:00
nix nix: socat for f18, nc for f17 2015-05-14 15:01:01 +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 python: Check for NULL value before constructing string property 2015-05-06 08:51:04 -05: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 scripts: activation generator: do not use --sysinit if lvmpolld used 2015-05-21 12:20:30 +02:00
spec spec: new man page 2015-05-15 21:31:28 +02:00
test test: Ensure that outdated PVs are wiped just once. 2015-06-10 16:27:59 +02:00
tools lv_refresh: move the bulk of the function into lib 2015-06-16 13:38:40 -05:00
udev makefiles: compile files on make 2014-04-18 16:38:49 +02:00
unit-tests cleanup: use DM_ARRAY_SIZE 2014-04-08 11:00:15 +02:00
.gitignore gitignore: Ignore files ending in ~ 2012-06-11 16:13:02 +01:00
acinclude.m4 configure: detect st_ctim 2015-03-18 13:42:24 +01:00
aclocal.m4 configure: LOCALEDIR needs evaluated value 2015-05-18 13:06:34 +02:00
configure configure: fix missing [ 2015-05-20 09:32:03 +02:00
configure.in configure: fix missing [ 2015-05-20 09:32:03 +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 makefiles: use bash subshell 2015-05-20 09:33:51 +02:00
Makefile.in makefiles: use fullpath when in assign 2015-05-14 00:19:32 +02:00
README README: fix link to lvm-devel mailing list 2015-03-31 15:44:00 +02:00
VERSION post-release 2015-06-12 21:42:57 +01:00
VERSION_DM post-release 2015-06-12 21:42:57 +01:00
WHATS_NEW filter: filter-usable: consider snapshot and origin LV as unusable if its component is suspended 2015-06-17 13:37:53 +02:00
WHATS_NEW_DM libdm: better debug message 2015-06-15 14:48: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/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.