]> sourceware.org Git - lvm2.git/log
lvm2.git
17 years agoDon't use index and rindex functions marked by SUSv3 as legacy - Jakub Bogusz <qboosh...
Dave Wysochanski [Mon, 2 Jul 2007 11:17:21 +0000 (11:17 +0000)]
Don't use index and rindex functions marked by SUSv3 as legacy - Jakub Bogusz <qboosh@pld-linux.org>

17 years agoFix vgsplit if splitting all PVs from VG.
Milan Broz [Thu, 28 Jun 2007 17:59:34 +0000 (17:59 +0000)]
Fix vgsplit if splitting all PVs from VG.

17 years agoMake warnings go to stderr. Change log_warn to that effect, log_print
Petr Rockai [Thu, 28 Jun 2007 17:33:44 +0000 (17:33 +0000)]
Make warnings go to stderr. Change log_warn to that effect, log_print
continues to send messages to stdout.

17 years agoMake warnings go to stderr. Adds log_warn macro for that purpose,
Petr Rockai [Thu, 28 Jun 2007 17:27:02 +0000 (17:27 +0000)]
Make warnings go to stderr. Adds log_warn macro for that purpose,
log_print continues to print to stdout.

17 years agoFix lvmdiskscan volume reporting when run in the lvm shell
Bryn M. Reeves [Mon, 25 Jun 2007 13:19:37 +0000 (13:19 +0000)]
Fix lvmdiskscan volume reporting when run in the lvm shell

17 years agoUse cpg_local_get() rather then Clm to get the local nodeid.
Patrick Caulfield [Mon, 25 Jun 2007 09:02:37 +0000 (09:02 +0000)]
Use cpg_local_get() rather then Clm to get the local nodeid.

17 years agorevert accidental change
Alasdair Kergon [Tue, 19 Jun 2007 16:50:38 +0000 (16:50 +0000)]
revert accidental change

17 years agoFix dmsetup -o devno string termination. (1.02.20)
Alasdair Kergon [Tue, 19 Jun 2007 15:47:20 +0000 (15:47 +0000)]
Fix dmsetup -o devno string termination. (1.02.20)

17 years agoFix missing lvm_shell symbol in lvm2cmd library. (2.02.23)
Milan Broz [Tue, 19 Jun 2007 10:51:51 +0000 (10:51 +0000)]
Fix missing lvm_shell symbol in lvm2cmd library. (2.02.23)

17 years agoConvert vg->status checks to use vg_check_status function.\nRename status_flags to...
Dave Wysochanski [Tue, 19 Jun 2007 04:36:12 +0000 (04:36 +0000)]
Convert vg->status checks to use vg_check_status function.\nRename status_flags to status in vg_check_status.

17 years agoAdd vg_status function and clean up vg->status in tools directory
Dave Wysochanski [Tue, 19 Jun 2007 04:23:32 +0000 (04:23 +0000)]
Add vg_status function and clean up vg->status in tools directory

17 years agoMake vg_extend() format_instance * parameter internal to vg_extend()
Dave Wysochanski [Tue, 19 Jun 2007 00:33:43 +0000 (00:33 +0000)]
Make vg_extend() format_instance * parameter internal to vg_extend()

17 years agoAdd --ignoremonitoring to disable all dmeventd interaction.
Alasdair Kergon [Mon, 18 Jun 2007 14:14:33 +0000 (14:14 +0000)]
Add --ignoremonitoring to disable all dmeventd interaction.

17 years agoRemove get_ prefix from get_pv_* functions
Dave Wysochanski [Fri, 15 Jun 2007 22:16:55 +0000 (22:16 +0000)]
Remove get_ prefix from get_pv_* functions

