]> sourceware.org Git - lvm2.git/log
lvm2.git
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

17 years agopre-release
Alasdair Kergon [Thu, 25 Jan 2007 23:36:59 +0000 (23:36 +0000)]
pre-release

17 years agodmeventd mirror sets ignore_suspended_devices and avoids scanning mirrors.
Alasdair Kergon [Thu, 25 Jan 2007 23:32:29 +0000 (23:32 +0000)]
dmeventd mirror sets ignore_suspended_devices and avoids scanning mirrors.

17 years agoalso ignore mirrors
Alasdair Kergon [Thu, 25 Jan 2007 23:03:48 +0000 (23:03 +0000)]
also ignore mirrors

17 years agoAdd devices/ignore_suspended_devices to ignore suspended dm devices.
Alasdair Kergon [Thu, 25 Jan 2007 21:22:30 +0000 (21:22 +0000)]
Add devices/ignore_suspended_devices to ignore suspended dm devices.

17 years agodon't remove libdm-common.h any more
Alasdair Kergon [Thu, 25 Jan 2007 15:45:10 +0000 (15:45 +0000)]
don't remove libdm-common.h any more

17 years agoAdd some missing close() and fclose() return code checks.
Alasdair Kergon [Thu, 25 Jan 2007 14:37:48 +0000 (14:37 +0000)]
Add some missing close() and fclose() return code checks.
Fix exit statuses of reporting tools (2.02.19).

17 years agoAdd some missing close() and fclose() return value checks.
Alasdair Kergon [Thu, 25 Jan 2007 14:16:20 +0000 (14:16 +0000)]
Add some missing close() and fclose() return value checks.

17 years agoAdd init script for dmeventd monitoring.
Alasdair Kergon [Wed, 24 Jan 2007 23:44:43 +0000 (23:44 +0000)]
Add init script for dmeventd monitoring.

17 years agolvm.static no longer interacts with dmeventd unless explicitly asked to.
Alasdair Kergon [Wed, 24 Jan 2007 23:43:27 +0000 (23:43 +0000)]
lvm.static no longer interacts with dmeventd unless explicitly asked to.

17 years agofix earlier checkin
Alasdair Kergon [Wed, 24 Jan 2007 22:06:11 +0000 (22:06 +0000)]
fix earlier checkin

17 years agoMigrate dmsetup column-based output over to new libdevmapper report framework.
Alasdair Kergon [Wed, 24 Jan 2007 18:09:07 +0000 (18:09 +0000)]
Migrate dmsetup column-based output over to new libdevmapper report framework.

17 years agoAdd field definitions to report help text.
Alasdair Kergon [Wed, 24 Jan 2007 16:51:24 +0000 (16:51 +0000)]
Add field definitions to report help text.
Remove unnecessary cmd arg from target_*monitor_events().

17 years agoAdjust report field help description layout.
Alasdair Kergon [Wed, 24 Jan 2007 16:41:33 +0000 (16:41 +0000)]
Adjust report field help description layout.

17 years agofix earlier checkin
Alasdair Kergon [Tue, 23 Jan 2007 23:58:55 +0000 (23:58 +0000)]
fix earlier checkin

17 years agoAdd descriptions to reporting field definitions.
Alasdair Kergon [Tue, 23 Jan 2007 19:18:52 +0000 (19:18 +0000)]
Add descriptions to reporting field definitions.

17 years ago Add private variable to dmeventd shared library interface.
Alasdair Kergon [Tue, 23 Jan 2007 17:40:40 +0000 (17:40 +0000)]
 Add private variable to dmeventd shared library interface.

17 years agoadd a dso-private variable to dmeventd interface
Alasdair Kergon [Tue, 23 Jan 2007 17:38:39 +0000 (17:38 +0000)]
add a dso-private variable to dmeventd interface
more inline docn

17 years agoLong-lived processes write out persistent dev cache in refresh_toolcontext().
Alasdair Kergon [Tue, 23 Jan 2007 16:03:54 +0000 (16:03 +0000)]
Long-lived processes write out persistent dev cache in refresh_toolcontext().

17 years agoFix refresh_toolcontext() always to wipe persistent device filter cache.
Alasdair Kergon [Tue, 23 Jan 2007 15:58:06 +0000 (15:58 +0000)]
Fix refresh_toolcontext() always to wipe persistent device filter cache.
Add is_long_lived to toolcontext.

