]> sourceware.org Git - lvm2.git/log
lvm2.git
17 years agoAdd typedef pv_handle_t
Dave Wysochanski [Wed, 13 Jun 2007 19:52:48 +0000 (19:52 +0000)]
Add typedef pv_handle_t

17 years agoFix a couple benign warnings by adding variable initializations.
Dave Wysochanski [Wed, 13 Jun 2007 15:11:19 +0000 (15:11 +0000)]
Fix a couple benign warnings by adding variable initializations.

17 years agoConvert find_pv_in_vg_by_uuid and pv_create to use PV handles
Dave Wysochanski [Tue, 12 Jun 2007 22:41:27 +0000 (22:41 +0000)]
Convert find_pv_in_vg_by_uuid and pv_create to use PV handles

17 years agoChange PV_HANDLE_DEREF to pv_field and add paren's
Dave Wysochanski [Tue, 12 Jun 2007 21:39:49 +0000 (21:39 +0000)]
Change PV_HANDLE_DEREF to pv_field and add paren's

17 years agoAdd get_pv_* functions to return PV fields in prep for external LVM library
Dave Wysochanski [Tue, 12 Jun 2007 21:20:20 +0000 (21:20 +0000)]
Add get_pv_* functions to return PV fields in prep for external LVM library

17 years agoAdd wrappers to functions related to pv commands in preparation for exported LVM lib
Dave Wysochanski [Mon, 11 Jun 2007 18:29:30 +0000 (18:29 +0000)]
Add wrappers to functions related to pv commands in preparation for exported LVM lib

17 years agoAdd capability for tree-based fields to dmsetup reports.
Alasdair Kergon [Mon, 11 Jun 2007 13:20:29 +0000 (13:20 +0000)]
Add capability for tree-based fields to dmsetup reports.

17 years agoAllow vgcfgrestore to list metadata backup files using -f
Bryn M. Reeves [Fri, 8 Jun 2007 22:38:48 +0000 (22:38 +0000)]
Allow vgcfgrestore to list metadata backup files using -f

17 years agoAdd vg_check_status to consolidate vg status flags checks and error messages.
Dave Wysochanski [Wed, 6 Jun 2007 19:40:28 +0000 (19:40 +0000)]
Add vg_check_status to consolidate vg status flags checks and error messages.

17 years agomake code consistent with pvresize code - good candidate for common code cleanup
Dave Wysochanski [Tue, 5 Jun 2007 18:23:17 +0000 (18:23 +0000)]
make code consistent with pvresize code - good candidate for common code cleanup

17 years agoFix pvdisplay --maps to not display segment header for orphan PVs.
Dave Wysochanski [Thu, 31 May 2007 20:26:11 +0000 (20:26 +0000)]
Fix pvdisplay --maps to not display segment header for orphan PVs.

17 years agoFix redundant segment display when PV is given to 'pvdisplay --maps' cmdline.
Dave Wysochanski [Thu, 31 May 2007 20:10:25 +0000 (20:10 +0000)]
Fix redundant segment display when PV is given to 'pvdisplay --maps' cmdline.

17 years agoRemove 'Type' from pvdisplay --maps as there is no 'Type' of a physical segment,...
Dave Wysochanski [Thu, 31 May 2007 15:18:44 +0000 (15:18 +0000)]
Remove 'Type' from pvdisplay --maps as there is no 'Type' of a physical segment, only logical segments

17 years agoSmall fixes to pvdisplay --maps: 1) rename struct pv_segment vars from 'seg' to ...
Dave Wysochanski [Thu, 31 May 2007 14:19:57 +0000 (14:19 +0000)]
Small fixes to pvdisplay --maps: 1) rename struct pv_segment vars from 'seg' to 'pvseg', 2) Change heading

17 years agoAdd --maps to pvdisplay.
Dave Wysochanski [Wed, 30 May 2007 20:43:09 +0000 (20:43 +0000)]
Add --maps to pvdisplay.
Modified original patch from David Robinson <zxvdr.au@gmail.com>.

17 years agoFix vgcfgrestore man pg to show mandatory VG name and remove LVM1 options.
Dave Wysochanski [Tue, 22 May 2007 02:52:57 +0000 (02:52 +0000)]
Fix vgcfgrestore man pg to show mandatory VG name and remove LVM1 options.

17 years agoFix vgrename man page to include UUID and be more consistent with lvrename.
Dave Wysochanski [Tue, 22 May 2007 02:51:33 +0000 (02:51 +0000)]
Fix vgrename man page to include UUID and be more consistent with lvrename.

