]> sourceware.org Git - lvm2.git/log
lvm2.git
17 years ago- I neglected to update this file on last check-in, which fixed
Jonathan Earl Brassow [Thu, 30 Aug 2007 18:53:32 +0000 (18:53 +0000)]
- I neglected to update this file on last check-in, which fixed
  the MIRROR_NOTSYNCED flag being passed on to a linear lv when
  converting from a mirror.

17 years agoWhen mirrors are created with the --nosync option, a status flag
Jonathan Earl Brassow [Wed, 29 Aug 2007 20:19:11 +0000 (20:19 +0000)]
When mirrors are created with the --nosync option, a status flag
(MIRROR_NOTSYNCED) is added to the LVM metadata.  This flag is
not cleared when converting to linear.  Subsequently, if you
up-convert the linear to a mirror, the flag remains - even though
an up-convert will always force a complete resync.

17 years agoModify lvremove to prompt for removal if LV active on other cluster nodes.
Dave Wysochanski [Tue, 28 Aug 2007 16:14:49 +0000 (16:14 +0000)]
Modify lvremove to prompt for removal if LV active on other cluster nodes.
Add '-f' to vgremove to force removal of VG even if LVs exist.
Update vgremove man page for '-f'.

17 years agopost-release
Alasdair Kergon [Fri, 24 Aug 2007 21:05:15 +0000 (21:05 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Fri, 24 Aug 2007 21:01:52 +0000 (21:01 +0000)]
pre-release

17 years agoFix clvmd logging so you can get lvm-level debugging out of it.
Patrick Caulfield [Fri, 24 Aug 2007 08:29:39 +0000 (08:29 +0000)]
Fix clvmd logging so you can get lvm-level debugging out of it.

17 years agoLocking P_global causes a cache refresh.
Patrick Caulfield [Thu, 23 Aug 2007 15:43:20 +0000 (15:43 +0000)]
Locking P_global causes a cache refresh.

17 years agoIntroduce VG_GLOBAL lock type for vgscan/pvscan to trigger clvmd -R.
Alasdair Kergon [Thu, 23 Aug 2007 15:02:26 +0000 (15:02 +0000)]
Introduce VG_GLOBAL lock type for vgscan/pvscan to trigger clvmd -R.

17 years agoForce a device scan after init_full_scan_done() per agk.
Patrick Caulfield [Thu, 23 Aug 2007 12:44:09 +0000 (12:44 +0000)]
Force a device scan after init_full_scan_done() per agk.

17 years agoCall init_full_scan_done() when refreshing the cache. This should fix clvmd -R.
Patrick Caulfield [Thu, 23 Aug 2007 12:19:13 +0000 (12:19 +0000)]
Call init_full_scan_done() when refreshing the cache. This should fix clvmd -R.

17 years agoChange lvconvert_mirrors to use mirror segtype not striped.
Alasdair Kergon [Wed, 22 Aug 2007 20:03:46 +0000 (20:03 +0000)]
Change lvconvert_mirrors to use mirror segtype not striped.

17 years agoFix lvconvert_mirrors detection of number of existing mirrors.
Alasdair Kergon [Wed, 22 Aug 2007 19:32:39 +0000 (19:32 +0000)]
Fix lvconvert_mirrors detection of number of existing mirrors.

17 years ago Clean up numerous compiler warnings that crept in recently.
Alasdair Kergon [Wed, 22 Aug 2007 14:38:18 +0000 (14:38 +0000)]
  Clean up numerous compiler warnings that crept in recently.
  Remove several unused parameters from _allocate().

17 years agoAvoid static link failure with some SELinux libraries.
Jim Meyering [Tue, 21 Aug 2007 20:32:29 +0000 (20:32 +0000)]
Avoid static link failure with some SELinux libraries.

17 years agoFix (C) !
Alasdair Kergon [Tue, 21 Aug 2007 19:56:18 +0000 (19:56 +0000)]
Fix (C) !

17 years agoClean up mirrorlog argument processing.
Alasdair Kergon [Tue, 21 Aug 2007 19:46:36 +0000 (19:46 +0000)]
Clean up mirrorlog argument processing.
Only permit --force, --verbose and --debug arguments to be repeated.

17 years agoRemove obsolete dmfs code from tree and update INSTALL.
Alasdair Kergon [Tue, 21 Aug 2007 18:41:58 +0000 (18:41 +0000)]
Remove obsolete dmfs code from tree and update INSTALL.

17 years agoMove guts of vgremove into lvm library.
Dave Wysochanski [Tue, 21 Aug 2007 17:38:20 +0000 (17:38 +0000)]
Move guts of vgremove into lvm library.
Include archiver.h in metadata.c as a result of prior move.

17 years agopost-release
Alasdair Kergon [Tue, 21 Aug 2007 17:03:07 +0000 (17:03 +0000)]
post-release

17 years agoPrepare to move guts of vgremove into lvm library.
Dave Wysochanski [Tue, 21 Aug 2007 16:40:33 +0000 (16:40 +0000)]
Prepare to move guts of vgremove into lvm library.
Fixup force_t.

17 years agopre-release
Alasdair Kergon [Tue, 21 Aug 2007 16:33:18 +0000 (16:33 +0000)]
pre-release

17 years agoFix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
Alasdair Kergon [Tue, 21 Aug 2007 16:26:07 +0000 (16:26 +0000)]
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.

17 years agoFix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
Alasdair Kergon [Mon, 20 Aug 2007 20:55:30 +0000 (20:55 +0000)]
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.

17 years agoUpdate WHATS_NEW for last checkin
Dave Wysochanski [Mon, 20 Aug 2007 17:05:49 +0000 (17:05 +0000)]
Update WHATS_NEW for last checkin

17 years agoMove lv_remove_single() into library (lv_manip.c, metadata-exported.h).
Dave Wysochanski [Mon, 20 Aug 2007 17:04:53 +0000 (17:04 +0000)]
Move lv_remove_single() into library (lv_manip.c, metadata-exported.h).
Move yes_no_prompt() into library (display.c, display.h).
Fixup includes as a result of movement of prior two functions.
Fixup force_t enum to be more descriptive.

17 years agoPrepare to move guts of lvremove into lvm library
Dave Wysochanski [Mon, 20 Aug 2007 16:16:54 +0000 (16:16 +0000)]
Prepare to move guts of lvremove into lvm library

17 years agofactor out some duplication -- mostly I/O redirection
Jim Meyering [Mon, 20 Aug 2007 12:06:35 +0000 (12:06 +0000)]
factor out some duplication -- mostly I/O redirection

17 years agoAllow clvmd debug to be turned on in a running daemon using clvmd -d
Patrick Caulfield [Fri, 17 Aug 2007 11:51:23 +0000 (11:51 +0000)]
Allow clvmd debug to be turned on in a running daemon using clvmd -d
You can do with cluster-wide too, by adding -C

17 years agoUpdate to use autoconf 2.61, while still supporting 2.57.
Alasdair Kergon [Tue, 14 Aug 2007 19:11:31 +0000 (19:11 +0000)]
Update to use autoconf 2.61, while still supporting 2.57.

17 years agoRemove unneeded WHATS_NEW entry
Dave Wysochanski [Fri, 10 Aug 2007 14:24:43 +0000 (14:24 +0000)]
Remove unneeded WHATS_NEW entry

17 years agoFix "lvconvert -s" from always failing with argument error message.
Dave Wysochanski [Fri, 10 Aug 2007 13:33:49 +0000 (13:33 +0000)]
Fix "lvconvert -s" from always failing with argument error message.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.

17 years ago- change new log_ARG variable to more explicit mirrorlog_ARG.
Jonathan Earl Brassow [Thu, 9 Aug 2007 21:25:08 +0000 (21:25 +0000)]
- change new log_ARG variable to more explicit mirrorlog_ARG.

17 years agominor updates to the lvcreate/lvconvert man pages.
Jonathan Earl Brassow [Thu, 9 Aug 2007 20:43:29 +0000 (20:43 +0000)]
minor updates to the lvcreate/lvconvert man pages.
- put back reference to '--corelog'.  It now says that it
is the same as '--log core'.
- other minor touches

17 years agoAdd more cluster/clvmd information to lvmdump
Patrick Caulfield [Thu, 9 Aug 2007 09:53:33 +0000 (09:53 +0000)]
Add more cluster/clvmd information to lvmdump

17 years agoRemove extra checks for sub LV renaming.
Dave Wysochanski [Wed, 8 Aug 2007 18:00:36 +0000 (18:00 +0000)]
Remove extra checks for sub LV renaming.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.

17 years agoA few more cleanups for lvrename of mirrors checkin:
Dave Wysochanski [Tue, 7 Aug 2007 18:55:38 +0000 (18:55 +0000)]
A few more cleanups for lvrename of mirrors checkin:
* add struct lv_names for old/new names
* replace lv->status & MIRROR checks with lv_is_visible()

17 years agoSome simple fixups for last checkin:
Dave Wysochanski [Tue, 7 Aug 2007 16:57:09 +0000 (16:57 +0000)]
Some simple fixups for last checkin:
* remove "_" from "return_0"
* improve some naming and terminology
* add 'const'

17 years agoAdd "const" attributes where possible: first cut.
Jim Meyering [Tue, 7 Aug 2007 09:06:05 +0000 (09:06 +0000)]
Add "const" attributes where possible: first cut.

17 years agoUpdate a few comments
Dave Wysochanski [Mon, 6 Aug 2007 21:11:27 +0000 (21:11 +0000)]
Update a few comments

17 years agoAdd entry for last checkin of lvrename mirror support
Dave Wysochanski [Mon, 6 Aug 2007 20:38:41 +0000 (20:38 +0000)]
Add entry for last checkin of lvrename mirror support

17 years agoAdd support for renaming mirrored LVs.
Dave Wysochanski [Mon, 6 Aug 2007 20:35:48 +0000 (20:35 +0000)]
Add support for renaming mirrored LVs.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>

17 years agoFor consistency, rename local variable: s/newname/new_name/g.
Jim Meyering [Mon, 6 Aug 2007 14:57:48 +0000 (14:57 +0000)]
For consistency, rename local variable: s/newname/new_name/g.

17 years agoimprove changelog
Alasdair Kergon [Mon, 6 Aug 2007 13:09:46 +0000 (13:09 +0000)]
improve changelog

17 years agoMake lv_rename's interface "const correct".
Jim Meyering [Mon, 6 Aug 2007 09:04:21 +0000 (09:04 +0000)]
Make lv_rename's interface "const correct".
* lib/metadata/lv_manip.c (lv_rename): Make char* param "const".
* lib/metadata/metadata-exported.h: Update prototype, too.

17 years agoUse NULL not 0.
Alasdair Kergon [Sun, 5 Aug 2007 00:13:02 +0000 (00:13 +0000)]
Use NULL not 0.
Remove worthless comment.

17 years agoFactor out core of lvrename to lv_rename library function.
Dave Wysochanski [Fri, 3 Aug 2007 21:22:10 +0000 (21:22 +0000)]
Factor out core of lvrename to lv_rename library function.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>

17 years agoFix a possible segfault in libdevmapper-event. Thanks to Brian J. Wood
Petr Rockai [Thu, 2 Aug 2007 22:31:59 +0000 (22:31 +0000)]
Fix a possible segfault in libdevmapper-event. Thanks to Brian J. Wood
for noticing this.

17 years agoThis patch changes the arguments that specify the mirror
Jonathan Earl Brassow [Wed, 1 Aug 2007 21:01:06 +0000 (21:01 +0000)]
This patch changes the arguments that specify the mirror
log type.  Previously, we had a '--corelog' argument that
would change the default type from 'disk' to 'core'.  I
think that creates too much confusion - especially when
doing conversions on mirrors.

The new argument '--log' takes either "disk" or "core"
as a parameter.  This could be expanded in the future
for additional logging types as well.

Examples:
# Creating a 2-way mirror
$> lvcreate -m1 ... # implicitly use default disk logging
$> lvcreate -m1 --log disk ... # explicit disk logging
$> lvcreate -m1 --log core ... # specify core logging
$> lvcreate -m1 --corelog ... # old way still works

# Conversion examples
$> lvconvert --log core ... # convert to core logging
$> lvconvert --log disk ... # convert to disk logging
$> lvconvert -mX --corelog ... # old way still works
$> lvconvert -mX ... # old way of converting to disk logging still works

Changes are reflected in the man pages.

17 years ago- cleanup excessive indentation in tools/lvconvert.c:lvconvert_mirrors
Jonathan Earl Brassow [Wed, 1 Aug 2007 20:54:28 +0000 (20:54 +0000)]
- cleanup excessive indentation in tools/lvconvert.c:lvconvert_mirrors

17 years agolib/activate/activate.c:_lv_activate tries to monitor a device
Jonathan Earl Brassow [Wed, 1 Aug 2007 20:29:07 +0000 (20:29 +0000)]
lib/activate/activate.c:_lv_activate tries to monitor a device
regardless of whether it was successfully activated.  Now fixed
to only monitor if it was successfully activated.

17 years agoDon't leak a file descriptor in fcntl_lock_file(), when fcntl fails.
Jim Meyering [Sat, 28 Jul 2007 15:20:36 +0000 (15:20 +0000)]
Don't leak a file descriptor in fcntl_lock_file(), when fcntl fails.

17 years agoRemove create_dir function; use now-equivalent dm_create_dir instead.
Jim Meyering [Sat, 28 Jul 2007 12:26:21 +0000 (12:26 +0000)]
Remove create_dir function; use now-equivalent dm_create_dir instead.
* lib/misc/lvm-file.c (_create_dir_recursive, create_dir): Remove functions.
* lib/misc/lvm-file.h (create_dir): Remove declaration.
* lib/commands/toolcontext.c (create_toolcontext): s/create_dir/dm_create_dir/
* lib/format_text/archiver.c (archive, backup): Likewise.
* lib/format_text/format-text.c (_add_dir): Likewise.
* lib/locking/file_locking.c (init_file_locking): Likewise.
Patch by Jun'ichi Nomura.

17 years agoExport dm_create_dir (was create_dir) to help fix LVM2 link error
Jim Meyering [Sat, 28 Jul 2007 10:48:36 +0000 (10:48 +0000)]
Export dm_create_dir (was create_dir) to help fix LVM2 link error
* lib/libdm-file.c (dm_create_dir): Rename from create_dir.
* lib/libdevmapper.h (dm_create_dir): Declare.
* lib/.exported_symbols: Add dm_create_dir.
* lib/ioctl/libdm-iface.c (_create_control): Update sole use.
Patch by Jun'ichi Nomura.  Details in
http://www.redhat.com/archives/lvm-devel/2007-July/msg00040.html

17 years agoMake the libdevmapper version of create_dir equivalent to the LVM2 one.
Jim Meyering [Sat, 28 Jul 2007 10:27:34 +0000 (10:27 +0000)]
Make the libdevmapper version of create_dir equivalent to the LVM2 one.
(_create_dir_recursive): Refrain from logging a mkdir failure due to EROFS.
Patch by Jun'ichi Nomura.

17 years agoIntroduce log_sys_* macros from LVM2.
Jim Meyering [Sat, 28 Jul 2007 10:23:02 +0000 (10:23 +0000)]
Introduce log_sys_* macros from LVM2.
Convert existing "<string>: <function> failed: <strerror>" type messages
to use this macro.  Patch by Jun'ichi Nomura.

17 years agoAdd ps3disk devices.
Alasdair Kergon [Thu, 26 Jul 2007 13:28:32 +0000 (13:28 +0000)]
Add ps3disk devices.

17 years agoDetect stream write failure reliably; new fn: lvm_fclose; use dm_fclose
Jim Meyering [Tue, 24 Jul 2007 17:48:08 +0000 (17:48 +0000)]
Detect stream write failure reliably; new fn: lvm_fclose; use dm_fclose
* lib/misc/lvm-file.c (lvm_fclose): New function.
* lib/misc/lvm-file.h (lvm_fclose): Declare it.
* lib/config/config.c (write_config_file): Use the new function to detect
and diagnose unlikely write failure.
* lib/filters/filter-persistent.c (persistent_filter_dump): Likewise.
* lib/format_text/archive.c (archive_vg): Likewise.
* lib/format_text/format-text.c (_vg_write_file): Likewise.
* lib/log/log.c (fin_log): Similar, but use dm_fclose directly.
Include "\n" at end of each fprintf format string.

17 years agoFix clvmd if compiled with gulm support. (2.02.26)
Milan Broz [Tue, 24 Jul 2007 15:35:11 +0000 (15:35 +0000)]
Fix clvmd if compiled with gulm support. (2.02.26)

17 years agolibdevmapper, dmeventd: be paranoid about detecting write failure
Jim Meyering [Tue, 24 Jul 2007 14:16:48 +0000 (14:16 +0000)]
libdevmapper, dmeventd: be paranoid about detecting write failure
* dmeventd/dmeventd.c (_set_oom_adj): When writing to /proc/self/oom_adj,
detect failure even if it's hidden behind ferror.  [Using dm_fclose's
extra ferror test here is probably not needed, since the amount written
is nowhere near BUFSIZ, but use it regardless, for consistency. ]
* lib/fs/libdevmapper.c (do_suspend): Detect fclose failure when
writing to suspend.

