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. Version 1.02.27 - 25th June 2008 ================================ Align struct memblock in dbg_malloc for sparc. Add --unquoted and --rows to dmsetup. Avoid compiler warning about cast in dmsetup.c's OFFSET_OF macro. Fix inverted no_flush debug message. Remove --enable-jobs from configure. (Set at runtime instead.) Bring configure.in and list.h into line with the lvm2 versions. 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. Add --nameprefixes to dmsetup. Add field name prefix option to reporting functions. Calculate string size within dm_pool_grow_object. Version 1.02.25 - 10th April 2008 ================================= 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-/) 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. Fix minimum readahead debug message. Version 1.02.23 - 5th December 2007 =================================== Update dm-ioctl.h after removal of compat code. Add readahead support to libdevmapper and dmsetup. Fix double free in a libdevmapper-event error path. Fix configure --with-dmeventd-path substitution. Allow a DM_DEV_DIR environment variable to override /dev in dmsetup. 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. 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. 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. Don't log EROFS mkdir failures in _create_dir_recursive (for LVM2). Add fclose wrapper dm_fclose that catches write failures (using ferror). Version 1.02.21 - 13th July 2007 ================================ Introduce _LOG_STDERR to send log_warn() messages to stderr not stdout. Fix dmsetup -o devno string termination. (1.02.20) Version 1.02.20 - 15th June 2007 ================================ Fix default dmsetup report buffering and add --unbuffered. Add tree-based and dependency fields to dmsetup reports. Version 1.02.19 - 27th April 2007 ================================= Standardise protective include file #defines. 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. 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+] Version 1.02.18 - 13th February 2007 ==================================== Improve dmeventd messaging protocol: drain pipe and tag messages. Version 1.02.17 - 29th January 2007 =================================== Add recent reporting options to dmsetup man page. Revise some report fields names. Add dmsetup 'help' command and update usage text. Use fixed-size fields in report interface and reorder. Version 1.02.16 - 25th January 2007 =================================== 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. Version 1.02.15 - 17th January 2007 =================================== 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. Version 1.02.14 - 11th January 2007 =================================== Add dm_saprintf(). Use CFLAGS when linking so mixed sparc builds can supply -m64. Add dm_tree_use_no_flush_suspend(). 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. Version 1.02.13 - 28 Nov 2006 ============================= Update dmsetup man page (setgeometry & message). Fix dmsetup free after getline with debug. Suppress encryption key in 'dmsetup table' output unless --showkeys supplied. Version 1.02.12 - 13 Oct 2006 ============================= Avoid deptree attempting to suspend a device that's already suspended. Version 1.02.11 - 12 Oct 2006 ============================== Add suspend noflush support. Add basic dmsetup loop support. Switch dmsetup to use dm_malloc and dm_free. Version 1.02.10 - 19 Sep 2006 ============================= Add dm_snprintf(), dm_split_words() and dm_split_lvm_name() to libdevmapper. Reorder mm bounds_check code to reduce window for a dmeventd race. Version 1.02.09 - 15 Aug 2006 ============================= Add --table argument to dmsetup for a one-line table. Abort if errors are found during cmdline option processing. Add lockfs indicator to debug output. Version 1.02.08 - 17 July 2006 ============================== 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. Version 1.02.07 - 11 May 2006 ============================= Add DM_CORELOG flag to dm_tree_node_add_mirror_target(). Avoid a dmeventd compiler warning. Version 1.02.06 - 10 May 2006 ============================= Move DEFS into configure.h. Fix leaks in error paths found by coverity. Remove dmsetup line buffer limitation. Version 1.02.05 - 19 Apr 2006 ============================= Separate install_include target in makefiles. Separate out DEFS from CFLAGS. Support pkg-config. Check for libsepol. Version 1.02.04 - 14 Apr 2006 ============================= 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. dmeventd thread/fifo fixes. Add file & line to dm_strdup_aux(). Add setgeometry. Version 1.02.03 - 7 Feb 2006 ============================ Add exported functions to set uid, gid and mode. Rename _log to dm_log and export. Add dm_tree_skip_lockfs. 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. Fix dmsetup version driver version. Add sync, nosync and block_on_error mirror log parameters. Add hweight32. Fix dmeventd build. Version 1.02.02 - 2 Dec 2005 ============================ dmeventd added. Export dm_task_update_nodes. Use names instead of numbers in messages when ioctls fail. Version 1.02.01 - 23 Nov 2005 ============================= Resume snapshot-origins last. Drop leading zeros from dm_format_dev. Suppress attempt to reload identical table. Additional LVM- prefix matching for transitional period. Version 1.02.00 - 10 Nov 2005 ============================= Added activation functions to library. Added return macros. Also suppress error if device doesn't exist with DM_DEVICE_STATUS. Export dm_set_selinux_context(). Add dm_driver_version(). Added dependency tree functions to library. Added hash, bitset, pool, dbg_malloc to library. Added ls --tree to dmsetup. Added dmsetup --nolockfs support for suspend/reload. Version 1.01.05 - 26 Sep 2005 ============================= 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. Version 1.01.04 - 2 Aug 2005 ============================ Fix dmsetup ls -j and status --target with empty table. Version 1.01.03 - 13 Jun 2005 ============================= Use matchpathcon mode parameter. Fix configure script to re-enable selinux. Version 1.01.02 - 17 May 2005 ============================= Call dm_lib_exit() and dm_lib_release() automatically now. Add --target filter to dmsetup table/status/ls. Add --exec to dmsetup ls. Fix dmsetup getopt_long usage. Version 1.01.01 - 29 Mar 2005 ============================= Update dmsetup man page. Drop-in devmap_name replacement. Add option to compile without ioctl for testing. Fix DM_LIB_VERSION sed. Version 1.01.00 - 17 Jan 2005 ============================= Add dm_task_no_open_count() to skip getting open_count. Version 1.00.21 - 7 Jan 2005 ============================ Fix /proc/devices parsing. 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. 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. Fix a printf. Version 1.00.19 - 3 July 2004 ============================= More autoconf fixes. Fix a dmsetup newline. Fix device number handling for 2.6 kernels. Version 1.00.18 - 20 Jun 2004 ============================= Fix a uuid free in libdm-iface. Fix a targets string size calc in driver. Add -c to dmsetup for column-based output. 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' 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. Version 1.00.14 - 6 Apr 2004 ============================ Fix static selinux build. Version 1.00.13 - 6 Apr 2004 ============================ Add some basic selinux support. Version 1.00.12 - 6 Apr 2004 ============================ Fix dmsetup.static install. Version 1.00.11 - 5 Apr 2004 ============================ configure --enable-static_link does static build in addition to dynamic. Moved Makefile library targets definition into template. 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. Version 1.00.09 - 31 Mar 2004 ============================= Update copyright notices to Red Hat. Move full mknodes functionality from dmsetup into libdevmapper. Avoid sscanf %as for uClibc compatibility. 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. Version 1.00.08 - 27 Feb 2004 ============================= 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.