17 years agoAdd *Experimental* OpenAIS support to clvmd.
Patrick Caulfield [Mon, 21 May 2007 10:52:01 +0000 (10:52 +0000)]
Add *Experimental* OpenAIS support to clvmd.

17 years agoRemove symlinks if parent volume is deactivated.
Milan Broz [Tue, 15 May 2007 14:42:01 +0000 (14:42 +0000)]
Remove symlinks if parent volume is deactivated.

17 years agoFix and clarify vgsplit error messages.
Milan Broz [Tue, 15 May 2007 13:01:41 +0000 (13:01 +0000)]
Fix and clarify vgsplit error messages.

17 years agoFix a segfault if a device has no target (no table)
Milan Broz [Mon, 14 May 2007 11:27:34 +0000 (11:27 +0000)]
Fix a segfault if a device has no target (no table)

17 years agoMisc clvmd cleanups from Jim Meyering
Patrick Caulfield [Wed, 2 May 2007 12:22:40 +0000 (12:22 +0000)]
Misc clvmd cleanups from Jim Meyering

17 years agoAdd some more debuglogs to clvmd startup.
Patrick Caulfield [Wed, 2 May 2007 08:23:36 +0000 (08:23 +0000)]
Add some more debuglogs to clvmd startup.

17 years agopost-release
Alasdair Kergon [Fri, 27 Apr 2007 20:58:45 +0000 (20:58 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Fri, 27 Apr 2007 20:47:14 +0000 (20:47 +0000)]
pre-release

17 years agoFix get_config_uint64() to read a 64-bit value not a 32-bit one.
Alasdair Kergon [Fri, 27 Apr 2007 20:41:50 +0000 (20:41 +0000)]
Fix get_config_uint64() to read a 64-bit value not a 32-bit one.

17 years agoAdd -Wformat-security and change one fprintf() to fputs().
Alasdair Kergon [Fri, 27 Apr 2007 19:26:57 +0000 (19:26 +0000)]
Add -Wformat-security and change one fprintf() to fputs().

17 years agoStandardise protective include file #defines.
Alasdair Kergon [Fri, 27 Apr 2007 19:07:43 +0000 (19:07 +0000)]
Standardise protective include file #defines.

17 years agoMove regex functions into libdevmapper.
Alasdair Kergon [Fri, 27 Apr 2007 18:52:05 +0000 (18:52 +0000)]
Move regex functions into libdevmapper.

17 years agoAdd regex functions to library.
Alasdair Kergon [Fri, 27 Apr 2007 18:40:23 +0000 (18:40 +0000)]
Add regex functions to library.

17 years agoconfigure.h isn't a system header
Alasdair Kergon [Fri, 27 Apr 2007 18:01:45 +0000 (18:01 +0000)]
configure.h isn't a system header

17 years agoChange some #include lines to search only standard system directories.
Alasdair Kergon [Fri, 27 Apr 2007 17:46:16 +0000 (17:46 +0000)]
Change some #include lines to search only standard system directories.

17 years agoAvoid trailing separator in reports when there are hidden sort fields.
Alasdair Kergon [Fri, 27 Apr 2007 15:22:27 +0000 (15:22 +0000)]
Avoid trailing separator in reports when there are hidden sort fields.

17 years agoFix segfault in 'dmsetup status' without --showkeys against crypt target. [nec]
Alasdair Kergon [Fri, 27 Apr 2007 15:12:26 +0000 (15:12 +0000)]
Fix segfault in 'dmsetup status' without --showkeys against crypt target. [nec]

17 years agoDeal with some more compiler warnings. Hope this doesn't break anything...
Alasdair Kergon [Fri, 27 Apr 2007 14:52:41 +0000 (14:52 +0000)]
Deal with some more compiler warnings.  Hope this doesn't break anything...

17 years agoadd preferred_names to man page.
Alasdair Kergon [Thu, 26 Apr 2007 17:14:57 +0000 (17:14 +0000)]
add preferred_names to man page.

17 years agoAdd devices/preferred_names config regex list for displayed device names.
Alasdair Kergon [Thu, 26 Apr 2007 16:44:59 +0000 (16:44 +0000)]
Add devices/preferred_names config regex list for displayed device names.
Free a temporary dir string in fcntl_lock_file() after use.
Fix a dm_pool_destroy() in matcher_create().
Introduce goto_bad macro.

17 years agoFix warnings on x86_64 involving ptrdiff_t:
Dave Wysochanski [Thu, 26 Apr 2007 16:40:46 +0000 (16:40 +0000)]
Fix warnings on x86_64 involving ptrdiff_t:
    config/config.c:493: warning: format '%d' expects type 'int', but argument 5 has type 'long int'

Modified original patch from Jim Meyering <jim@meyering.net>

17 years agoUpdate pvck to include text metadata area and record detection.
Dave Wysochanski [Wed, 25 Apr 2007 21:10:55 +0000 (21:10 +0000)]
Update pvck to include text metadata area and record detection.

--

17 years agoAdd support functions for analysis of config sections,
Dave Wysochanski [Wed, 25 Apr 2007 20:38:39 +0000 (20:38 +0000)]
Add support functions for analysis of config sections,
and hence, on-disk LVM2 metadata.

--

17 years agoUpdate pvck to read labels on disk, with flexible --labelsector
Dave Wysochanski [Wed, 25 Apr 2007 20:03:16 +0000 (20:03 +0000)]
Update pvck to read labels on disk, with flexible --labelsector
parameter.

--

17 years agoAdd count_chars and count_chars_len functions, two
Dave Wysochanski [Wed, 25 Apr 2007 18:24:19 +0000 (18:24 +0000)]
Add count_chars and count_chars_len functions, two
generic string utility functions.

--

17 years agoMake lvm_dump.sh capture a listing of /sys/block entries.
Bryn M. Reeves [Wed, 25 Apr 2007 14:49:27 +0000 (14:49 +0000)]
Make lvm_dump.sh capture a listing of /sys/block entries.

17 years agoFix thread race in clvmd.
Patrick Caulfield [Tue, 24 Apr 2007 15:13:13 +0000 (15:13 +0000)]
Fix thread race in clvmd.

17 years agoFix the regression introduced by dmeventd leak fixes.
Petr Rockai [Tue, 24 Apr 2007 13:29:02 +0000 (13:29 +0000)]
Fix the regression introduced by dmeventd leak fixes.

17 years agoAdd 'scan_sector' parameter to label_read and _find_labeller to add
Dave Wysochanski [Mon, 23 Apr 2007 18:21:01 +0000 (18:21 +0000)]
Add 'scan_sector' parameter to label_read and _find_labeller to add
flexibility in searching for disk labels.

17 years agoFix some memory leaks in dmeventd.
Petr Rockai [Mon, 23 Apr 2007 15:06:03 +0000 (15:06 +0000)]
Fix some memory leaks in dmeventd.

17 years agoMake clvmd cope with quorum devices in RHEL5
Patrick Caulfield [Mon, 23 Apr 2007 14:55:28 +0000 (14:55 +0000)]
Make clvmd cope with quorum devices in RHEL5
bz#237386

17 years agore-commit lvm_dump.sh change
Bryn M. Reeves [Thu, 19 Apr 2007 23:06:05 +0000 (23:06 +0000)]
re-commit lvm_dump.sh change

17 years agoMake lvm_dump.sh list /dev recursively to aid identifying devices.
Bryn M. Reeves [Thu, 19 Apr 2007 22:56:16 +0000 (22:56 +0000)]
Make lvm_dump.sh list /dev recursively to aid identifying devices.

17 years agoIntroduce _add_field() and _is_same_field() to libdm-report.c.
Alasdair Kergon [Thu, 19 Apr 2007 20:24:00 +0000 (20:24 +0000)]
Introduce _add_field() and _is_same_field() to libdm-report.c.

17 years agoFix libdevmapper-event memory leaks
Milan Broz [Thu, 19 Apr 2007 19:10:19 +0000 (19:10 +0000)]
Fix libdevmapper-event memory leaks

17 years agoAdd dev_read_circular, read 2 regions on same device.
Dave Wysochanski [Thu, 19 Apr 2007 02:10:42 +0000 (02:10 +0000)]
Add dev_read_circular, read 2 regions on same device.

17 years agoAdd stub for pvck, a command to check physical volume consistency.
Dave Wysochanski [Fri, 30 Mar 2007 21:00:26 +0000 (21:00 +0000)]
Add stub for pvck, a command to check physical volume consistency.

17 years agoAdd some extra error checking & robustness.
Patrick Caulfield [Thu, 29 Mar 2007 13:59:33 +0000 (13:59 +0000)]
Add some extra error checking & robustness.
Thanks to the Crosswalk engineering team:
    Leonard Maiorani
    Henry Harris
    Scott Cannata

17 years agoUpdate lists of attribute characters in man pages.
Alasdair Kergon [Tue, 27 Mar 2007 13:35:33 +0000 (13:35 +0000)]
Update lists of attribute characters in man pages.
Change cling alloc policy attribute character from 'C' to l'.

17 years agoFix creation and conversion of mirrors with tags.
Milan Broz [Mon, 26 Mar 2007 16:10:10 +0000 (16:10 +0000)]
Fix creation and conversion of mirrors with tags.

17 years agoFix vgsplit for lvm1 format (set and validate VG name in PVs metadata).
Milan Broz [Fri, 23 Mar 2007 12:43:17 +0000 (12:43 +0000)]
Fix vgsplit for lvm1 format (set and validate VG name in PVs metadata).
Split metadata areas in vgsplit properly.

17 years agopost-release
Alasdair Kergon [Mon, 19 Mar 2007 21:16:49 +0000 (21:16 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Mon, 19 Mar 2007 21:12:54 +0000 (21:12 +0000)]
pre-release

17 years agoFix processing of exit status in init scripts
Milan Broz [Fri, 16 Mar 2007 17:15:36 +0000 (17:15 +0000)]
Fix processing of exit status in init scripts

17 years agoRemove unnecessary memset() return value checks. [Jim Meyering]
Alasdair Kergon [Fri, 16 Mar 2007 14:36:14 +0000 (14:36 +0000)]
Remove unnecessary memset() return value checks.  [Jim Meyering]

17 years agoFix vgremove to require at least one vg argument.
Milan Broz [Thu, 15 Mar 2007 14:00:30 +0000 (14:00 +0000)]
Fix vgremove to require at least one vg argument.

17 years agoTry to fix reading in of lvm1 striped LVs.
Alasdair Kergon [Thu, 15 Mar 2007 13:38:28 +0000 (13:38 +0000)]
Try to fix reading in of lvm1 striped LVs.
There are two fixes other than improving variable names and updating code
layout etc.
The loop counter is incremented by area_len instead of area_len * stripes;
the 3rd _check_stripe parameter is no longer multiplied by number of stripes.

17 years agoFlag nolocking as a clustered locking module as we need to be able
Patrick Caulfield [Tue, 13 Mar 2007 14:59:21 +0000 (14:59 +0000)]
Flag nolocking as a clustered locking module as we need to be able
to look at clustered LVs at clvmd startup

17 years agoAdd a few missing pieces of vgname command line validation.
Alasdair Kergon [Fri, 9 Mar 2007 21:25:33 +0000 (21:25 +0000)]
Add a few missing pieces of vgname command line validation.

17 years agoSupport the /dev/mapper prefix on most command lines.
Alasdair Kergon [Fri, 9 Mar 2007 20:47:41 +0000 (20:47 +0000)]
Support the /dev/mapper prefix on most command lines.

17 years agopost-release
Alasdair Kergon [Thu, 8 Mar 2007 21:37:48 +0000 (21:37 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Thu, 8 Mar 2007 21:28:13 +0000 (21:28 +0000)]
pre-release

17 years agoFix vgrename active LV check to ignore differing vgids.
Alasdair Kergon [Thu, 8 Mar 2007 21:08:25 +0000 (21:08 +0000)]
Fix vgrename active LV check to ignore differing vgids.

17 years agoRemove no-longer-used uuid_out parameter from activation info functions.
Alasdair Kergon [Thu, 8 Mar 2007 19:58:04 +0000 (19:58 +0000)]
Remove no-longer-used uuid_out parameter from activation info functions.

17 years agoFix two more segfaults if an empty config file section encountered.
Alasdair Kergon [Thu, 8 Mar 2007 19:22:52 +0000 (19:22 +0000)]
Fix two more segfaults if an empty config file section encountered.

17 years agoMove .cache file into a new /etc/lvm/cache directory by default.
Alasdair Kergon [Wed, 28 Feb 2007 18:27:13 +0000 (18:27 +0000)]
Move .cache file into a new /etc/lvm/cache directory by default.
Add devices/cache_dir & devices/cache_file_prefix, deprecating devices/cache.
Create directory in fcntl_lock_file() if required.

17 years agoExclude readline support from lvm.static
Alasdair Kergon [Wed, 14 Feb 2007 16:51:48 +0000 (16:51 +0000)]
Exclude readline support from lvm.static

17 years agoFix a leak in a reporting error path.
Alasdair Kergon [Wed, 14 Feb 2007 15:18:31 +0000 (15:18 +0000)]
Fix a leak in a reporting error path.

17 years agoFix a few leaks in reporting error paths.
Alasdair Kergon [Wed, 14 Feb 2007 15:12:16 +0000 (15:12 +0000)]
Fix a few leaks in reporting error paths.

17 years agopost-release
Alasdair Kergon [Tue, 13 Feb 2007 16:16:15 +0000 (16:16 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Tue, 13 Feb 2007 16:12:24 +0000 (16:12 +0000)]
pre-release

17 years agoCorrect -b and -P on a couple of man pages.
Alasdair Kergon [Tue, 13 Feb 2007 16:04:01 +0000 (16:04 +0000)]
Correct -b and -P on a couple of man pages.
Add global/units to example.conf.

17 years agoFix loading of segment_libraries. [gentoo]
Alasdair Kergon [Thu, 8 Feb 2007 17:31:02 +0000 (17:31 +0000)]
Fix loading of segment_libraries. [gentoo]

17 years agoIf a PV reappears after it was removed from its VG, make it an orphan.
Alasdair Kergon [Wed, 7 Feb 2007 13:29:52 +0000 (13:29 +0000)]
If a PV reappears after it was removed from its VG, make it an orphan.

17 years agoImprove dmeventd messaging protocol: drain pipe and tag messages.
Alasdair Kergon [Fri, 2 Feb 2007 17:08:51 +0000 (17:08 +0000)]
Improve dmeventd messaging protocol: drain pipe and tag messages.

17 years agoFix some &->&& vgreduce cmdline validation. [Andre Noll]
Alasdair Kergon [Wed, 31 Jan 2007 16:26:23 +0000 (16:26 +0000)]
Fix some &->&& vgreduce cmdline validation.  [Andre Noll]

17 years agopost-release
Alasdair Kergon [Tue, 30 Jan 2007 21:37:18 +0000 (21:37 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Tue, 30 Jan 2007 18:08:17 +0000 (18:08 +0000)]
pre-release

17 years agoAdd warning to lvm2_monitoring_init_rhel4 if attempting to stop monitoring.
Alasdair Kergon [Tue, 30 Jan 2007 18:02:15 +0000 (18:02 +0000)]
Add warning to lvm2_monitoring_init_rhel4 if attempting to stop monitoring.

17 years agoFix vgsplit to handle mirrors.
Alasdair Kergon [Mon, 29 Jan 2007 23:01:18 +0000 (23:01 +0000)]
Fix vgsplit to handle mirrors.
Reorder fields in reporting field definitions.

17 years agopost-release
Alasdair Kergon [Mon, 29 Jan 2007 20:25:19 +0000 (20:25 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Mon, 29 Jan 2007 19:57:24 +0000 (19:57 +0000)]
pre-release

17 years agoAdd recent reporting options to dmsetup man page.
Alasdair Kergon [Mon, 29 Jan 2007 19:35:24 +0000 (19:35 +0000)]
Add recent reporting options to dmsetup man page.
Revise some report fields names.

17 years agohelp on help
Alasdair Kergon [Mon, 29 Jan 2007 18:45:08 +0000 (18:45 +0000)]
help on help

17 years agohelp unused attr
Alasdair Kergon [Mon, 29 Jan 2007 18:43:27 +0000 (18:43 +0000)]
help unused attr

17 years agoadd help -c for field list
Alasdair Kergon [Mon, 29 Jan 2007 18:37:57 +0000 (18:37 +0000)]
add help -c for field list

17 years agoAdd dmsetup 'help' command and update usage text.
Alasdair Kergon [Mon, 29 Jan 2007 18:18:41 +0000 (18:18 +0000)]
Add dmsetup 'help' command and update usage text.

17 years agoreorder report field definitions
Alasdair Kergon [Mon, 29 Jan 2007 17:45:32 +0000 (17:45 +0000)]
reorder report field definitions

17 years agoUse fixed-size fields in report interface.
Alasdair Kergon [Mon, 29 Jan 2007 17:23:54 +0000 (17:23 +0000)]
Use fixed-size fields in report interface.

17 years agofix pvsegs report too
Alasdair Kergon [Sat, 27 Jan 2007 02:32:31 +0000 (02:32 +0000)]
fix pvsegs report too

17 years agoFix vgs to treat args as VGs even when PV fields are displayed.
Alasdair Kergon [Sat, 27 Jan 2007 02:09:06 +0000 (02:09 +0000)]
Fix vgs to treat args as VGs even when PV fields are displayed.

17 years agoFix md signature check to handle both endiannesses.
Alasdair Kergon [Fri, 26 Jan 2007 17:15:16 +0000 (17:15 +0000)]
Fix md signature check to handle both endiannesses.

17 years agopost-release
Alasdair Kergon [Thu, 25 Jan 2007 23:40:33 +0000 (23:40 +0000)]
post-release

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