17 years agodm_fclose: new function
Jim Meyering [Tue, 24 Jul 2007 14:15:45 +0000 (14:15 +0000)]
dm_fclose: new function
* lib/libdevmapper.h: Declare it.
* lib/libdm-file.c (dm_fclose): Define it.
* lib/.exported_symbols: Add dm_fclose.

17 years agoTrivial fix to lvdisplay man pg to recommend lvs
Dave Wysochanski [Tue, 24 Jul 2007 11:29:55 +0000 (11:29 +0000)]
Trivial fix to lvdisplay man pg to recommend lvs

17 years agoTrivial fix to lvdisplay man pg to correct volume size units
Dave Wysochanski [Tue, 24 Jul 2007 10:58:01 +0000 (10:58 +0000)]
Trivial fix to lvdisplay man pg to correct volume size units

17 years agoUpdate lvconvert and lvrename to use vg_lock_and_read
Dave Wysochanski [Mon, 23 Jul 2007 22:20:42 +0000 (22:20 +0000)]
Update lvconvert and lvrename to use vg_lock_and_read

17 years agoFix error introduced with previous checkin
Dave Wysochanski [Mon, 23 Jul 2007 21:10:36 +0000 (21:10 +0000)]
Fix error introduced with previous checkin

17 years agoAdd CORRECT_INCONSISTENT and FAIL_INCONSISTENT flags to vg_lock_and_read
Dave Wysochanski [Mon, 23 Jul 2007 21:03:42 +0000 (21:03 +0000)]
Add CORRECT_INCONSISTENT and FAIL_INCONSISTENT flags to vg_lock_and_read

