]> sourceware.org Git - lvm2.git/log
lvm2.git
15 years agoautoreconf
Alasdair Kergon [Fri, 31 Oct 2008 22:12:55 +0000 (22:12 +0000)]
autoreconf

15 years agofirst attempt at merging configure
Alasdair Kergon [Fri, 31 Oct 2008 22:06:09 +0000 (22:06 +0000)]
first attempt at merging configure

15 years agolibdevmapper version - will change once the merger's settled in
Alasdair Kergon [Fri, 31 Oct 2008 21:55:40 +0000 (21:55 +0000)]
libdevmapper version - will change once the merger's settled in

15 years agoremove ancient debian dir
Alasdair Kergon [Fri, 31 Oct 2008 12:25:54 +0000 (12:25 +0000)]
remove ancient debian dir

15 years agoAdd dm-logging.h ready for libdevmapper.
Alasdair Kergon [Thu, 30 Oct 2008 17:54:12 +0000 (17:54 +0000)]
Add dm-logging.h ready for libdevmapper.

15 years agodrop explicit libdevmapper.h
Alasdair Kergon [Thu, 30 Oct 2008 17:52:06 +0000 (17:52 +0000)]
drop explicit libdevmapper.h

15 years agoseparate lvm-globals
Alasdair Kergon [Thu, 30 Oct 2008 17:40:00 +0000 (17:40 +0000)]
separate lvm-globals

15 years agoSeparate out globals from the logging code.
Alasdair Kergon [Thu, 30 Oct 2008 17:39:00 +0000 (17:39 +0000)]
Separate out globals from the logging code.

15 years agoSplit out lvm-logging.h from log.h.
Alasdair Kergon [Thu, 30 Oct 2008 17:27:28 +0000 (17:27 +0000)]
Split out lvm-logging.h from log.h.

15 years agoSplit out dm-logging.h from log.h
Alasdair Kergon [Thu, 30 Oct 2008 17:24:04 +0000 (17:24 +0000)]
Split out dm-logging.h from log.h

15 years agoAdd libdm subdir to begin merging the device-mapper tree.
Alasdair Kergon [Thu, 30 Oct 2008 15:31:33 +0000 (15:31 +0000)]
Add libdm subdir to begin merging the device-mapper tree.

15 years agoUse lvm-types.h
Alasdair Kergon [Thu, 30 Oct 2008 15:11:16 +0000 (15:11 +0000)]
Use lvm-types.h

15 years agopost-release
Alasdair Kergon [Sun, 26 Oct 2008 10:40:50 +0000 (10:40 +0000)]
post-release

15 years agopre-release
Alasdair Kergon [Sun, 26 Oct 2008 10:33:34 +0000 (10:33 +0000)]
pre-release

15 years agoAccept locking fallback_to_* options in the global section as documented.
Alasdair Kergon [Fri, 24 Oct 2008 01:16:16 +0000 (01:16 +0000)]
Accept locking fallback_to_* options in the global section as documented.

15 years agoFix temp table activation in mirror conversions not to happen in other cmds.
Alasdair Kergon [Thu, 23 Oct 2008 11:21:04 +0000 (11:21 +0000)]
Fix temp table activation in mirror conversions not to happen in other cmds.
Fix temp table in mirror conversions to use always-present error not zero.

15 years agopost-release
Alasdair Kergon [Fri, 17 Oct 2008 17:48:10 +0000 (17:48 +0000)]
post-release

15 years agopre-release
Alasdair Kergon [Fri, 17 Oct 2008 17:42:08 +0000 (17:42 +0000)]
pre-release

15 years agoUse temp table to set device size when converting mirrors.
Alasdair Kergon [Fri, 17 Oct 2008 10:57:15 +0000 (10:57 +0000)]
Use temp table to set device size when converting mirrors.

