1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-12-27 00:23:49 +03:00

Compare commits

...

6 Commits

Author SHA1 Message Date
Alasdair Kergon
1485586f7e pre-release 2006-10-13 18:43:53 +00:00
Alasdair Kergon
d5c9024335 Avoid deptree attempting to suspend a device that's already suspended. 2006-10-13 14:03:35 +00:00
Alasdair Kergon
860cf80703 Propagate clustered flag in vgsplit and require resizeable flag. 2006-10-13 13:22:44 +00:00
Alasdair Kergon
897ff3161f post-release 2006-10-12 18:20:45 +00:00
Alasdair Kergon
b356b2e501 fix realtime msg alignment 2006-10-12 18:17:09 +00:00
Alasdair Kergon
1d2733c893 pre-release 2006-10-12 18:13:33 +00:00
7 changed files with 23 additions and 6 deletions

View File

@@ -1 +1 @@
2.02.11-cvs (2006-09-19)
2.02.12-cvs (2006-10-12)

View File

@@ -1,5 +1,9 @@
Version 2.02.11 -
=====================================
Version 2.02.12 -
===================================
Propogate clustered flag in vgsplit and require resizeable flag.
Version 2.02.11 - 12th October 2006
===================================
Add clvmd function to return the cluster name. not used by LVM yet.
Add cling allocation policy.
Change _check_contiguous() to use _for_each_pv().

View File

@@ -1,3 +1,7 @@
Version 1.02.12 - 13 Oct 2006
=============================
Avoid deptree attempting to suspend a device that's already suspended.
Version 1.02.11 - 12 Oct 2006
==============================
Add suspend noflush support.

2
configure vendored
View File

@@ -853,7 +853,7 @@ Optional Features:
statically. Default is dynamic linking
--enable-readline Enable readline support
--disable-selinux Disable selinux support
--disable-realtime Disable realtime clock support
--disable-realtime Disable realtime clock support
--enable-debug Enable debugging
--disable-devmapper Disable device-mapper interaction
--disable-o_direct Disable O_DIRECT

View File

@@ -287,7 +287,7 @@ AC_MSG_RESULT($SELINUX)
################################################################################
dnl -- Disable realtime clock support
AC_MSG_CHECKING(whether to enable realtime support)
AC_ARG_ENABLE(realtime, [ --disable-realtime Disable realtime clock support],
AC_ARG_ENABLE(realtime, [ --disable-realtime Disable realtime clock support],
REALTIME=$enableval)
AC_MSG_RESULT($REALTIME)

View File

@@ -1028,7 +1028,7 @@ int dm_tree_suspend_children(struct dm_tree_node *dnode,
continue;
if (!_info_by_dev(dinfo->major, dinfo->minor, 0, &info) ||
!info.exists)
!info.exists || info.suspended)
continue;
if (!_suspend_node(name, info.major, info.minor,

View File

@@ -209,6 +209,12 @@ int vgsplit(struct cmd_context *cmd, int argc, char **argv)
return ECMD_FAILED;
}
if (!(vg_from->status & RESIZEABLE_VG)) {
log_error("Volume group \"%s\" is not resizeable", vg_from->name);
unlock_vg(cmd, vg_name_from);
return ECMD_FAILED;
}
if (!(vg_from->status & LVM_WRITE)) {
log_error("Volume group \"%s\" is read-only", vg_from->name);
unlock_vg(cmd, vg_name_from);
@@ -248,6 +254,9 @@ int vgsplit(struct cmd_context *cmd, int argc, char **argv)
vg_from->alloc, 0, NULL)))
goto error;
if (vg_from->status & CLUSTERED)
vg_to->status |= CLUSTERED;
/* Archive vg_from before changing it */
if (!archive(vg_from))
goto error;