17 years agoAdd --clustered to man pages.
Alasdair Kergon [Tue, 23 Jan 2007 13:08:34 +0000 (13:08 +0000)]
Add --clustered to man pages.

17 years agoStreamline dm_report_field_* interface.
Alasdair Kergon [Mon, 22 Jan 2007 15:07:21 +0000 (15:07 +0000)]
Streamline dm_report_field_* interface.

17 years agoAdd dm_event_handler_[gs]et_timeout functions.
Alasdair Kergon [Mon, 22 Jan 2007 15:03:57 +0000 (15:03 +0000)]
Add dm_event_handler_[gs]et_timeout functions.
Streamline dm_report_field_* interface.

17 years agoregister->monitor etc.
Alasdair Kergon [Fri, 19 Jan 2007 22:21:45 +0000 (22:21 +0000)]
register->monitor etc.

17 years agovar dev_name->device_name (lvm2 has dev_name())
Alasdair Kergon [Fri, 19 Jan 2007 20:42:09 +0000 (20:42 +0000)]
var dev_name->device_name (lvm2 has dev_name())

17 years agofix exit status; always print message on child failure
Alasdair Kergon [Fri, 19 Jan 2007 18:08:36 +0000 (18:08 +0000)]
fix exit status; always print message on child failure

17 years agoAdd cmdline debug & version options to dmeventd.
Alasdair Kergon [Fri, 19 Jan 2007 17:22:17 +0000 (17:22 +0000)]
Add cmdline debug & version options to dmeventd.
Fix oom_adj handling.

17 years agoAdd DM_LIB_VERSION definition to configure.h.
Alasdair Kergon [Fri, 19 Jan 2007 15:53:01 +0000 (15:53 +0000)]
Add DM_LIB_VERSION definition to configure.h.

17 years agoUpdate reporting man pages.
Alasdair Kergon [Thu, 18 Jan 2007 22:33:24 +0000 (22:33 +0000)]
Update reporting man pages.

17 years agoSuppress 'Unrecognised field' error if report field is 'help'.
Alasdair Kergon [Thu, 18 Jan 2007 22:15:04 +0000 (22:15 +0000)]
Suppress 'Unrecognised field' error if report field is 'help'.

17 years agofix last checkin
Alasdair Kergon [Thu, 18 Jan 2007 21:59:02 +0000 (21:59 +0000)]
fix last checkin

17 years agoNo longer necessary to specify alignment for report fields.
Alasdair Kergon [Thu, 18 Jan 2007 17:48:29 +0000 (17:48 +0000)]
No longer necessary to specify alignment for report fields.

17 years agoSome internal renaming.
Alasdair Kergon [Thu, 18 Jan 2007 17:47:58 +0000 (17:47 +0000)]
Some internal renaming.
Add --separator and --sort to dmsetup (unused as yet).
Make alignment flag optional when specifying report fields.