17 years agoAdd vg_lock_and_read() external library function.
Dave Wysochanski [Mon, 23 Jul 2007 17:27:55 +0000 (17:27 +0000)]
Add vg_lock_and_read() external library function.

17 years agoFix loading of persistent cache if cache_dir is used. (2.02.23)
Milan Broz [Mon, 23 Jul 2007 10:45:49 +0000 (10:45 +0000)]
Fix loading of persistent cache if cache_dir is used. (2.02.23)
Move lstat warning in _compare_paths to verbose output only.

17 years agoFix compilation warning in util.c.
Milan Broz [Mon, 23 Jul 2007 10:41:19 +0000 (10:41 +0000)]
Fix compilation warning in util.c.

17 years agoEliminate uses of strdup+basename. Use last_path_component instead.
Jim Meyering [Fri, 20 Jul 2007 15:48:39 +0000 (15:48 +0000)]
Eliminate uses of strdup+basename. Use last_path_component instead.
* lib/misc/util.c, lib/misc/util.h (last_path_component): New files.
* lib/Makefile.in (SOURCES): Add misc/util.c.
* lib/misc/lib.h: Include "util.h".
* tools/fsadm/fsadm.c: Include "util.h". (_usage): Use last_path_component,
not basename.
* tools/lvmcmdline.c (_find_command, lvm2_main): Likewise.
* include/.symlinks: Add lib/misc/util.h.

