]> sourceware.org Git - dm.git/log
dm.git
16 years agoclarify when read_ahead may be set
Alasdair Kergon [Wed, 5 Dec 2007 16:28:19 +0000 (16:28 +0000)]
clarify when read_ahead may be set

16 years agowork out device name to use for read ahead request
Alasdair Kergon [Wed, 5 Dec 2007 16:24:41 +0000 (16:24 +0000)]
work out device name to use for read ahead request

16 years agoread_ahead in report with underscore to match lvm2 field
Alasdair Kergon [Wed, 5 Dec 2007 14:42:10 +0000 (14:42 +0000)]
read_ahead in report with underscore to match lvm2 field

16 years agofix ioctls to use long not int
Alasdair Kergon [Wed, 5 Dec 2007 14:11:25 +0000 (14:11 +0000)]
fix ioctls to use long not int
update dm-ioctl.h after compat tidy-up

16 years agofixme
Alasdair Kergon [Mon, 3 Dec 2007 22:53:04 +0000 (22:53 +0000)]
fixme

16 years agofixes
Alasdair Kergon [Mon, 3 Dec 2007 22:48:35 +0000 (22:48 +0000)]
fixes

16 years agomissing #include
Alasdair Kergon [Mon, 3 Dec 2007 17:56:36 +0000 (17:56 +0000)]
missing #include

16 years agofix
Alasdair Kergon [Fri, 30 Nov 2007 16:44:42 +0000 (16:44 +0000)]
fix

16 years agoreadahead support completed - untested
Alasdair Kergon [Fri, 30 Nov 2007 16:42:26 +0000 (16:42 +0000)]
readahead support completed - untested

16 years agoread_ahead node ops
Alasdair Kergon [Fri, 30 Nov 2007 14:59:57 +0000 (14:59 +0000)]
read_ahead node ops

16 years agorefine specification of dmsetup readahead
Alasdair Kergon [Thu, 29 Nov 2007 14:44:28 +0000 (14:44 +0000)]
refine specification of dmsetup readahead

16 years agoadd read_ahead functions to library and dmsetup --readahead
Alasdair Kergon [Tue, 27 Nov 2007 20:57:04 +0000 (20:57 +0000)]
add read_ahead functions to library and dmsetup --readahead
(Not live yet.)

16 years agoFix a possible double-free in libdevmapper-event.
Petr Rockai [Tue, 27 Nov 2007 12:26:06 +0000 (12:26 +0000)]
Fix a possible double-free in libdevmapper-event.

16 years agoAdd DM_READ_AHEAD_MINIMUM_FLAG
Alasdair Kergon [Mon, 12 Nov 2007 20:47:17 +0000 (20:47 +0000)]
Add DM_READ_AHEAD_MINIMUM_FLAG

16 years agoDefine DM_READ_AHEAD_AUTO and DM_READ_AHEAD_NONE.
Alasdair Kergon [Fri, 9 Nov 2007 16:52:36 +0000 (16:52 +0000)]
Define DM_READ_AHEAD_AUTO and DM_READ_AHEAD_NONE.

17 years agoFix configure --with-dmeventd-path substitution.
Alasdair Kergon [Wed, 10 Oct 2007 00:02:03 +0000 (00:02 +0000)]
Fix configure --with-dmeventd-path substitution.

17 years agoAllow $DM_DEV_DIR envvar to override default of "/dev".
Jim Meyering [Tue, 9 Oct 2007 12:14:48 +0000 (12:14 +0000)]
Allow $DM_DEV_DIR envvar to override default of "/dev".

* dmsetup/dmsetup.c (DEV_PATH): Remove definition.
(parse_loop_device_name): Add parameter: dev_dir.
Declare the "dev" parameter to be "const".
Use dev_dir, not DEV_PATH.  Handle the case in which dev_dir
does not end in a "/".
(_get_abspath): Declare "path" parameter "const", to match.
(_process_losetup_switches): Add parameter: dev_dir.
Pass dev_dir to parse_loop_device_name.
(_process_switches): Add parameter: dev_dir.
Pass dev_dir to _process_losetup_switches.
(main): Set dev_dir from the DM_DEV_DIR envvar, else to "/dev".
Call dm_set_dev_dir.
* lib/libdm-common.c (dm_set_dev_dir): Rewrite to be careful
about boundary conditions, now that dev_dir may be tainted.
* man/dmsetup.8: Mention $DM_DEV_DIR.

Author: Jim Meyering <meyering@redhat.com>

17 years agoArrange for "make clean" to remove the symlink, too.
Jim Meyering [Wed, 3 Oct 2007 10:48:27 +0000 (10:48 +0000)]
Arrange for "make clean" to remove the symlink, too.

* make.tmpl.in ($(VERSIONED_SHLIB)): Move rule to...
* lib/Makefile.in ($(VERSIONED_SHLIB)): ...here, removing the
$(interface)/ prefix.
Reported by Milan Broz.

Author: Jim Meyering <meyering@redhat.com>

17 years agoFix build, symlink removal used old argument.
Milan Broz [Wed, 3 Oct 2007 09:00:45 +0000 (09:00 +0000)]
Fix build, symlink removal used old argument.

17 years agoCreate the .so.1.02 symlink in lib/, not lib/ioctl/.
Jim Meyering [Tue, 18 Sep 2007 14:27:33 +0000 (14:27 +0000)]
Create the .so.1.02 symlink in lib/, not lib/ioctl/.

Author: Jim Meyering <jim@meyering.net>

17 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>

17 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

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