17 years agopost-release
Alasdair Kergon [Wed, 17 Jan 2007 17:56:15 +0000 (17:56 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Wed, 17 Jan 2007 17:51:51 +0000 (17:51 +0000)]
pre-release

17 years agoFix a segfault if an empty config file section encountered.
Alasdair Kergon [Wed, 17 Jan 2007 16:22:59 +0000 (16:22 +0000)]
Fix a segfault if an empty config file section encountered.

17 years agomerge _target_*register_events
Alasdair Kergon [Wed, 17 Jan 2007 15:00:57 +0000 (15:00 +0000)]
merge  _target_*register_events
introduce _create_dm_event_handler()

17 years agostat oom_adj and stay silent if it doesn't exist
Alasdair Kergon [Wed, 17 Jan 2007 14:45:10 +0000 (14:45 +0000)]
stat oom_adj and stay silent if it doesn't exist
dm_event_handler now keeps private copies of strings

17 years agouse updated dm_event_get_registered_device interface
Alasdair Kergon [Tue, 16 Jan 2007 23:05:13 +0000 (23:05 +0000)]
use updated dm_event_get_registered_device interface

17 years agomore fixes
Alasdair Kergon [Tue, 16 Jan 2007 23:03:13 +0000 (23:03 +0000)]
more fixes

17 years agomore little fixes
Alasdair Kergon [Tue, 16 Jan 2007 21:13:07 +0000 (21:13 +0000)]
more little fixes

17 years agoclean up global mutex usage and fix a race in thread finalisation code
Alasdair Kergon [Tue, 16 Jan 2007 20:27:07 +0000 (20:27 +0000)]
clean up global mutex usage and fix a race in thread finalisation code
properly clean up thread status when thread terminates from within

17 years agodmeventd oom_adj + reduce thread stack size
Alasdair Kergon [Tue, 16 Jan 2007 20:13:04 +0000 (20:13 +0000)]
dmeventd oom_adj + reduce thread stack size

17 years agoMove basic reporting functions into libdevmapper.
Alasdair Kergon [Tue, 16 Jan 2007 18:06:12 +0000 (18:06 +0000)]
Move basic reporting functions into libdevmapper.

17 years agoAdd basic reporting functions to libdevmapper.
Alasdair Kergon [Tue, 16 Jan 2007 18:04:15 +0000 (18:04 +0000)]
Add basic reporting functions to libdevmapper.

17 years agoreduce some if/else complexity
Alasdair Kergon [Mon, 15 Jan 2007 22:37:40 +0000 (22:37 +0000)]
reduce some if/else complexity

17 years agoFix a malloc error path in dmsetup message.
Alasdair Kergon [Mon, 15 Jan 2007 22:05:50 +0000 (22:05 +0000)]
Fix a malloc error path in dmsetup message.

17 years agoFix partition table processing after sparc changes (introduced in 2.02.16).
Alasdair Kergon [Mon, 15 Jan 2007 21:55:11 +0000 (21:55 +0000)]
Fix partition table processing after sparc changes (introduced in 2.02.16).
Fix cmdline PE range processing segfault (introduced in 2.02.13).

17 years agofix recent checkins
Alasdair Kergon [Mon, 15 Jan 2007 19:47:49 +0000 (19:47 +0000)]
fix recent checkins

17 years agofail registration if timeout thread cannot be started
Alasdair Kergon [Mon, 15 Jan 2007 19:19:31 +0000 (19:19 +0000)]
fail registration if timeout thread cannot be started

17 years agouse DMEVENTD_PATH
Alasdair Kergon [Mon, 15 Jan 2007 19:11:58 +0000 (19:11 +0000)]
use DMEVENTD_PATH

17 years agostatic naming
Alasdair Kergon [Mon, 15 Jan 2007 18:58:40 +0000 (18:58 +0000)]
static naming

17 years agoSome libdevmapper-event interface changes.
Alasdair Kergon [Mon, 15 Jan 2007 18:22:02 +0000 (18:22 +0000)]
Some libdevmapper-event interface changes.

17 years agoMore libdevmapper-event interface changes and fixes.
Alasdair Kergon [Mon, 15 Jan 2007 18:21:01 +0000 (18:21 +0000)]
More libdevmapper-event interface changes and fixes.
Rename dm_saprintf() to dm_asprintf().

17 years agoReport error if NULL pointer supplied to dm_strdup_aux().
Alasdair Kergon [Mon, 15 Jan 2007 14:39:12 +0000 (14:39 +0000)]
Report error if NULL pointer supplied to dm_strdup_aux().

17 years agoReport dmeventd mirror monitoring status.
Alasdair Kergon [Fri, 12 Jan 2007 20:38:30 +0000 (20:38 +0000)]
Report dmeventd mirror monitoring status.

17 years agoReinstate dm_event_get_registered_device
Alasdair Kergon [Fri, 12 Jan 2007 20:22:11 +0000 (20:22 +0000)]
Reinstate dm_event_get_registered_device

17 years agopost-release
Alasdair Kergon [Thu, 11 Jan 2007 23:19:08 +0000 (23:19 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Thu, 11 Jan 2007 22:49:43 +0000 (22:49 +0000)]
pre-release

17 years agoupdated dmeventd interface
Alasdair Kergon [Thu, 11 Jan 2007 22:24:32 +0000 (22:24 +0000)]
updated dmeventd interface

17 years agoLots of dmeventd-related changes.
Alasdair Kergon [Thu, 11 Jan 2007 21:54:53 +0000 (21:54 +0000)]
Lots of dmeventd-related changes.

17 years agofail if status args are missing
Alasdair Kergon [Thu, 11 Jan 2007 20:11:19 +0000 (20:11 +0000)]
fail if status args are missing

17 years agoRemove dmeventd mirror status line word limit
Alasdair Kergon [Thu, 11 Jan 2007 19:52:06 +0000 (19:52 +0000)]
Remove dmeventd mirror status line word limit

17 years agoUse CFLAGS when linking so mixed sparc builds can supply -m64
Alasdair Kergon [Thu, 11 Jan 2007 17:12:27 +0000 (17:12 +0000)]
Use CFLAGS when linking so mixed sparc builds can supply -m64

17 years agoUse CFLAGS when linking so mixed sparc builds can supply -m64.
Alasdair Kergon [Thu, 11 Jan 2007 16:23:22 +0000 (16:23 +0000)]
Use CFLAGS when linking so mixed sparc builds can supply -m64.

17 years agoPrevent permission changes on active mirrors.
Alasdair Kergon [Wed, 10 Jan 2007 19:56:39 +0000 (19:56 +0000)]
Prevent permission changes on active mirrors.

17 years agoPrint warning instead of error message if cannot zero volume
Milan Broz [Wed, 10 Jan 2007 14:13:46 +0000 (14:13 +0000)]
Print warning instead of error message if cannot zero volume
Update lvconvert man page (snapshot option)

17 years agodumpconfig accepts a list of configuration variables to display.
Alasdair Kergon [Tue, 9 Jan 2007 23:22:31 +0000 (23:22 +0000)]
dumpconfig accepts a list of configuration variables to display.
Change dumpconfig to use --file to redirect output to a file.

17 years agoAvoid vgreduce error when mirror code removes the log LV.
Alasdair Kergon [Tue, 9 Jan 2007 23:14:35 +0000 (23:14 +0000)]
Avoid vgreduce error when mirror code removes the log LV.

17 years agoRemove 3 redundant AC_MSG_RESULTs from configure.in.
Alasdair Kergon [Tue, 9 Jan 2007 22:07:20 +0000 (22:07 +0000)]
Remove 3 redundant AC_MSG_RESULTs from configure.in.

17 years agoFree memory in _raw_read_mda_header() error paths.
Alasdair Kergon [Tue, 9 Jan 2007 21:12:41 +0000 (21:12 +0000)]
Free memory in _raw_read_mda_header() error paths.
Fix ambiguous vgsplit error message for split LV.
Fix lvextend man page typo.

17 years agoAdd configure --with-dmdir to compile against a device-mapper source tree.
Alasdair Kergon [Tue, 9 Jan 2007 20:31:08 +0000 (20:31 +0000)]
Add configure --with-dmdir to compile against a device-mapper source tree.
Use no flush suspending for mirrors.

17 years agoAdd dm_tree_use_no_flush_suspend().
Alasdair Kergon [Tue, 9 Jan 2007 19:44:07 +0000 (19:44 +0000)]
Add dm_tree_use_no_flush_suspend().

17 years agofix last checkin
Alasdair Kergon [Mon, 8 Jan 2007 15:35:08 +0000 (15:35 +0000)]
fix last checkin

17 years agoLots of dmevent changes.
Alasdair Kergon [Mon, 8 Jan 2007 15:18:52 +0000 (15:18 +0000)]
Lots of dmevent changes.
Export dm_basename().
Cope with a trailing space when comparing tables prior to possible reload.

17 years agoAdd dmeventd_mirror register_mutex, tidy initialisation & add memlock.
Alasdair Kergon [Mon, 8 Jan 2007 14:24:20 +0000 (14:24 +0000)]
Add dmeventd_mirror register_mutex, tidy initialisation & add memlock.

17 years agoFix create mirror with name longer than 22 chars.
Milan Broz [Fri, 5 Jan 2007 15:53:40 +0000 (15:53 +0000)]
Fix create mirror with name longer than 22 chars.

17 years agoFix some activate.c prototypes when compiled without devmapper.
Alasdair Kergon [Wed, 20 Dec 2006 16:19:01 +0000 (16:19 +0000)]
Fix some activate.c prototypes when compiled without devmapper.

17 years agoFix dmeventd mirror to cope if monitored device disappears.
Alasdair Kergon [Wed, 20 Dec 2006 14:35:02 +0000 (14:35 +0000)]
Fix dmeventd mirror to cope if monitored device disappears.

17 years agopost-release
Alasdair Kergon [Thu, 14 Dec 2006 22:21:32 +0000 (22:21 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Thu, 14 Dec 2006 20:05:08 +0000 (20:05 +0000)]
pre-release

17 years agoAdd missing pvremove error message when device doesn't exist.
Alasdair Kergon [Wed, 13 Dec 2006 18:40:23 +0000 (18:40 +0000)]
Add missing pvremove error message when device doesn't exist.

17 years agoWhen lvconvert allocates a mirror log, respect parallel area constraints.
Alasdair Kergon [Wed, 13 Dec 2006 03:39:58 +0000 (03:39 +0000)]
When lvconvert allocates a mirror log, respect parallel area constraints.
Use loop to iterate through the now-ordered policy list in _allocate().
Check for failure to allocate just the mirror log.
Introduce calc_area_multiple().
Support mirror log allocation when there is only one PV: area_count now 0.

(See lvm-devel list archives for further details.)

17 years agoFix detection of smallest area in _alloc_parallel_area() for cling policy.
Alasdair Kergon [Tue, 12 Dec 2006 19:30:10 +0000 (19:30 +0000)]
Fix detection of smallest area in _alloc_parallel_area() for cling policy.

17 years agoAdd manpage reference for clvmd -T that got missed out when I
Patrick Caulfield [Mon, 11 Dec 2006 14:06:25 +0000 (14:06 +0000)]
Add manpage reference for clvmd -T that got missed out when I
checked the code in (sorry).

17 years agoFix gulm operation of clvmd. including a hang when attempting to
Patrick Caulfield [Mon, 11 Dec 2006 14:00:26 +0000 (14:00 +0000)]
Fix gulm operation of clvmd. including a hang when attempting to
exclusively lock an LV that is already locked no another node.

17 years agoFix hang in clvmd if a pre-command failed. The pre/post thread was getting
Patrick Caulfield [Mon, 11 Dec 2006 13:48:41 +0000 (13:48 +0000)]
Fix hang in clvmd if a pre-command failed. The pre/post thread was getting
out of sync in this instance and would not quit.

17 years agopost-release
Alasdair Kergon [Fri, 1 Dec 2006 23:29:54 +0000 (23:29 +0000)]
post-release

17 years agopre release
Alasdair Kergon [Fri, 1 Dec 2006 23:15:59 +0000 (23:15 +0000)]
pre release

17 years agoclvmd ia64 alignment fixes etc. (pjc)
Alasdair Kergon [Fri, 1 Dec 2006 23:10:26 +0000 (23:10 +0000)]
clvmd ia64 alignment fixes etc. (pjc)

17 years agoFix VG clustered read locks to use PR not CR.
Alasdair Kergon [Fri, 1 Dec 2006 22:48:47 +0000 (22:48 +0000)]
Fix VG clustered read locks to use PR not CR.

VG metadata reads were not being locked out during metadata updates.

17 years agoAdjust some alignments for ia64 and sparc.
Alasdair Kergon [Thu, 30 Nov 2006 23:11:42 +0000 (23:11 +0000)]
Adjust some alignments for ia64 and sparc.
(Some of the changes are probably unnecessary.)

17 years agoFix mirror segment removal to use temporary error segment.
Alasdair Kergon [Thu, 30 Nov 2006 17:52:47 +0000 (17:52 +0000)]
Fix mirror segment removal to use temporary error segment.

17 years agoAlways compile debug logging into clvmd as it's too useful to
Patrick Caulfield [Thu, 30 Nov 2006 13:19:42 +0000 (13:19 +0000)]
Always compile debug logging into clvmd as it's too useful to
restrict to just developers.
-d will switch it on and run the daemon in the foreground

17 years agoAdd timeout to RHEL4 clvmd init script.
Patrick Caulfield [Thu, 30 Nov 2006 10:16:48 +0000 (10:16 +0000)]
Add timeout to RHEL4 clvmd init script.
With the previous clvmd checkin this should address bz#187812

17 years agoAdd -T (startup timeout) switch to clvmd
Patrick Caulfield [Thu, 30 Nov 2006 09:44:07 +0000 (09:44 +0000)]
Add -T (startup timeout) switch to clvmd

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