]> sourceware.org Git - dm.git/log
dm.git
15 years agodrop explicit libdevmapper.h master
Alasdair Kergon [Thu, 30 Oct 2008 17:52:06 +0000 (17:52 +0000)]
drop explicit libdevmapper.h

15 years agodrop libdevmapper.h
Alasdair Kergon [Thu, 30 Oct 2008 17:50:41 +0000 (17:50 +0000)]
drop libdevmapper.h

15 years agoSplit out dm-logging.h from log.h
Alasdair Kergon [Thu, 30 Oct 2008 17:24:03 +0000 (17:24 +0000)]
Split out dm-logging.h from log.h

15 years agoUse lvm-types.h
Alasdair Kergon [Thu, 30 Oct 2008 15:11:16 +0000 (15:11 +0000)]
Use lvm-types.h

15 years agoAdd usrsbindir to configure.
Alasdair Kergon [Tue, 7 Oct 2008 19:08:46 +0000 (19:08 +0000)]
Add usrsbindir to configure.

15 years agoFix last checkin - tested wrong dnode. v1_02_28
Alasdair Kergon [Thu, 18 Sep 2008 22:55:33 +0000 (22:55 +0000)]
Fix last checkin - tested wrong dnode.

15 years agopost-release
Alasdair Kergon [Thu, 18 Sep 2008 20:09:51 +0000 (20:09 +0000)]
post-release

15 years agopre-release
Alasdair Kergon [Thu, 18 Sep 2008 20:03:24 +0000 (20:03 +0000)]
pre-release

15 years agoOnly resume devices in dm_tree_preload_children if size changes.
Alasdair Kergon [Thu, 18 Sep 2008 18:34:53 +0000 (18:34 +0000)]
Only resume devices in dm_tree_preload_children if size changes.

15 years agoExtend deptree buffers so the largest possible device numbers fit.
Alasdair Kergon [Tue, 2 Sep 2008 12:16:06 +0000 (12:16 +0000)]
Extend deptree buffers so the largest possible device numbers fit.

16 years agoAdd #include <signal.h> to dmeventd.c, fixes compilation on NetBSD.
Petr Rockai [Wed, 9 Jul 2008 13:26:07 +0000 (13:26 +0000)]
Add #include <signal.h> to dmeventd.c, fixes compilation on NetBSD.

16 years agoAdded generation of the versioned libdevmapper-event.so for LVM's test
zkabelac [Fri, 27 Jun 2008 15:36:51 +0000 (15:36 +0000)]
Added generation of the versioned libdevmapper-event.so for LVM's test

16 years agoUnderline longer report help text headings.
Alasdair Kergon [Wed, 25 Jun 2008 19:52:51 +0000 (19:52 +0000)]
Underline longer report help text headings.

16 years agopost-release
Alasdair Kergon [Wed, 25 Jun 2008 14:44:00 +0000 (14:44 +0000)]
post-release

16 years agopre-commit v1_02_27
Alasdair Kergon [Wed, 25 Jun 2008 14:24:17 +0000 (14:24 +0000)]
pre-commit

16 years agoAlign struct memblock in dbg_malloc for sparc.
Alasdair Kergon [Wed, 25 Jun 2008 14:10:33 +0000 (14:10 +0000)]
Align struct memblock in dbg_malloc for sparc.

16 years agoCope with missing field values.
Alasdair Kergon [Wed, 25 Jun 2008 00:10:36 +0000 (00:10 +0000)]
Cope with missing field values.

16 years agoAdd --rows to dmsetup.
Alasdair Kergon [Tue, 24 Jun 2008 22:53:47 +0000 (22:53 +0000)]
Add --rows to dmsetup.

16 years agodmsetup --unquoted
Alasdair Kergon [Tue, 24 Jun 2008 20:16:47 +0000 (20:16 +0000)]
dmsetup --unquoted

16 years agoavoid compiler warning about cast in OFFSET_OF macro
Jim Meyering [Wed, 18 Jun 2008 10:19:25 +0000 (10:19 +0000)]
avoid compiler warning about cast in OFFSET_OF macro

* dmsetup/dmsetup.c (OFFSET_OF): Use an equivalent definition
that does not cast a pointer value to a narrower type.

16 years agoFix inverted no_flush debug message. (mpatocka)
Alasdair Kergon [Tue, 10 Jun 2008 11:19:18 +0000 (11:19 +0000)]
Fix inverted no_flush debug message. (mpatocka)

16 years agobring list.h into line with lvm2
Alasdair Kergon [Sun, 8 Jun 2008 14:53:51 +0000 (14:53 +0000)]
bring list.h into line with lvm2

16 years ago.
Alasdair Kergon [Fri, 6 Jun 2008 20:45:41 +0000 (20:45 +0000)]
.

16 years agorename some config vars
Alasdair Kergon [Fri, 6 Jun 2008 20:44:35 +0000 (20:44 +0000)]
rename some config vars

16 years agoBring configure.in into line with the lvm2 version.
Alasdair Kergon [Fri, 6 Jun 2008 20:33:13 +0000 (20:33 +0000)]
Bring configure.in into line with the lvm2 version.

16 years agopost-release
Alasdair Kergon [Fri, 6 Jun 2008 19:22:09 +0000 (19:22 +0000)]
post-release

16 years agopre-release v1_02_26
Alasdair Kergon [Fri, 6 Jun 2008 19:09:19 +0000 (19:09 +0000)]
pre-release

16 years agoswitch to single quotes rather than double for nameprefixes
Alasdair Kergon [Fri, 6 Jun 2008 19:07:47 +0000 (19:07 +0000)]
switch to single quotes rather than double for nameprefixes