17 years agoUse gcc's printf attribute wherever possible.
Jim Meyering [Fri, 20 Jul 2007 15:38:19 +0000 (15:38 +0000)]
Use gcc's printf attribute wherever possible.

* daemons/clvmd/clvmd.h (debuglog): Add __attribute__((printf)).
* lib/config/config.c (_line_append): Likewise.
* lib/misc/lvm-string.h (emit_to_buffer): Likewise.

17 years agoIn _line_append, use "sizeof buf - 1" rather than equivalent "4095"
Jim Meyering [Fri, 20 Jul 2007 15:26:39 +0000 (15:26 +0000)]
In _line_append, use "sizeof buf - 1" rather than equivalent "4095"
* lib/config/config.c:

17 years agoIntroduce is_same_inode macro, now including a comparison of st_dev.
Jim Meyering [Fri, 20 Jul 2007 15:22:46 +0000 (15:22 +0000)]
Introduce is_same_inode macro, now including a comparison of st_dev.

* lib/misc/lvm-file.h (is_same_inode): Define.
* lib/filters/filter-persistent.c (persistent_filter_dump): Use is_same_inode
in place of a direct st_ino-only comparison.
* lib/locking/file_locking.c (_release_lock, _lock_file): Likewise.

17 years agoDon't leak a file descriptor in _lock_file when flock fails.
Jim Meyering [Fri, 20 Jul 2007 12:12:52 +0000 (12:12 +0000)]
Don't leak a file descriptor in _lock_file when flock fails.