(Avoids having same mirror table loaded twice concurrently by first
using a 'zero' table to set the size of the device so when mirror
table is preloaded it doesn't have to be activated immediately.)

15 years agoIn resume_mirror_images replace activate_lv with resume_lv as workaround.
Alasdair Kergon [Fri, 17 Oct 2008 10:50:14 +0000 (10:50 +0000)]
In resume_mirror_images replace activate_lv with resume_lv as workaround.

(The resume has the side-effect of resuming all of the original
mirror's sub-lvs in addition to the new 'error' target middle layer.)

15 years agoAvoid overwriting in-use on-disk text metadata by forgetting MDA_HEADER_SIZE. (Edward...
Alasdair Kergon [Fri, 17 Oct 2008 00:55:46 +0000 (00:55 +0000)]
Avoid overwriting in-use on-disk text metadata by forgetting MDA_HEADER_SIZE. (Edward Allcutt)

15 years agoRe-indent test-utils.sh consistently, using tabs.
Petr Rockai [Tue, 14 Oct 2008 19:48:01 +0000 (19:48 +0000)]
Re-indent test-utils.sh consistently, using tabs.

15 years agoConversion of last 2 tests to use test-utils.sh, by jstava.
Petr Rockai [Tue, 14 Oct 2008 19:41:12 +0000 (19:41 +0000)]
Conversion of last 2 tests to use test-utils.sh, by jstava.

15 years agoFix snapshot monitoring library to not cancel monitoring invalid snapshot.
Milan Broz [Mon, 13 Oct 2008 12:06:30 +0000 (12:06 +0000)]
Fix snapshot monitoring library to not cancel monitoring invalid snapshot.

snapshot DSO unregistered itself when snapshot changed state to invalid.

This can cause a race (and several timeouts), when for example another snapshot
is added and in the middle of operation (suspend/resume) the monitoring thread
unregister itself.

Fix it by keeping the snapshot monitored after invalidation - just reset
threshold to not really print any messages to syslog.

15 years ago.
Alasdair Kergon [Thu, 9 Oct 2008 10:47:37 +0000 (10:47 +0000)]
.

15 years agoGenerate man pages from templates and include version. (romster)
Alasdair Kergon [Wed, 8 Oct 2008 12:50:13 +0000 (12:50 +0000)]
Generate man pages from templates and include version.  (romster)

15 years agoAdd usrlibdir & usrsbindir to configure.
Alasdair Kergon [Tue, 7 Oct 2008 19:11:59 +0000 (19:11 +0000)]
Add usrlibdir & usrsbindir to configure.

15 years agoAdd usrsbindir to configure.
Alasdair Kergon [Tue, 7 Oct 2008 19:08:46 +0000 (19:08 +0000)]
Add usrsbindir to configure.

15 years agoAdd a workaround for missing `losetup -s` by jstava, and a print a stacktrace
Petr Rockai [Mon, 6 Oct 2008 16:55:30 +0000 (16:55 +0000)]
Add a workaround for missing `losetup -s` by jstava, and a print a stacktrace
on errors (also by jstava). Currently requires bash, a fix for that may come
later -- explicitly using bash to run tests in the meantime.

15 years agoMore test conversions by jstava. Make check still passes.
Petr Rockai [Mon, 6 Oct 2008 16:47:07 +0000 (16:47 +0000)]
More test conversions by jstava. Make check still passes.

15 years agoFix conversion of md chunk size into sectors.
Alasdair Kergon [Fri, 3 Oct 2008 14:22:18 +0000 (14:22 +0000)]
Fix conversion of md chunk size into sectors.

15 years agodevice->devices
Alasdair Kergon [Wed, 1 Oct 2008 22:48:26 +0000 (22:48 +0000)]
device->devices

15 years agoMake harness.sh exit with non-zero status when tests fail.
Petr Rockai [Tue, 30 Sep 2008 21:45:42 +0000 (21:45 +0000)]
Make harness.sh exit with non-zero status when tests fail.

15 years agoCosmetic: get rid of trailing garbage on comments in t-vgslpit-usage.sh.
Petr Rockai [Tue, 30 Sep 2008 21:43:55 +0000 (21:43 +0000)]
Cosmetic: get rid of trailing garbage on comments in t-vgslpit-usage.sh.

15 years agoImprove harness.sh output: also mention failing test's name near the end of its
Petr Rockai [Tue, 30 Sep 2008 21:43:16 +0000 (21:43 +0000)]
Improve harness.sh output: also mention failing test's name near the end of its
output. Avoids the need to scroll back just to see which failing test you are
looking at.

15 years agoFree text metadata buffer after a failure writing it.
Alasdair Kergon [Tue, 30 Sep 2008 20:37:52 +0000 (20:37 +0000)]
Free text metadata buffer after a failure writing it.

15 years agoFix [ a = b ] usage in t-vgsplit-operation: string comparison is '=', not '=='.
Petr Rockai [Tue, 30 Sep 2008 18:29:10 +0000 (18:29 +0000)]
Fix [ a = b ] usage in t-vgsplit-operation: string comparison is '=', not '=='.

15 years agoConversion of t-vgsplit-operation.sh by jstava.
Petr Rockai [Tue, 30 Sep 2008 17:56:54 +0000 (17:56 +0000)]
Conversion of t-vgsplit-operation.sh by jstava.

15 years agoFix a syntax error in one of the scripts, introduced by last commit.
Petr Rockai [Tue, 30 Sep 2008 17:50:56 +0000 (17:50 +0000)]
Fix a syntax error in one of the scripts, introduced by last commit.

15 years agoMore test conversions, all of these are by jstava.
Petr Rockai [Tue, 30 Sep 2008 17:47:34 +0000 (17:47 +0000)]
More test conversions, all of these are by jstava.

15 years agoPort over t-vgreduce-usage. Should fix testsuite hangs where pvremove -ff would
Petr Rockai [Tue, 30 Sep 2008 17:17:04 +0000 (17:17 +0000)]
Port over t-vgreduce-usage. Should fix testsuite hangs where pvremove -ff would
have waited for input on certain test failures.

15 years agoConvert t-vgsplit-usage.sh to use the new test-utils.sh. Original conversion by
Petr Rockai [Tue, 30 Sep 2008 15:20:09 +0000 (15:20 +0000)]
Convert t-vgsplit-usage.sh to use the new test-utils.sh. Original conversion by
jstava. Lvm1 testing restored by mornfall.

15 years agoConvert t-pvremove-usage to use the new test-utils.sh.
Petr Rockai [Tue, 30 Sep 2008 13:19:56 +0000 (13:19 +0000)]
Convert t-pvremove-usage to use the new test-utils.sh.

15 years agoUpdate test/Makefile.in to use the new harness for calling tests.
Petr Rockai [Mon, 29 Sep 2008 16:07:02 +0000 (16:07 +0000)]
Update test/Makefile.in to use the new harness for calling tests.

15 years agoAdd a test for reappearing lost PVs causing endless metadata correction
Petr Rockai [Mon, 29 Sep 2008 16:06:10 +0000 (16:06 +0000)]
Add a test for reappearing lost PVs causing endless metadata correction
updates. (A problem Milan fixed recently.)

15 years agoAdd a simple test for partial activation.
Petr Rockai [Mon, 29 Sep 2008 16:04:57 +0000 (16:04 +0000)]
Add a simple test for partial activation.

15 years agoUpdate a bunch of tests to use functionality from test-utils.sh.
Petr Rockai [Mon, 29 Sep 2008 16:02:50 +0000 (16:02 +0000)]
Update a bunch of tests to use functionality from test-utils.sh.

15 years agoExport testlib_cleanup_ from test-lib.sh, which is needed for test-utils.sh to
Petr Rockai [Mon, 29 Sep 2008 16:00:53 +0000 (16:00 +0000)]
Export testlib_cleanup_ from test-lib.sh, which is needed for test-utils.sh to
be able to call proper EXIT traps.

15 years agoImport new test utilities and a test harness.
Petr Rockai [Mon, 29 Sep 2008 15:59:19 +0000 (15:59 +0000)]
Import new test utilities and a test harness.

15 years agoFix misleading error message when there is no allocatable extents in VG.
Milan Broz [Mon, 29 Sep 2008 09:59:10 +0000 (09:59 +0000)]
Fix misleading error message when there is no allocatable extents in VG.

15 years agoFix handling of PVs which reappeared with old metadata version.
Milan Broz [Thu, 25 Sep 2008 15:59:10 +0000 (15:59 +0000)]
Fix handling of PVs which reappeared with old metadata version.

15 years agoTry to fix possible infinite loop in dependency tree walking (by mornfall).
Milan Broz [Thu, 25 Sep 2008 15:57:02 +0000 (15:57 +0000)]
Try to fix possible infinite loop in dependency tree walking (by mornfall).

15 years agoFix mirror DSO to call vgreduce with proper parameters.
Milan Broz [Thu, 25 Sep 2008 15:52:29 +0000 (15:52 +0000)]
Fix mirror DSO to call vgreduce with proper parameters.

15 years agoFix validation of --minor and --major in lvcreate to require -My always.
Milan Broz [Wed, 24 Sep 2008 16:32:51 +0000 (16:32 +0000)]
Fix validation of --minor and --major in lvcreate to require -My always.

15 years ago.
Alasdair Kergon [Fri, 19 Sep 2008 18:31:20 +0000 (18:31 +0000)]
.

15 years agosuppress warning if old value found for now
Alasdair Kergon [Fri, 19 Sep 2008 18:26:41 +0000 (18:26 +0000)]
suppress warning if old value found for now

15 years agoAdd more vgreduce tests. (Jaroslav Stava)
Milan Broz [Fri, 19 Sep 2008 16:12:25 +0000 (16:12 +0000)]
Add more vgreduce tests. (Jaroslav Stava)

15 years agoFix vgreduce test, now requires --force flag. (Jaroslav Stava)
Milan Broz [Fri, 19 Sep 2008 16:10:46 +0000 (16:10 +0000)]
Fix vgreduce test,  now requires --force flag. (Jaroslav Stava)

15 years agofix last release
Alasdair Kergon [Fri, 19 Sep 2008 15:44:03 +0000 (15:44 +0000)]
fix last release

15 years ago.
Alasdair Kergon [Fri, 19 Sep 2008 07:18:03 +0000 (07:18 +0000)]
.

15 years agorename var
Alasdair Kergon [Fri, 19 Sep 2008 07:12:45 +0000 (07:12 +0000)]
rename var

15 years agorevert unexplained removal of a '<backtrace>' message
Alasdair Kergon [Fri, 19 Sep 2008 07:03:23 +0000 (07:03 +0000)]
revert unexplained removal of a '<backtrace>' message

15 years agopre-release
Alasdair Kergon [Fri, 19 Sep 2008 06:48:48 +0000 (06:48 +0000)]
pre-release

15 years ago.
Alasdair Kergon [Fri, 19 Sep 2008 06:44:54 +0000 (06:44 +0000)]
.

15 years agoImprove the way VGs with PVs missing are handled so manual intervention
Alasdair Kergon [Fri, 19 Sep 2008 06:42:00 +0000 (06:42 +0000)]
Improve the way VGs with PVs missing are handled so manual intervention
is required in fewer circumstances.  (mornfall)

15 years agoAdd device/md_chunk_alignment to lvm.conf
Alasdair Kergon [Fri, 19 Sep 2008 05:33:37 +0000 (05:33 +0000)]
Add device/md_chunk_alignment to lvm.conf

15 years agoadjust pe_align for md chunk size
Alasdair Kergon [Fri, 19 Sep 2008 05:19:09 +0000 (05:19 +0000)]
adjust pe_align for md chunk size

15 years agoremove unsed var
Alasdair Kergon [Fri, 19 Sep 2008 04:30:02 +0000 (04:30 +0000)]
remove unsed var

15 years agoPass struct physical_volume to pe_align.
Alasdair Kergon [Fri, 19 Sep 2008 04:28:58 +0000 (04:28 +0000)]
Pass struct physical_volume to pe_align.

15 years agoremove unused var
Alasdair Kergon [Fri, 19 Sep 2008 03:45:34 +0000 (03:45 +0000)]
remove unused var

15 years agoStore sysfs location in struct cmd_context.
Alasdair Kergon [Fri, 19 Sep 2008 03:42:37 +0000 (03:42 +0000)]
Store sysfs location in struct cmd_context.

15 years agofix last patch return code
Alasdair Kergon [Fri, 19 Sep 2008 00:20:39 +0000 (00:20 +0000)]
fix last patch return code

15 years agoFix last checkin - tested wrong dnode.
Alasdair Kergon [Thu, 18 Sep 2008 22:55:33 +0000 (22:55 +0000)]
Fix last checkin - tested wrong dnode.

15 years agopost-release
Alasdair Kergon [Thu, 18 Sep 2008 20:09:51 +0000 (20:09 +0000)]
post-release

15 years agoAvoid shuffling remaining mirror images when removing one, retaining primary.
Alasdair Kergon [Thu, 18 Sep 2008 19:56:50 +0000 (19:56 +0000)]
Avoid shuffling remaining mirror images when removing one, retaining primary.

15 years agoAdd missing LV error target activation in _remove_mirror_images.
Alasdair Kergon [Thu, 18 Sep 2008 19:09:47 +0000 (19:09 +0000)]
Add missing LV error target activation in _remove_mirror_images.

15 years agoPrevent resizing an LV while lvconvert is using it.
Alasdair Kergon [Thu, 18 Sep 2008 18:51:58 +0000 (18:51 +0000)]
Prevent resizing an LV while lvconvert is using it.

15 years agoOnly resume devices in dm_tree_preload_children if size changes.
Alasdair Kergon [Thu, 18 Sep 2008 18:34:53 +0000 (18:34 +0000)]
Only resume devices in dm_tree_preload_children if size changes.

15 years agoAvoid repeatedly wiping cache while VG_GLOBAL is held in vgscan & pvscan.
Alasdair Kergon [Tue, 16 Sep 2008 18:05:11 +0000 (18:05 +0000)]
Avoid repeatedly wiping cache while VG_GLOBAL is held in vgscan & pvscan.

15 years agorevert unnecessary 'stack's
Alasdair Kergon [Mon, 15 Sep 2008 17:06:55 +0000 (17:06 +0000)]
revert unnecessary 'stack's

15 years agoFix pvresize to not allow resize if PV has two metadata areas.
Milan Broz [Fri, 12 Sep 2008 15:26:45 +0000 (15:26 +0000)]
Fix pvresize to not allow resize if PV has two metadata areas.

If the PV has two metadata areas, second one is located at the end of the device.

Do not allow resize of PV or second metadata area can be overwritten.
(The check was active only for orphan PVs.)

15 years agoDo not scan for lvm1 entries in /proc if not running 2.4 kernel.
Milan Broz [Wed, 10 Sep 2008 10:14:59 +0000 (10:14 +0000)]
Do not scan for lvm1 entries in /proc if not running 2.4 kernel.
(LVM1 is only present in 2.4 kernel.)

15 years agoExtend deptree buffers so the largest possible device numbers fit.
Alasdair Kergon [Tue, 2 Sep 2008 12:16:07 +0000 (12:16 +0000)]
Extend deptree buffers so the largest possible device numbers fit.

15 years agoFix setting of volume limit count if converting to lvm1 format.
Milan Broz [Fri, 29 Aug 2008 13:41:21 +0000 (13:41 +0000)]
Fix setting of volume limit count if converting to lvm1 format.

Fixes problem when after downconvert to lvm1 VG is broken:

# lvcreate -n lv1 -l 4 vg_test
  Invalid LV in extent map (PV /dev/sdb1, PE 0, LV 0, LE 0)
  ...

15 years agoAdd ctype.h header file to silence compile warning on 'isdigit'.
Dave Wysochanski [Fri, 29 Aug 2008 00:49:46 +0000 (00:49 +0000)]
Add ctype.h header file to silence compile warning on 'isdigit'.

uuid/uuid.c:86: warning: implicit declaration of function 'isdigit'

15 years agoFix vgconvert logical volume id metadata validation.
Milan Broz [Thu, 28 Aug 2008 18:41:51 +0000 (18:41 +0000)]
Fix vgconvert logical volume id metadata validation.

If volume group is downconverted to lvm1 format,
check if lvid has supported format for conversion to lv_num in lvm1.

15 years agoformat1: Not detecing label on disc is not error, remove <backtrace> from debug log
Milan Broz [Thu, 28 Aug 2008 13:41:46 +0000 (13:41 +0000)]
format1: Not detecing label on disc is not error, remove <backtrace> from debug log
(happens when you explicitly use -M 1)

15 years agoNot detecing label on disc is not error, remove <backtrace> from debug log
Milan Broz [Thu, 28 Aug 2008 13:28:13 +0000 (13:28 +0000)]
Not detecing label on disc is not error, remove <backtrace> from debug log
and report it only if device cannot be read.

15 years agofix vgreduce tests to detect partial command failure (Jaroslav Stava)
Milan Broz [Thu, 28 Aug 2008 11:20:49 +0000 (11:20 +0000)]
fix vgreduce tests to detect partial command failure (Jaroslav Stava)

15 years agoadd vgcreate rejects repeated invocation test
Milan Broz [Thu, 28 Aug 2008 11:09:58 +0000 (11:09 +0000)]
add vgcreate rejects repeated invocation test
add vgcreate fails when the only pv has --metadatacopies 0 test
(by Jaroslav Stava)

15 years agoadd vgrename by uuid test (Jaroslav Stava)
Milan Broz [Thu, 28 Aug 2008 10:59:10 +0000 (10:59 +0000)]
add vgrename by uuid test (Jaroslav Stava)
fix vgsplit rejects last mda copy test (Jaroslav Stava)

15 years agoFix lvmdump metadata gather option (-m) to work correctly. (Jaroslav Stava)
Milan Broz [Thu, 28 Aug 2008 10:40:44 +0000 (10:40 +0000)]
Fix lvmdump metadata gather option (-m) to work correctly. (Jaroslav Stava)

15 years agoAdd pvremove usage test (Jaroslav Stava)
Milan Broz [Thu, 28 Aug 2008 10:24:55 +0000 (10:24 +0000)]
Add pvremove usage test (Jaroslav Stava)

15 years ago- fix environment variable prefix to LVM (this is not GIT:-)
Milan Broz [Thu, 28 Aug 2008 10:07:34 +0000 (10:07 +0000)]
- fix environment variable prefix to LVM (this is not GIT:-)
- add lvcreate rejects repeated invocation test
- fix pvs metadata test for partial failure test
- add pvchange reject --addtag to lvm1 pv test

(All fixes by Jaroslav Stava)

15 years agoFix symbolic link creation in test infrastructure.
Dave Wysochanski [Thu, 21 Aug 2008 14:33:48 +0000 (14:33 +0000)]
Fix symbolic link creation in test infrastructure.

Original code would create "*.so" symbolic links if there were no actual
files ending in "so".  The second iteration would then cause an error
in the test logs.

15 years agofail testcase for failed commands inside the for loop
Zdenek Kabelac [Wed, 20 Aug 2008 13:34:33 +0000 (13:34 +0000)]
fail testcase for failed commands inside the for loop

15 years agoFix allocation bug in text metadata format write error path.
Milan Broz [Sat, 16 Aug 2008 09:46:55 +0000 (09:46 +0000)]
Fix allocation bug in text metadata format write error path.

Function _text_pv_write doesn't use memory pool but static buffer,
call dm_pool_free in error path in _raw_write_mda_header is wrong.

Move pool free only to path where is the memory pool used.

15 years agovalid parameter for lvchange -p is 'rw'
Zdenek Kabelac [Wed, 13 Aug 2008 14:28:17 +0000 (14:28 +0000)]
valid parameter for lvchange -p is 'rw'

15 years agoadded test for coverage improvement
Zdenek Kabelac [Wed, 13 Aug 2008 13:49:07 +0000 (13:49 +0000)]
added test for coverage improvement
added test for metadata type 1

15 years agoget lv_list properly from vg->lst and fix compiler warning
Zdenek Kabelac [Wed, 13 Aug 2008 13:42:35 +0000 (13:42 +0000)]
get lv_list properly from vg->lst and fix compiler warning

This page took 0.05805 seconds and 5 git commands to generate.