16 years agonameprefixes
Alasdair Kergon [Fri, 6 Jun 2008 18:53:26 +0000 (18:53 +0000)]
nameprefixes

16 years agochange --prefixes to --nameprefixes
Alasdair Kergon [Fri, 6 Jun 2008 18:53:08 +0000 (18:53 +0000)]
change --prefixes to --nameprefixes

16 years agoInitialise params buffer to empty string in _emit_segment.
Alasdair Kergon [Thu, 5 Jun 2008 19:10:35 +0000 (19:10 +0000)]
Initialise params buffer to empty string in _emit_segment.

16 years agoSkip add_dev_node when ioctls disabled.
Alasdair Kergon [Wed, 21 May 2008 16:14:44 +0000 (16:14 +0000)]
Skip add_dev_node when ioctls disabled.
Make dm_hash_iter safe against deletion.
Accept a NULL pointer to dm_free silently.

16 years agoUse 'active' for !suspended as the code already uses that.
Alasdair Kergon [Mon, 21 Apr 2008 16:57:11 +0000 (16:57 +0000)]
Use 'active' for !suspended as the code already uses that.

16 years agoAdd 3 new reporting colums: tables_loaded, readonly, suspended.
Alasdair Kergon [Mon, 21 Apr 2008 13:16:30 +0000 (13:16 +0000)]
Add 3 new reporting colums: tables_loaded, readonly, suspended.

16 years agoAdd --prefixes to dmsetup
Alasdair Kergon [Mon, 21 Apr 2008 11:59:22 +0000 (11:59 +0000)]
Add --prefixes to dmsetup

E.g. dmsetup info -c --prefixes

Again, might change the name of this option.

16 years agoAdd field name prefix option to reporting functions.
Alasdair Kergon [Sun, 20 Apr 2008 00:11:07 +0000 (00:11 +0000)]
Add field name prefix option to reporting functions.

16 years agoCalculate string size within dm_pool_grow_object.
Alasdair Kergon [Sat, 19 Apr 2008 15:50:17 +0000 (15:50 +0000)]
Calculate string size within dm_pool_grow_object.

16 years agopost-release
Alasdair Kergon [Thu, 10 Apr 2008 18:04:31 +0000 (18:04 +0000)]
post-release

16 years agopre-release v1_02_25
Alasdair Kergon [Thu, 10 Apr 2008 18:00:45 +0000 (18:00 +0000)]
pre-release

16 years agoRemove redundant if-before-free tests. origin
Jim Meyering [Fri, 15 Feb 2008 14:14:58 +0000 (14:14 +0000)]
Remove redundant if-before-free tests.

16 years agoUse log_warn for reporting field help text instead of log_print.
Alasdair Kergon [Sun, 20 Jan 2008 01:14:38 +0000 (01:14 +0000)]
Use log_warn for reporting field help text instead of log_print.

16 years ago- The automatic log module loading patch proposed for the upstream kernel
Jonathan Earl Brassow [Tue, 15 Jan 2008 22:48:11 +0000 (22:48 +0000)]
- The automatic log module loading patch proposed for the upstream kernel
  works on '-'s, not '_'s.  This is due to the preference to have log
  module file names that do not mix '_'s and '-'s.

16 years agotypo
Alasdair Kergon [Fri, 28 Dec 2007 15:13:38 +0000 (15:13 +0000)]
typo

16 years agopost-release
Alasdair Kergon [Thu, 20 Dec 2007 15:16:14 +0000 (15:16 +0000)]
post-release

16 years agopre-release v1_02_24
Alasdair Kergon [Thu, 20 Dec 2007 15:12:57 +0000 (15:12 +0000)]
pre-release

16 years agomore readahead node fixes/debug messages
Alasdair Kergon [Fri, 14 Dec 2007 19:49:26 +0000 (19:49 +0000)]
more readahead node fixes/debug messages

16 years agoFix deptree to pass new name to _resume_node after a rename.
Alasdair Kergon [Fri, 14 Dec 2007 17:57:04 +0000 (17:57 +0000)]
Fix deptree to pass new name to _resume_node after a rename.

16 years agoAdd node operation stack debug messages.
Alasdair Kergon [Fri, 14 Dec 2007 17:26:08 +0000 (17:26 +0000)]
Add node operation stack debug messages.

16 years agoReport error when empty device name passed to readahead functions.
Alasdair Kergon [Thu, 13 Dec 2007 02:25:45 +0000 (02:25 +0000)]
Report error when empty device name passed to readahead functions.

16 years agoreinstate linux ifdef
Alasdair Kergon [Fri, 7 Dec 2007 12:57:57 +0000 (12:57 +0000)]
reinstate linux ifdef

16 years agoclarify
Alasdair Kergon [Wed, 5 Dec 2007 22:45:56 +0000 (22:45 +0000)]
clarify

16 years agoFix minimum readahead debug message.
Alasdair Kergon [Wed, 5 Dec 2007 18:57:33 +0000 (18:57 +0000)]
Fix minimum readahead debug message.

16 years agopost-release
Alasdair Kergon [Wed, 5 Dec 2007 17:14:30 +0000 (17:14 +0000)]
post-release

16 years agopre-release v1_02_23
Alasdair Kergon [Wed, 5 Dec 2007 17:05:04 +0000 (17:05 +0000)]
pre-release

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.

16 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.

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

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

16 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.

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

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>

16 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.

16 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.

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

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

16 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.

16 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.

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

16 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.

16 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

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