17 years agopost-release
Alasdair Kergon [Fri, 15 Jun 2007 20:49:30 +0000 (20:49 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Fri, 15 Jun 2007 20:46:04 +0000 (20:46 +0000)]
pre-release

17 years agopre-release
Alasdair Kergon [Fri, 15 Jun 2007 19:05:02 +0000 (19:05 +0000)]
pre-release

17 years agoFix default dmsetup report buffering and add --unbuffered.
Alasdair Kergon [Fri, 15 Jun 2007 18:20:28 +0000 (18:20 +0000)]
Fix default dmsetup report buffering and add --unbuffered.
Add tree-based and dependency fields to dmsetup reports.

17 years agoUpdate vgcfgrestore man pg
Dave Wysochanski [Fri, 15 Jun 2007 16:05:57 +0000 (16:05 +0000)]
Update vgcfgrestore man pg

17 years agoAllow keyboard interrupts in yes_no_prompt(). Add code to toollib.c
Petr Rockai [Fri, 15 Jun 2007 10:11:14 +0000 (10:11 +0000)]
Allow keyboard interrupts in yes_no_prompt(). Add code to toollib.c
loops and to pvcreate.c, lvchange.c and lvresize.c to handle
interrupted prompts.

17 years agoFix inverted logic on last checkin for pvremove
Dave Wysochanski [Thu, 14 Jun 2007 15:51:36 +0000 (15:51 +0000)]
Fix inverted logic on last checkin for pvremove

17 years agoconvert pv->vg_name[0] to \!is_orphan(pv)
Dave Wysochanski [Thu, 14 Jun 2007 15:48:05 +0000 (15:48 +0000)]
convert pv->vg_name[0] to \!is_orphan(pv)

17 years agoConvert pv->vg_name to get_pv_vg_name
Dave Wysochanski [Thu, 14 Jun 2007 15:25:36 +0000 (15:25 +0000)]
Convert pv->vg_name to get_pv_vg_name

17 years agoRemove system-lv.[ch]
Patrick Caulfield [Thu, 14 Jun 2007 10:17:12 +0000 (10:17 +0000)]
Remove system-lv.[ch]

17 years agoRemove system LV code from clvmd. It's never been used and never should be
Patrick Caulfield [Thu, 14 Jun 2007 10:16:35 +0000 (10:16 +0000)]
Remove system LV code from clvmd. It's never been used and never should be
used! It's removal tidies a number of code paths inside clvmd.

17 years agoUpdate WHATS_NEW for get_pv* conversions
Dave Wysochanski [Wed, 13 Jun 2007 23:57:15 +0000 (23:57 +0000)]
Update WHATS_NEW for get_pv* conversions

17 years agoConvert pv->vg_name to get_pv_vg_name
Dave Wysochanski [Wed, 13 Jun 2007 23:53:38 +0000 (23:53 +0000)]
Convert pv->vg_name to get_pv_vg_name

17 years agoConvert pv->status to get_pv_status
Dave Wysochanski [Wed, 13 Jun 2007 23:33:45 +0000 (23:33 +0000)]
Convert pv->status to get_pv_status

17 years agoConvert pv->dev to get_pv_dev
Dave Wysochanski [Wed, 13 Jun 2007 23:29:33 +0000 (23:29 +0000)]
Convert pv->dev to get_pv_dev

17 years agoConvert pv->size to get_pv_size
Dave Wysochanski [Wed, 13 Jun 2007 23:02:51 +0000 (23:02 +0000)]
Convert pv->size to get_pv_size

17 years agoConvert existing_pv dereferences to get_pv_*
Dave Wysochanski [Wed, 13 Jun 2007 22:58:32 +0000 (22:58 +0000)]
Convert existing_pv dereferences to get_pv_*

17 years agoConvert pv->pe_size to get_pv_pe_size
Dave Wysochanski [Wed, 13 Jun 2007 22:30:26 +0000 (22:30 +0000)]
Convert pv->pe_size to get_pv_pe_size

17 years agoConvert pv->pe_start to get_pv_pe_start
Dave Wysochanski [Wed, 13 Jun 2007 22:16:27 +0000 (22:16 +0000)]
Convert pv->pe_start to get_pv_pe_start

17 years agoConvert pv->pe_count to get_pv_pe_count
Dave Wysochanski [Wed, 13 Jun 2007 22:11:29 +0000 (22:11 +0000)]
Convert pv->pe_count to get_pv_pe_count

17 years agoConvert pv->pe_alloc_count to get_pv_pe_alloc_count
Dave Wysochanski [Wed, 13 Jun 2007 22:04:45 +0000 (22:04 +0000)]
Convert pv->pe_alloc_count to get_pv_pe_alloc_count

17 years agoRemove casts in pv_create and find_pv_in_vg_by_uuid
Dave Wysochanski [Wed, 13 Jun 2007 21:14:07 +0000 (21:14 +0000)]
Remove casts in pv_create and find_pv_in_vg_by_uuid

17 years agoConvert pv_handle_t to pv_t * and tidy up whitespace
Dave Wysochanski [Wed, 13 Jun 2007 20:55:56 +0000 (20:55 +0000)]
Convert pv_handle_t to pv_t * and tidy up whitespace

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.

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