* lib/locking/file_locking.c (_lock_file): Close fd upon flock failure.

17 years agoAdd SUN's LDOM virtual block device to filters
Patrick Caulfield [Thu, 19 Jul 2007 07:06:47 +0000 (07:06 +0000)]
Add SUN's LDOM virtual block device to filters
Thanks to Fabio Massimo Di Nitto

17 years agoSplit metadata-external.h out from metadata.h for the tools to use.
Alasdair Kergon [Wed, 18 Jul 2007 15:38:58 +0000 (15:38 +0000)]
Split metadata-external.h out from metadata.h for the tools to use.

17 years agopost-release
Alasdair Kergon [Tue, 17 Jul 2007 20:53:51 +0000 (20:53 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Tue, 17 Jul 2007 20:45:17 +0000 (20:45 +0000)]
pre-release

17 years agoFix snapshot cow area deactivation if origin is not active. (2.02.13)
Milan Broz [Tue, 17 Jul 2007 16:13:12 +0000 (16:13 +0000)]
Fix snapshot cow area deactivation if origin is not active. (2.02.13)

17 years agoFix configure libdevmapper.h check when --with-dmdir is used.
Alasdair Kergon [Fri, 13 Jul 2007 17:08:00 +0000 (17:08 +0000)]
Fix configure libdevmapper.h check when --with-dmdir is used.

17 years agopost-release
Alasdair Kergon [Fri, 13 Jul 2007 16:10:24 +0000 (16:10 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Fri, 13 Jul 2007 16:07:30 +0000 (16:07 +0000)]
pre-release

17 years agoChange pv_read_path to pv_by_path
Dave Wysochanski [Thu, 12 Jul 2007 15:38:53 +0000 (15:38 +0000)]
Change pv_read_path to pv_by_path

17 years agoTurn _add_pv_to_vg() into external library function add_pv_to_vg()
Dave Wysochanski [Thu, 12 Jul 2007 05:04:42 +0000 (05:04 +0000)]
Turn _add_pv_to_vg() into external library function add_pv_to_vg()

17 years agoRefactor vg_extend error path.
Dave Wysochanski [Thu, 12 Jul 2007 04:12:04 +0000 (04:12 +0000)]
Refactor vg_extend error path.

17 years agoAdd pv_read_path, a proposed external LVM library function to take a device path...
Dave Wysochanski [Wed, 11 Jul 2007 23:33:12 +0000 (23:33 +0000)]
Add pv_read_path, a proposed external LVM library function to take a device path and return a PV handle

17 years agoTidy bits of clvmd-openais and improve an error report.
Patrick Caulfield [Wed, 11 Jul 2007 12:07:39 +0000 (12:07 +0000)]
Tidy bits of clvmd-openais and improve an error report.

17 years agoCope with find_seg_by_le() failure in check_lv_segments().
Alasdair Kergon [Tue, 10 Jul 2007 18:50:03 +0000 (18:50 +0000)]
Cope with find_seg_by_le() failure in check_lv_segments().

17 years agotidy
Alasdair Kergon [Tue, 10 Jul 2007 18:20:00 +0000 (18:20 +0000)]
tidy

17 years agoFix pv_mda_count to cope with missing PV.
Alasdair Kergon [Tue, 10 Jul 2007 18:18:33 +0000 (18:18 +0000)]
Fix pv_mda_count to cope with missing PV.
[vgcreate vg1 pv1 pv2; pvremove -ff pv1; pvs -P -o+pv_mda_count =>segfault]

17 years agoCall dev_iter_destroy() if _process_all_devs() is interrupted by sigint.
Alasdair Kergon [Tue, 10 Jul 2007 17:51:26 +0000 (17:51 +0000)]
Call dev_iter_destroy() if _process_all_devs() is interrupted by sigint.

17 years agoAdd vg_mda_count and pv_mda_count columns to reports.
Alasdair Kergon [Mon, 9 Jul 2007 15:40:43 +0000 (15:40 +0000)]
Add vg_mda_count and pv_mda_count columns to reports.

17 years agoFix dumpconfig to use log_print instead of stdout directly.
Alasdair Kergon [Sun, 8 Jul 2007 22:51:20 +0000 (22:51 +0000)]
Fix dumpconfig to use log_print instead of stdout directly.

17 years agoFix WHATS_NEW for last checkin until further patches for LVM library are ready.
Dave Wysochanski [Tue, 3 Jul 2007 13:10:14 +0000 (13:10 +0000)]
Fix WHATS_NEW for last checkin until further patches for LVM library are ready.

17 years agoConvert _add_pv_to_vg to usable LVM library function.
Dave Wysochanski [Mon, 2 Jul 2007 21:48:30 +0000 (21:48 +0000)]
Convert _add_pv_to_vg to usable LVM library function.

17 years agoAdd kernel and device-mapper targets versions report to lvmdump.
Milan Broz [Mon, 2 Jul 2007 20:18:38 +0000 (20:18 +0000)]
Add kernel and device-mapper targets versions report to lvmdump.

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

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