]> sourceware.org Git - dm.git/log
dm.git
16 years agoFix symlink creation in previous change.
Jim Meyering [Tue, 18 Sep 2007 13:44:28 +0000 (13:44 +0000)]
Fix symlink creation in previous change.

Author: Jim Meyering <jim@meyering.net>

16 years agoCreate a symlink, e.g., libdevmapper.so.1.02, in the build dir,
Jim Meyering [Tue, 18 Sep 2007 13:02:58 +0000 (13:02 +0000)]
Create a symlink, e.g., libdevmapper.so.1.02, in the build dir,
alongside the .so file.  This helps build dynamically linked LVM.

* lib/Makefile.in (VERSIONED_SHLIB): Define.
* make.tmpl.in (TARGETS): Append $(VERSIONED_SHLIB).
($(VERSIONED_SHLIB)): New rule.

Author: Jim Meyering <jim@meyering.net>

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 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 agopost-release
Alasdair Kergon [Tue, 21 Aug 2007 17:03:07 +0000 (17:03 +0000)]
post-release

17 years agopre-release v1_02_22
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:06 +0000 (16:26 +0000)]
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.

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 agoimprove changelog
Alasdair Kergon [Mon, 6 Aug 2007 13:09:45 +0000 (13:09 +0000)]
improve changelog

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 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 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:01 +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 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 agopost-release
Alasdair Kergon [Fri, 13 Jul 2007 16:10:24 +0000 (16:10 +0000)]
post-release

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

17 years agoMake warnings go to stderr. Adds log_warn macro for that purpose,
Petr Rockai [Thu, 28 Jun 2007 17:27:01 +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 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 agopost-release
Alasdair Kergon [Fri, 15 Jun 2007 20:49:30 +0000 (20:49 +0000)]
post-release

17 years agopre-release v1_02_20
Alasdair Kergon [Fri, 15 Jun 2007 18:40:13 +0000 (18:40 +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 agoAdd capability for tree-based fields to dmsetup reports.
Alasdair Kergon [Mon, 11 Jun 2007 13:20:28 +0000 (13:20 +0000)]
Add capability for tree-based fields to dmsetup reports.

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

17 years agopo v1_02_19
Alasdair Kergon [Fri, 27 Apr 2007 19:55:26 +0000 (19:55 +0000)]
po

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

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

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 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:40 +0000 (14:52 +0000)]
Deal with some more compiler warnings.  Hope this doesn't break anything...

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 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 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 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 a few leaks in reporting error paths.
Alasdair Kergon [Wed, 14 Feb 2007 15:12:14 +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 v1_02_18
Alasdair Kergon [Tue, 13 Feb 2007 16:12:24 +0000 (16:12 +0000)]
pre-release

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 agopost-release
Alasdair Kergon [Mon, 29 Jan 2007 20:25:19 +0000 (20:25 +0000)]
post-release

17 years agopre-release v1_02_17
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:23 +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:40 +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 agopost-release
Alasdair Kergon [Thu, 25 Jan 2007 23:36:05 +0000 (23:36 +0000)]
post-release

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

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 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 agoMigrate dmsetup column-based output over to new libdevmapper report framework.
Alasdair Kergon [Wed, 24 Jan 2007 18:09:06 +0000 (18:09 +0000)]
Migrate dmsetup column-based output over to new libdevmapper report framework.

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 agoadd a dso-private variable to dmeventd interface
Alasdair Kergon [Tue, 23 Jan 2007 17:38:38 +0000 (17:38 +0000)]
add a dso-private variable to dmeventd interface
more inline docn

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

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:00 +0000 (15:53 +0000)]
Add DM_LIB_VERSION definition to configure.h.

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 agoSome internal renaming.
Alasdair Kergon [Thu, 18 Jan 2007 17:47:56 +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:50:54 +0000 (17:50 +0000)]
post-release

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

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 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 agoAdd basic reporting functions to libdevmapper.
Alasdair Kergon [Tue, 16 Jan 2007 18:03:39 +0000 (18:03 +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 recent checkins
Alasdair Kergon [Mon, 15 Jan 2007 19:47:48 +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 agoregen conf files
Alasdair Kergon [Mon, 15 Jan 2007 19:06:59 +0000 (19:06 +0000)]
regen conf files

17 years agoconfigure-time dmeventd prefix
Alasdair Kergon [Mon, 15 Jan 2007 19:02:29 +0000 (19:02 +0000)]
configure-time dmeventd prefix

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

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:11 +0000 (14:39 +0000)]
Report error if NULL pointer supplied to dm_strdup_aux().

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 v1_02_14
Alasdair Kergon [Thu, 11 Jan 2007 22:44:09 +0000 (22:44 +0000)]
pre-release

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

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

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 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 [Tue, 28 Nov 2006 22:51:01 +0000 (22:51 +0000)]
post-release

17 years agopre-release v1_02_13
Alasdair Kergon [Tue, 28 Nov 2006 22:49:58 +0000 (22:49 +0000)]
pre-release

17 years agoUpdate dmsetup man page (setgeometry & message)
Alasdair Kergon [Thu, 23 Nov 2006 20:34:16 +0000 (20:34 +0000)]
Update dmsetup man page (setgeometry & message)

17 years agogetline debug free
Alasdair Kergon [Thu, 19 Oct 2006 16:50:05 +0000 (16:50 +0000)]
getline debug free

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