1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/WHATS_NEW_DM

429 lines
16 KiB
Plaintext
Raw Normal View History

2009-09-26 04:42:47 +04:00
Version 1.02.39 -
=====================================
2009-09-25 22:30:26 +04:00
Version 1.02.38 - 25th September 2009
2009-09-15 17:54:28 +04:00
=====================================
2009-09-25 22:30:27 +04:00
Export DM_DEV_DIR_UMASK, the default umask for /dev directories created.
2009-09-25 22:30:26 +04:00
Handle any path supplied to dm_task_set_name by looking up in /dev/mapper.
Add several examples to 12-dm-permissions.rules.
Add splitname and --yes to dmsetup man page.
Fix _mirror_emit_segment_line return code.
Fix dmeventd _temporary_log_fn parameters. (2.02.50)
2009-09-15 17:54:28 +04:00
2009-09-15 14:57:16 +04:00
Version 1.02.37 - 15th September 2009
2009-09-15 15:41:38 +04:00
=====================================
Add dmsetup manpage entries for udevcomplete_all and udevcookies.
Check udev is running when processing cookies and retain state internally.
Add y|--yes option to dmsetup for default 'yes' answer to prompts.
Fix tools Makefile to process dmsetup sources separately.
Restore umask when device node creation fails.
2009-09-15 15:41:38 +04:00
Check kernel vsn to use 'block_on_error' or 'handle_errors' in mirror table.
Add dm-log-userspace.h to tree for cmirrord builds.
2009-08-06 23:32:26 +04:00
2009-08-06 20:30:34 +04:00
Version 1.02.36 - 6th August 2009
=================================
Add udevcookies, udevcomplete, udevcomplete_all and --noudevwait to dmsetup.
Add libdevmapper functions to support synchronisation with udev.
2009-07-29 00:47:40 +04:00
2009-07-28 21:22:07 +04:00
Version 1.02.35 - 28th July 2009
2009-07-15 19:38:41 +04:00
================================
2009-07-28 21:22:07 +04:00
Add LOG_LINE_WITH_ERRNO macro.
Use log_error macro consistently throughout in place of log_err.
2009-07-15 19:38:41 +04:00
2009-07-15 17:20:06 +04:00
Version 1.02.34 - 15th July 2009
2009-07-01 13:31:46 +04:00
================================
Use _exit() not exit() after forking to avoid flushing libc buffers twice.
Rename plog macro to LOG_LINE & add LOG_MESG variant for dm_dump_memory_debug.
Change plog to use dm_log_with_errno unless deprecated dm_log_init was used.
Add dm_log_with_errno and dm_log_with_errno_init, deprecating the old fns.
2009-07-07 21:19:38 +04:00
Fix whitespace in linear target line to fix identical table line detection.
Add device number to more log messages during activation.
2009-07-01 13:31:46 +04:00
2009-06-30 22:41:47 +04:00
Version 1.02.33 - 30th June 2009
2009-06-26 14:57:30 +04:00
================================
2009-06-30 22:39:31 +04:00
Don't fallback to default major number: use dm_task_set_major_minor. (1.02.31)
Do not fork daemon when dmeventd cannot be found.
2009-06-30 22:39:31 +04:00
Add crypt target handling to libdevmapper tree nodes.
2009-06-04 00:44:42 +04:00
Add splitname command to dmsetup.
Add subsystem, vg_name, lv_name, lv_layer fields to dmsetup reports.
Make mempool optional in dm_split_lvm_name().
2009-05-22 19:23:10 +04:00
2009-05-21 07:04:52 +04:00
Version 1.02.32 - 21st May 2009
===============================
2009-05-21 02:44:10 +04:00
Only generate libdevmapper.a when configured to link statically.
Export dm_tree_node_size_changed() from libdevmapper.
Propagate the table size_changed property up the dm device tree.
Detect failure to free memory pools when releasing the library.
Fix segfault when getopt processes dmsetup -U, -G and -M options.
2009-03-03 21:25:05 +03:00
2009-03-03 16:03:03 +03:00
Version 1.02.31 - 3rd March 2009
================================
If kernel supports only one dm major number, use in place of any supplied.
2009-01-26 17:46:08 +03:00
2009-01-26 16:14:22 +03:00
Version 1.02.30 - 26th January 2009
2008-11-19 17:14:51 +03:00
====================================
Add "all" field to reports expanding to all fields of report type.
2009-01-26 16:14:22 +03:00
Enforce device name length and character limitations in libdm.
Replace _dm_snprintf with EMIT_PARAMS macro for creating target lines.
2008-11-19 17:14:51 +03:00
Version 1.02.29 - 10th November 2008
====================================
Merge device-mapper into the LVM2 tree.
2008-10-30 20:24:04 +03:00
Split out dm-logging.h from log.h.
2008-10-30 18:11:16 +03:00
Use lvm-types.h.
2008-10-07 23:08:46 +04:00
Add usrsbindir to configure.
2008-09-19 00:09:51 +04:00
Version 1.02.28 - 18th September 2008
=====================================
Only resume devices in dm_tree_preload_children if size changes.
Extend deptree buffers so the largest possible device numbers fit.
Generate versioned libdevmapper-event.so.
Underline longer report help text headings.
2008-06-25 18:44:00 +04:00
2008-06-25 18:24:17 +04:00
Version 1.02.27 - 25th June 2008
================================
Align struct memblock in dbg_malloc for sparc.
2008-06-25 02:53:48 +04:00
Add --unquoted and --rows to dmsetup.
Avoid compiler warning about cast in dmsetup.c's OFFSET_OF macro.
Fix inverted no_flush debug message.
2008-06-07 00:45:41 +04:00
Remove --enable-jobs from configure. (Set at runtime instead.)
2008-06-08 18:53:51 +04:00
Bring configure.in and list.h into line with the lvm2 versions.
2008-06-06 23:28:35 +04:00
2008-06-06 23:09:19 +04:00
Version 1.02.26 - 6th June 2008
===============================
Initialise params buffer to empty string in _emit_segment.
Skip add_dev_node when ioctls disabled.
Make dm_hash_iter safe against deletion.
Accept a NULL pointer to dm_free silently.
Add tables_loaded, readonly and suspended columns to reports.
2008-06-06 22:53:26 +04:00
Add --nameprefixes to dmsetup.
Add field name prefix option to reporting functions.
Calculate string size within dm_pool_grow_object.
2008-04-10 22:04:31 +04:00
2008-04-10 22:00:45 +04:00
Version 1.02.25 - 10th April 2008
=================================
2008-02-15 17:14:58 +03:00
Remove redundant if-before-free tests.
Use log_warn for reporting field help text instead of log_print.
Change cluster mirror log type name (s/clustered_/clustered-/)
2007-12-20 18:16:14 +03:00
2007-12-20 18:12:57 +03:00
Version 1.02.24 - 20th December 2007
====================================
Fix deptree to pass new name to _resume_node after a rename.
Suppress other node operations if node is deleted.
Add node operation stack debug messages.
Report error when empty device name passed to readahead functions.
2007-12-05 21:57:34 +03:00
Fix minimum readahead debug message.
2007-12-05 20:14:30 +03:00
2007-12-05 20:05:04 +03:00
Version 1.02.23 - 5th December 2007
===================================
Update dm-ioctl.h after removal of compat code.
2007-12-05 20:05:04 +03:00
Add readahead support to libdevmapper and dmsetup.
Fix double free in a libdevmapper-event error path.
Fix configure --with-dmeventd-path substitution.
2007-12-06 01:45:56 +03:00
Allow a DM_DEV_DIR environment variable to override /dev in dmsetup.
2007-12-05 20:05:04 +03:00
Create a libdevmapper.so.$LIB_VERSION symlink within the build tree.
Avoid static link failure with some SELinux libraries that require libpthread.
Remove obsolete dmfs code from tree and update INSTALL.
2007-08-21 21:03:07 +04:00
2007-08-21 20:33:18 +04:00
Version 1.02.22 - 21st August 2007
==================================
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
Update to use autoconf 2.61, while still supporting 2.57.
2007-08-06 17:09:46 +04:00
Avoid repeated dm_task free on some dm_event_get_registered_device errors.
Introduce log_sys_* macros from LVM2.
Export dm_fclose and dm_create_dir; remove libdm-file.h.
2007-08-06 17:09:46 +04:00
Don't log EROFS mkdir failures in _create_dir_recursive (for LVM2).
Add fclose wrapper dm_fclose that catches write failures (using ferror).
2007-07-13 20:10:24 +04:00
2007-07-13 20:07:30 +04:00
Version 1.02.21 - 13th July 2007
2007-06-16 00:49:30 +04:00
================================
2007-07-13 20:07:30 +04:00
Introduce _LOG_STDERR to send log_warn() messages to stderr not stdout.
2008-02-15 17:14:58 +03:00
Fix dmsetup -o devno string termination. (1.02.20)
2007-06-16 00:49:30 +04:00
2007-06-15 23:05:02 +04:00
Version 1.02.20 - 15th June 2007
================================
Fix default dmsetup report buffering and add --unbuffered.
Add tree-based and dependency fields to dmsetup reports.
2007-04-28 00:58:45 +04:00
2007-04-28 00:47:14 +04:00
Version 1.02.19 - 27th April 2007
=================================
Standardise protective include file #defines.
2007-04-27 22:40:23 +04:00
Add regex functions to library.
Avoid trailing separator in reports when there are hidden sort fields.
Fix segfault in 'dmsetup status' without --showkeys against crypt target.
Deal with some more compiler warnings.
Introduce _add_field() and _is_same_field() to libdm-report.c.
2007-04-23 19:06:03 +04:00
Fix some libdevmapper-event and dmeventd memory leaks.
Remove unnecessary memset() return value checks.
Fix a few leaks in reporting error paths. [1.02.15+]
2007-02-13 19:16:15 +03:00
2007-02-13 19:12:24 +03:00
Version 1.02.18 - 13th February 2007
====================================
Improve dmeventd messaging protocol: drain pipe and tag messages.
2007-01-29 23:25:19 +03:00
2007-01-29 22:57:24 +03:00
Version 1.02.17 - 29th January 2007
2007-01-26 02:40:33 +03:00
===================================
Add recent reporting options to dmsetup man page.
Revise some report fields names.
Add dmsetup 'help' command and update usage text.
2007-01-29 20:45:32 +03:00
Use fixed-size fields in report interface and reorder.
2007-01-26 02:40:33 +03:00
2007-01-26 02:36:59 +03:00
Version 1.02.16 - 25th January 2007
2007-01-17 20:56:15 +03:00
===================================
Add some missing close() and fclose() return value checks.
Migrate dmsetup column-based output over to new libdevmapper report framework.
Add descriptions to reporting field definitions.
Add a dso-private variable to dmeventd dso interface.
Add dm_event_handler_[gs]et_timeout functions.
Streamline dm_report_field_* interface.
Add cmdline debug & version options to dmeventd.
Add DM_LIB_VERSION definition to configure.h.
Suppress 'Unrecognised field' error if report field is 'help'.
Add --separator and --sort to dmsetup (unused).
Make alignment flag optional when specifying report fields.
2007-01-17 20:51:51 +03:00
Version 1.02.15 - 17th January 2007
2007-01-12 02:19:08 +03:00
===================================
Add basic reporting functions to libdevmapper.
Fix a malloc error path in dmsetup message.
More libdevmapper-event interface changes and fixes.
Rename dm_saprintf() to dm_asprintf().
Report error if NULL pointer is supplied to dm_strdup_aux().
Reinstate dm_event_get_registered_device.
2007-01-12 02:19:08 +03:00
2007-01-12 01:49:43 +03:00
Version 1.02.14 - 11th January 2007
===================================
2007-01-12 00:54:53 +03:00
Add dm_saprintf().
Use CFLAGS when linking so mixed sparc builds can supply -m64.
2007-01-09 22:44:07 +03:00
Add dm_tree_use_no_flush_suspend().
2007-01-12 00:54:53 +03:00
Lots of dmevent changes including revised interface.
Export dm_basename().
Cope with a trailing space when comparing tables prior to possible reload.
Fix dmeventd to cope if monitored device disappears.
2006-11-29 01:51:01 +03:00
2006-11-29 01:49:58 +03:00
Version 1.02.13 - 28 Nov 2006
=============================
Update dmsetup man page (setgeometry & message).
2006-10-19 20:50:05 +04:00
Fix dmsetup free after getline with debug.
Suppress encryption key in 'dmsetup table' output unless --showkeys supplied.
2006-10-13 22:43:53 +04:00
Version 1.02.12 - 13 Oct 2006
=============================
Avoid deptree attempting to suspend a device that's already suspended.
2006-10-12 22:20:45 +04:00
2006-10-12 21:37:42 +04:00
Version 1.02.11 - 12 Oct 2006
==============================
Add suspend noflush support.
Add basic dmsetup loop support.
2006-10-12 21:42:40 +04:00
Switch dmsetup to use dm_malloc and dm_free.
2006-09-19 21:50:58 +04:00
2006-09-19 21:43:03 +04:00
Version 1.02.10 - 19 Sep 2006
=============================
2006-08-21 16:52:39 +04:00
Add dm_snprintf(), dm_split_words() and dm_split_lvm_name() to libdevmapper.
2006-08-19 01:38:58 +04:00
Reorder mm bounds_check code to reduce window for a dmeventd race.
2006-08-15 21:43:10 +04:00
2006-08-15 21:38:38 +04:00
Version 1.02.09 - 15 Aug 2006
2006-09-19 21:43:03 +04:00
=============================
Add --table argument to dmsetup for a one-line table.
Abort if errors are found during cmdline option processing.
2006-08-09 01:22:31 +04:00
Add lockfs indicator to debug output.
2006-07-17 18:39:54 +04:00
2006-07-17 18:32:00 +04:00
Version 1.02.08 - 17 July 2006
==============================
2006-07-06 01:01:06 +04:00
Append full patch to check in emails.
Avoid duplicate dmeventd subdir with 'make distclean'.
Update dmsetup man page.
Add --force to dmsetup remove* to load error target.
dmsetup remove_all also performs mknodes.
Don't suppress identical table reloads if permission changes.
Fix corelog segment line.
Suppress some compiler warnings.
2006-05-13 00:32:39 +04:00
2006-05-12 00:24:07 +04:00
Version 1.02.07 - 11 May 2006
2006-05-11 00:46:28 +04:00
=============================
Add DM_CORELOG flag to dm_tree_node_add_mirror_target().
2006-05-11 23:08:02 +04:00
Avoid a dmeventd compiler warning.
2006-05-11 00:46:28 +04:00
2006-05-11 00:14:15 +04:00
Version 1.02.06 - 10 May 2006
2006-04-19 21:21:39 +04:00
=============================
Move DEFS into configure.h.
2006-05-10 20:23:41 +04:00
Fix leaks in error paths found by coverity.
Remove dmsetup line buffer limitation.
2006-04-19 21:21:39 +04:00
2006-04-19 20:41:03 +04:00
Version 1.02.05 - 19 Apr 2006
2006-04-15 01:39:32 +04:00
=============================
Separate install_include target in makefiles.
Separate out DEFS from CFLAGS.
Support pkg-config.
Check for libsepol.
2006-04-15 01:39:32 +04:00
2006-04-15 01:11:38 +04:00
Version 1.02.04 - 14 Apr 2006
=============================
2006-04-06 20:20:40 +04:00
Bring dmsetup man page up-to-date.
Use name-based device refs if kernel doesn't support device number refs.
Fix memory leak (struct dm_ioctl) when struct dm_task is reused.
If _create_and_load_v4 fails part way through, revert the creation.
2006-03-10 00:33:59 +03:00
dmeventd thread/fifo fixes.
2006-02-23 22:11:51 +03:00
Add file & line to dm_strdup_aux().
Add setgeometry.
2006-02-09 02:24:02 +03:00
2006-02-07 19:33:48 +03:00
Version 1.02.03 - 7 Feb 2006
2005-12-02 20:24:06 +03:00
============================
Add exported functions to set uid, gid and mode.
Rename _log to dm_log and export.
2006-01-31 02:36:04 +03:00
Add dm_tree_skip_lockfs.
2006-01-11 01:19:41 +03:00
Fix dm_strdup debug definition.
Fix hash function to avoid using a negative array offset.
Don't inline _find in hash.c and tidy signed/unsigned etc.
Fix libdevmapper.h #endif.
2006-01-03 23:53:57 +03:00
Fix dmsetup version driver version.
Add sync, nosync and block_on_error mirror log parameters.
Add hweight32.
2005-12-05 14:16:48 +03:00
Fix dmeventd build.
2005-12-02 20:24:06 +03:00
2005-12-02 18:44:18 +03:00
Version 1.02.02 - 2 Dec 2005
============================
2005-12-02 18:41:14 +03:00
dmeventd added.
Export dm_task_update_nodes.
Use names instead of numbers in messages when ioctls fail.
2005-11-23 21:44:59 +03:00
2005-11-23 21:36:33 +03:00
Version 1.02.01 - 23 Nov 2005
2005-11-10 19:06:29 +03:00
=============================
2005-11-30 21:35:03 +03:00
Resume snapshot-origins last.
Drop leading zeros from dm_format_dev.
Suppress attempt to reload identical table.
Additional LVM- prefix matching for transitional period.
2005-11-10 19:06:29 +03:00
2005-11-10 18:27:19 +03:00
Version 1.02.00 - 10 Nov 2005
2005-09-27 00:52:00 +04:00
=============================
2005-11-09 17:10:50 +03:00
Added activation functions to library.
Added return macros.
Also suppress error if device doesn't exist with DM_DEVICE_STATUS.
2005-10-25 21:30:00 +04:00
Export dm_set_selinux_context().
2005-10-17 22:05:39 +04:00
Add dm_driver_version().
Added dependency tree functions to library.
2005-10-17 02:57:20 +04:00
Added hash, bitset, pool, dbg_malloc to library.
Added ls --tree to dmsetup.
Added dmsetup --nolockfs support for suspend/reload.
2005-09-27 00:52:00 +04:00
2005-09-27 00:44:12 +04:00
Version 1.01.05 - 26 Sep 2005
2005-08-03 01:46:49 +04:00
=============================
2005-09-22 16:06:34 +04:00
Resync list.h with LVM2.
Remember increased buffer size and use for subsequent calls.
On 'buffer full' condition, double buffer size and repeat ioctl.
Fix termination of getopt_long() option array.
Report 'buffer full' condition with v4 ioctl as well as with v1.
2005-08-03 01:46:49 +04:00
2005-08-02 22:00:32 +04:00
Version 1.01.04 - 2 Aug 2005
2005-09-27 00:44:12 +04:00
============================
Fix dmsetup ls -j and status --target with empty table.
2005-06-13 17:11:48 +04:00
Version 1.01.03 - 13 Jun 2005
=============================
2005-06-13 17:11:48 +04:00
Use matchpathcon mode parameter.
2005-06-11 02:00:44 +04:00
Fix configure script to re-enable selinux.
2005-05-17 19:50:25 +04:00
Version 1.01.02 - 17 May 2005
2005-03-29 22:10:57 +04:00
=============================
Call dm_lib_exit() and dm_lib_release() automatically now.
2005-05-16 20:04:34 +04:00
Add --target <target_type> filter to dmsetup table/status/ls.
2005-05-17 00:46:46 +04:00
Add --exec <command> to dmsetup ls.
Fix dmsetup getopt_long usage.
2005-03-29 22:10:57 +04:00
2005-03-29 18:47:39 +04:00
Version 1.01.01 - 29 Mar 2005
2005-01-17 23:12:12 +03:00
=============================
2005-03-29 18:47:39 +04:00
Update dmsetup man page.
2005-03-27 15:37:46 +04:00
Drop-in devmap_name replacement.
Add option to compile without ioctl for testing.
2005-01-27 18:53:28 +03:00
Fix DM_LIB_VERSION sed.
2005-01-17 23:12:12 +03:00
2005-01-17 23:00:28 +03:00
Version 1.01.00 - 17 Jan 2005
=============================
Add dm_task_no_open_count() to skip getting open_count.
2005-01-07 20:10:16 +03:00
2005-01-07 18:53:37 +03:00
Version 1.00.21 - 7 Jan 2005
2005-01-06 21:41:38 +03:00
============================
2005-01-07 18:39:53 +03:00
Fix /proc/devices parsing.
2005-01-06 21:41:38 +03:00
2005-01-06 21:30:17 +03:00
Version 1.00.20 - 6 Jan 2005
============================
Attempt to fix /dev/mapper/control transparently if it's wrong.
Configuration-time option for setting uid/gid/mode for /dev/mapper nodes.
2004-10-15 21:31:37 +04:00
Update kernel patches for 2.4.27/2.4.28-pre-4 (includes minor fixes).
Add --noheadings columns option for colon-separated dmsetup output.
Support device referencing by uuid or major/minor.
Warn if kernel data didn't fit in buffer.
2004-10-01 23:07:41 +04:00
Fix a printf.
2004-07-03 22:29:48 +04:00
2004-07-03 22:17:32 +04:00
Version 1.00.19 - 3 July 2004
=============================
2004-07-03 22:17:32 +04:00
More autoconf fixes.
Fix a dmsetup newline.
Fix device number handling for 2.6 kernels.
Version 1.00.18 - 20 Jun 2004
2004-06-09 00:34:40 +04:00
=============================
Fix a uuid free in libdm-iface.
Fix a targets string size calc in driver.
Add -c to dmsetup for column-based output.
2004-06-09 00:34:40 +04:00
Add target message-passing ioctl.
Version 1.00.17 - 17 Apr 2004
=============================
configure --with-owner= --with-group= to avoid -o and -g args to 'install'
2004-04-19 18:01:23 +04:00
Fix library selinux linking.
Version 1.00.16 - 16 Apr 2004
=============================
Ignore error setting selinux file context if fs doesn't support it.
Version 1.00.15 - 7 Apr 2004
============================
Fix status overflow check in kernel patches.
2004-04-07 00:32:02 +04:00
Version 1.00.14 - 6 Apr 2004
============================
Fix static selinux build.
2004-04-06 22:57:13 +04:00
Version 1.00.13 - 6 Apr 2004
============================
Add some basic selinux support.
2004-04-06 16:06:55 +04:00
Version 1.00.12 - 6 Apr 2004
2004-04-06 22:57:13 +04:00
============================
2004-04-06 16:06:55 +04:00
Fix dmsetup.static install.
2004-04-06 00:51:42 +04:00
Version 1.00.11 - 5 Apr 2004
2004-04-06 22:57:13 +04:00
============================
2004-04-06 00:51:42 +04:00
configure --enable-static_link does static build in addition to dynamic.
Moved Makefile library targets definition into template.
2004-04-02 20:47:43 +04:00
Version 1.00.10 - 2 Apr 2004
============================
Fix DESTDIR handling.
Static build installs to dmsetup.static.
Basic support for internationalisation.
Minor Makefile tidy-ups/fixes.
2004-04-01 00:09:56 +04:00
Version 1.00.09 - 31 Mar 2004
=============================
2004-03-30 23:12:42 +04:00
Update copyright notices to Red Hat.
Move full mknodes functionality from dmsetup into libdevmapper.
Avoid sscanf %as for uClibc compatibility.
2004-04-01 00:09:56 +04:00
Cope if DM_LIST_VERSIONS is not defined.
Add DM_LIST_VERSIONS functionality to kernel patches.
Generate new kernel patches for 2.4.26-rc1.
2004-03-30 23:12:42 +04:00
2004-02-28 01:36:13 +03:00
Version 1.00.08 - 27 Feb 2004
2004-04-01 00:09:56 +04:00
=============================
2004-02-28 01:36:13 +03:00
Added 'dmsetup targets'.
Added event_nr support to 'dmsetup wait'.
Updated dmsetup man page.
Allow logging function to be reset to use internal one.
Bring log macros in line with LVM2 ones.
Added 'make install_static_lib' which installs libdevmapper.a.
Made configure/makefiles closer to LVM2 versions.
Fixed DESTDIR for make install/install_static_lib.
Updated README/INSTALL to reflect move to sources.redhat.com.
Updated autoconf files to 2003-06-17.