1Version 1.02.30 - 26th January 2009 2==================================== 3 Add "all" field to reports expanding to all fields of report type. 4 Enforce device name length and character limitations in libdm. 5 Replace _dm_snprintf with EMIT_PARAMS macro for creating target lines. 6 7Version 1.02.29 - 10th November 2008 8==================================== 9 Merge device-mapper into the LVM2 tree. 10 Split out dm-logging.h from log.h. 11 Use lvm-types.h. 12 Add usrsbindir to configure. 13 14Version 1.02.28 - 18th September 2008 15===================================== 16 Only resume devices in dm_tree_preload_children if size changes. 17 Extend deptree buffers so the largest possible device numbers fit. 18 Generate versioned libdevmapper-event.so. 19 Underline longer report help text headings. 20 21Version 1.02.27 - 25th June 2008 22================================ 23 Align struct memblock in dbg_malloc for sparc. 24 Add --unquoted and --rows to dmsetup. 25 Avoid compiler warning about cast in dmsetup.c's OFFSET_OF macro. 26 Fix inverted no_flush debug message. 27 Remove --enable-jobs from configure. (Set at runtime instead.) 28 Bring configure.in and list.h into line with the lvm2 versions. 29 30Version 1.02.26 - 6th June 2008 31=============================== 32 Initialise params buffer to empty string in _emit_segment. 33 Skip add_dev_node when ioctls disabled. 34 Make dm_hash_iter safe against deletion. 35 Accept a NULL pointer to dm_free silently. 36 Add tables_loaded, readonly and suspended columns to reports. 37 Add --nameprefixes to dmsetup. 38 Add field name prefix option to reporting functions. 39 Calculate string size within dm_pool_grow_object. 40 41Version 1.02.25 - 10th April 2008 42================================= 43 Remove redundant if-before-free tests. 44 Use log_warn for reporting field help text instead of log_print. 45 Change cluster mirror log type name (s/clustered_/clustered-/) 46 47Version 1.02.24 - 20th December 2007 48==================================== 49 Fix deptree to pass new name to _resume_node after a rename. 50 Suppress other node operations if node is deleted. 51 Add node operation stack debug messages. 52 Report error when empty device name passed to readahead functions. 53 Fix minimum readahead debug message. 54 55Version 1.02.23 - 5th December 2007 56=================================== 57 Update dm-ioctl.h after removal of compat code. 58 Add readahead support to libdevmapper and dmsetup. 59 Fix double free in a libdevmapper-event error path. 60 Fix configure --with-dmeventd-path substitution. 61 Allow a DM_DEV_DIR environment variable to override /dev in dmsetup. 62 Create a libdevmapper.so.$LIB_VERSION symlink within the build tree. 63 Avoid static link failure with some SELinux libraries that require libpthread. 64 Remove obsolete dmfs code from tree and update INSTALL. 65 66Version 1.02.22 - 21st August 2007 67================================== 68 Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 69 Update to use autoconf 2.61, while still supporting 2.57. 70 Avoid repeated dm_task free on some dm_event_get_registered_device errors. 71 Introduce log_sys_* macros from LVM2. 72 Export dm_fclose and dm_create_dir; remove libdm-file.h. 73 Don't log EROFS mkdir failures in _create_dir_recursive (for LVM2). 74 Add fclose wrapper dm_fclose that catches write failures (using ferror). 75 76Version 1.02.21 - 13th July 2007 77================================ 78 Introduce _LOG_STDERR to send log_warn() messages to stderr not stdout. 79 Fix dmsetup -o devno string termination. (1.02.20) 80 81Version 1.02.20 - 15th June 2007 82================================ 83 Fix default dmsetup report buffering and add --unbuffered. 84 Add tree-based and dependency fields to dmsetup reports. 85 86Version 1.02.19 - 27th April 2007 87================================= 88 Standardise protective include file #defines. 89 Add regex functions to library. 90 Avoid trailing separator in reports when there are hidden sort fields. 91 Fix segfault in 'dmsetup status' without --showkeys against crypt target. 92 Deal with some more compiler warnings. 93 Introduce _add_field() and _is_same_field() to libdm-report.c. 94 Fix some libdevmapper-event and dmeventd memory leaks. 95 Remove unnecessary memset() return value checks. 96 Fix a few leaks in reporting error paths. [1.02.15+] 97 98Version 1.02.18 - 13th February 2007 99==================================== 100 Improve dmeventd messaging protocol: drain pipe and tag messages. 101 102Version 1.02.17 - 29th January 2007 103=================================== 104 Add recent reporting options to dmsetup man page. 105 Revise some report fields names. 106 Add dmsetup 'help' command and update usage text. 107 Use fixed-size fields in report interface and reorder. 108 109Version 1.02.16 - 25th January 2007 110=================================== 111 Add some missing close() and fclose() return value checks. 112 Migrate dmsetup column-based output over to new libdevmapper report framework. 113 Add descriptions to reporting field definitions. 114 Add a dso-private variable to dmeventd dso interface. 115 Add dm_event_handler_[gs]et_timeout functions. 116 Streamline dm_report_field_* interface. 117 Add cmdline debug & version options to dmeventd. 118 Add DM_LIB_VERSION definition to configure.h. 119 Suppress 'Unrecognised field' error if report field is 'help'. 120 Add --separator and --sort to dmsetup (unused). 121 Make alignment flag optional when specifying report fields. 122 123Version 1.02.15 - 17th January 2007 124=================================== 125 Add basic reporting functions to libdevmapper. 126 Fix a malloc error path in dmsetup message. 127 More libdevmapper-event interface changes and fixes. 128 Rename dm_saprintf() to dm_asprintf(). 129 Report error if NULL pointer is supplied to dm_strdup_aux(). 130 Reinstate dm_event_get_registered_device. 131 132Version 1.02.14 - 11th January 2007 133=================================== 134 Add dm_saprintf(). 135 Use CFLAGS when linking so mixed sparc builds can supply -m64. 136 Add dm_tree_use_no_flush_suspend(). 137 Lots of dmevent changes including revised interface. 138 Export dm_basename(). 139 Cope with a trailing space when comparing tables prior to possible reload. 140 Fix dmeventd to cope if monitored device disappears. 141 142Version 1.02.13 - 28 Nov 2006 143============================= 144 Update dmsetup man page (setgeometry & message). 145 Fix dmsetup free after getline with debug. 146 Suppress encryption key in 'dmsetup table' output unless --showkeys supplied. 147 148Version 1.02.12 - 13 Oct 2006 149============================= 150 Avoid deptree attempting to suspend a device that's already suspended. 151 152Version 1.02.11 - 12 Oct 2006 153============================== 154 Add suspend noflush support. 155 Add basic dmsetup loop support. 156 Switch dmsetup to use dm_malloc and dm_free. 157 158Version 1.02.10 - 19 Sep 2006 159============================= 160 Add dm_snprintf(), dm_split_words() and dm_split_lvm_name() to libdevmapper. 161 Reorder mm bounds_check code to reduce window for a dmeventd race. 162 163Version 1.02.09 - 15 Aug 2006 164============================= 165 Add --table argument to dmsetup for a one-line table. 166 Abort if errors are found during cmdline option processing. 167 Add lockfs indicator to debug output. 168 169Version 1.02.08 - 17 July 2006 170============================== 171 Append full patch to check in emails. 172 Avoid duplicate dmeventd subdir with 'make distclean'. 173 Update dmsetup man page. 174 Add --force to dmsetup remove* to load error target. 175 dmsetup remove_all also performs mknodes. 176 Don't suppress identical table reloads if permission changes. 177 Fix corelog segment line. 178 Suppress some compiler warnings. 179 180Version 1.02.07 - 11 May 2006 181============================= 182 Add DM_CORELOG flag to dm_tree_node_add_mirror_target(). 183 Avoid a dmeventd compiler warning. 184 185Version 1.02.06 - 10 May 2006 186============================= 187 Move DEFS into configure.h. 188 Fix leaks in error paths found by coverity. 189 Remove dmsetup line buffer limitation. 190 191Version 1.02.05 - 19 Apr 2006 192============================= 193 Separate install_include target in makefiles. 194 Separate out DEFS from CFLAGS. 195 Support pkg-config. 196 Check for libsepol. 197 198Version 1.02.04 - 14 Apr 2006 199============================= 200 Bring dmsetup man page up-to-date. 201 Use name-based device refs if kernel doesn't support device number refs. 202 Fix memory leak (struct dm_ioctl) when struct dm_task is reused. 203 If _create_and_load_v4 fails part way through, revert the creation. 204 dmeventd thread/fifo fixes. 205 Add file & line to dm_strdup_aux(). 206 Add setgeometry. 207 208Version 1.02.03 - 7 Feb 2006 209============================ 210 Add exported functions to set uid, gid and mode. 211 Rename _log to dm_log and export. 212 Add dm_tree_skip_lockfs. 213 Fix dm_strdup debug definition. 214 Fix hash function to avoid using a negative array offset. 215 Don't inline _find in hash.c and tidy signed/unsigned etc. 216 Fix libdevmapper.h #endif. 217 Fix dmsetup version driver version. 218 Add sync, nosync and block_on_error mirror log parameters. 219 Add hweight32. 220 Fix dmeventd build. 221 222Version 1.02.02 - 2 Dec 2005 223============================ 224 dmeventd added. 225 Export dm_task_update_nodes. 226 Use names instead of numbers in messages when ioctls fail. 227 228Version 1.02.01 - 23 Nov 2005 229============================= 230 Resume snapshot-origins last. 231 Drop leading zeros from dm_format_dev. 232 Suppress attempt to reload identical table. 233 Additional LVM- prefix matching for transitional period. 234 235Version 1.02.00 - 10 Nov 2005 236============================= 237 Added activation functions to library. 238 Added return macros. 239 Also suppress error if device doesn't exist with DM_DEVICE_STATUS. 240 Export dm_set_selinux_context(). 241 Add dm_driver_version(). 242 Added dependency tree functions to library. 243 Added hash, bitset, pool, dbg_malloc to library. 244 Added ls --tree to dmsetup. 245 Added dmsetup --nolockfs support for suspend/reload. 246 247Version 1.01.05 - 26 Sep 2005 248============================= 249 Resync list.h with LVM2. 250 Remember increased buffer size and use for subsequent calls. 251 On 'buffer full' condition, double buffer size and repeat ioctl. 252 Fix termination of getopt_long() option array. 253 Report 'buffer full' condition with v4 ioctl as well as with v1. 254 255Version 1.01.04 - 2 Aug 2005 256============================ 257 Fix dmsetup ls -j and status --target with empty table. 258 259Version 1.01.03 - 13 Jun 2005 260============================= 261 Use matchpathcon mode parameter. 262 Fix configure script to re-enable selinux. 263 264Version 1.01.02 - 17 May 2005 265============================= 266 Call dm_lib_exit() and dm_lib_release() automatically now. 267 Add --target <target_type> filter to dmsetup table/status/ls. 268 Add --exec <command> to dmsetup ls. 269 Fix dmsetup getopt_long usage. 270 271Version 1.01.01 - 29 Mar 2005 272============================= 273 Update dmsetup man page. 274 Drop-in devmap_name replacement. 275 Add option to compile without ioctl for testing. 276 Fix DM_LIB_VERSION sed. 277 278Version 1.01.00 - 17 Jan 2005 279============================= 280 Add dm_task_no_open_count() to skip getting open_count. 281 282Version 1.00.21 - 7 Jan 2005 283============================ 284 Fix /proc/devices parsing. 285 286Version 1.00.20 - 6 Jan 2005 287============================ 288 Attempt to fix /dev/mapper/control transparently if it's wrong. 289 Configuration-time option for setting uid/gid/mode for /dev/mapper nodes. 290 Update kernel patches for 2.4.27/2.4.28-pre-4 (includes minor fixes). 291 Add --noheadings columns option for colon-separated dmsetup output. 292 Support device referencing by uuid or major/minor. 293 Warn if kernel data didn't fit in buffer. 294 Fix a printf. 295 296Version 1.00.19 - 3 July 2004 297============================= 298 More autoconf fixes. 299 Fix a dmsetup newline. 300 Fix device number handling for 2.6 kernels. 301 302Version 1.00.18 - 20 Jun 2004 303============================= 304 Fix a uuid free in libdm-iface. 305 Fix a targets string size calc in driver. 306 Add -c to dmsetup for column-based output. 307 Add target message-passing ioctl. 308 309Version 1.00.17 - 17 Apr 2004 310============================= 311 configure --with-owner= --with-group= to avoid -o and -g args to 'install' 312 Fix library selinux linking. 313 314Version 1.00.16 - 16 Apr 2004 315============================= 316 Ignore error setting selinux file context if fs doesn't support it. 317 318Version 1.00.15 - 7 Apr 2004 319============================ 320 Fix status overflow check in kernel patches. 321 322Version 1.00.14 - 6 Apr 2004 323============================ 324 Fix static selinux build. 325 326Version 1.00.13 - 6 Apr 2004 327============================ 328 Add some basic selinux support. 329 330Version 1.00.12 - 6 Apr 2004 331============================ 332 Fix dmsetup.static install. 333 334Version 1.00.11 - 5 Apr 2004 335============================ 336 configure --enable-static_link does static build in addition to dynamic. 337 Moved Makefile library targets definition into template. 338 339Version 1.00.10 - 2 Apr 2004 340============================ 341 Fix DESTDIR handling. 342 Static build installs to dmsetup.static. 343 Basic support for internationalisation. 344 Minor Makefile tidy-ups/fixes. 345 346Version 1.00.09 - 31 Mar 2004 347============================= 348 Update copyright notices to Red Hat. 349 Move full mknodes functionality from dmsetup into libdevmapper. 350 Avoid sscanf %as for uClibc compatibility. 351 Cope if DM_LIST_VERSIONS is not defined. 352 Add DM_LIST_VERSIONS functionality to kernel patches. 353 Generate new kernel patches for 2.4.26-rc1. 354 355Version 1.00.08 - 27 Feb 2004 356============================= 357 Added 'dmsetup targets'. 358 Added event_nr support to 'dmsetup wait'. 359 Updated dmsetup man page. 360 Allow logging function to be reset to use internal one. 361 Bring log macros in line with LVM2 ones. 362 Added 'make install_static_lib' which installs libdevmapper.a. 363 Made configure/makefiles closer to LVM2 versions. 364 Fixed DESTDIR for make install/install_static_lib. 365 Updated README/INSTALL to reflect move to sources.redhat.com. 366 Updated autoconf files to 2003-06-17. 367