]> sourceware.org Git - lvm2.git/blob - WHATS_NEW_DM
Added dm_tree_node_set_callback() for preload and deactivation hooks
[lvm2.git] / WHATS_NEW_DM
1 Version 1.02.73 -
2 ====================================
3 Added dm_tree_node_set_callback() for preload and deactivation hooks.
4 Drop unsupported TRIM message for thin pool.
5 Improve logging for fifo startup in dmeventd.
6 Add few pointer validation in dmsetup.
7 Support dm_task_get_driver_version() query without version string.
8 Log failure of pthread_join when cleaning unused threads in dmeventd.
9 Fix empty string warning logic in _find_config_str. (1.02.68)
10 Fix dm_task_set_name to properly resolve path to dm name (1.02.71).
11 Add dm_strncpy() function as a faster strncpy() replacement.
12
13 Version 1.02.72 - 23rd February 2012
14 ====================================
15 Avoid memory reallocation for dm_asprintf.
16
17 Version 1.02.71 - 20th February 2012
18 ====================================
19 Switch to using built-in blkid in 13-dm-disk.rules.
20 Add "watch" rule to 13-dm-disk.rules.
21 Detect failing fifo and skip 20s retry communication period.
22 Add DM_DEFAULT_NAME_MANGLING_MODE environment variable as an override.
23 Add dm_lib_init to automatically initialise device-mapper library on load.
24 Replace any '\' char with '\\' in dm table specification on input.
25 Add mangle command to dmsetup to provide renaming to correct mangled form.
26 Add 'mangled_name' and 'unmangled_name' fields to dmsetup info -c -o.
27 Add --manglename option to dmsetup to select the name mangling mode.
28 Add dm_task_get_name_mangled/unmangled to libdevmapper.
29 Mangle device name on dm_task_set_name/newname call if necessary.
30 Add dm_set/get_name_mangling_mode to set/get name mangling in libdevmapper.
31 Add configure --with-default-name-mangling for udev-friendly dev name charset.
32 Test for parsed words in _umount() dmeventd snapshot plugin.
33 Fix memory leak in fail path of parse_loop_device_name() in dmsetup.
34 Check for missing reply_uuid in dm_event_get_registered_device().
35 Check for allocation failure in dmeventd restart().
36 Add few missing allocation failures tests in dmsetup.
37 Fix potential risk of writing in front of buffer in _sysfs_get_dm_name().
38
39 Version 1.02.70 - 12th February 2012
40 ====================================
41 Fix dm_event_get_version() check.
42 Add pointer test for dependency check in _add_dev().
43 Validate name and uuid params of dm_tree_add_new_dev_with_udev_flags().
44 Do not crash for dm_report_init() sort_key == NULL and behave like "".
45 Return error for failing allocation in dm_asprintf().
46 Add missing test for failing allocation in dm_realloc() code.
47 Add test for memory allocation failures in regex matcher code.
48 Simplify dm_task_set_geometry() and use dm_asprintf().
49 Set all parameters to 0 for dm_get_next_target() for NULL return.
50 Fix fd resource leak in error path for _udev_notify_sem_create().
51 Leave space for '\0' for readline() call in _sysfs_get_kernel_name().
52
53 Version 1.02.69 - 1st February 2012
54 ===================================
55 Clean up dmeventd systemd unit ordering and requirements.
56
57 Version 1.02.68 - 26th January 2012
58 ===================================
59 Reset all members of info struct in dm_tree_add_new_dev_with_udev_flags.
60 Add dmsetup wipe_table to replace table with one that uses error target.
61 Add 'blkdevname' and 'blkdevs_used' fields to dmsetup info -c -o.
62 Add 'blkdevname' option to dmsetup ls --tree to see block device names.
63 Add -o devno/blkdevname/devname to dmsetup deps and ls.
64 Add dm_device_get_name to get map name or block device name for given devno.
65 Remove empty devices when clearing left-over inactive tables in deptree.
66 Add dm_uuid_prefix/dm_set_uuid_prefix to override hard-coded LVM- prefix.
67 Improve dmsetup man page description of readahead parameter.
68 Use sysfs to set/get readahead if possible.
69 Fix lvm2-monitor init script to use normalized output when using vgs.
70 Add test for max length (DM_MAX_TYPE_NAME) of target type name.
71 Include a copy of kernel DM documentation in doc/kernel.
72 Improve man page style for dmsetup and mention more targets.
73 Fix _get_proc_number to be tolerant of malformed /proc/misc entries.
74 Fix missing thread list manipulation protection in dmeventd.
75 Add ExecReload to dm-event.service for systemd to reload dmeventd properly.
76 Add dm_config_tree_find_str_allow_empty and dm_config_find_str_allow_empty.
77 Fix compile-time pool memory locking with DEBUG_MEM.
78 Fix valgrind error reports in free of pool chunks with DEBUG_MEM.
79 Align size of structure chunk for fast pool allocator to 8 bytes.
80 Simplify some pointer operations in dm_free_aux() debug code.
81 Remove unused dbg_malloc.h file from source tree.
82 Cleanup backtraces for _create_and_load_v4().
83 Fix alignment warning in bitcount calculation for raid segment.
84 Allocate dm_tree structure from dm_tree pool.
85 Update debug logging for _resume_node.
86 Add functions to support thin provisioning target.
87 Improve libdm-config error path reporting.
88 Update dmsetup resume man with --addnodeonresume/create options.
89 Add dependency for dm man pages to man subdirectory make all target.
90 Add dm_tree_retry_remove to use retry logic for device removal in a dm_tree.
91 Add dm_device_has_mounted_fs fn to check mounted filesystem on a device.
92 Add dm_device_has_holders fn to to check use of the device by another device.
93 Add dm_sysfs_dir to libdevmapper to retrieve sysfs location set.
94 Add dm_set_sysfs_dir to libdevmapper to set sysfs location.
95 Add --retry option for dmsetup remove to retry removal if not successful.
96 Add dm_task_retry_remove fn to use retry logic for device removal.
97 Remove unused passed parameters for _mirror_emit_segment_line().
98 Add dm_config and string character escaping functions to libdevmapper.
99 Mark unreleased memory pools as internal error.
100
101 Version 1.02.67 - 19th August 2011
102 ==================================
103 Add dm_tree_node_add_null_area for temporarily-missing raid devs tracked.
104
105 Version 1.02.66 - 12th August 2011
106 ==================================
107 Release geometry buffer in dm_task_destroy.
108 Update udev rules to skip DM flags decoding for removed devices.
109 Add compile-time pool memory locking options (to debug shared VG structs).
110 Remove device name prefix from dmsetup line output if -j & -m or -u supplied.
111 Remove support for the original version 1 dm ioctls.
112 Add missing check for allocation failure _create_dir_recursive().
113 Add support for systemd file descriptor handover in dmeventd.
114 Fix memory leak in dmsetup _message() memory allocation error path.
115 Use new oom killer adjustment interface (oom_score_adj) when available.
116 Add systemd unit files for dmeventd.
117 Fix read-only identical table reload supression.
118
119 Version 1.02.65 - 8th July 2011
120 ===============================
121 Remove dev name prefix from dmsetup line output if exactly one dev requested.
122 Report internal error if suspending a device using an already-suspended dev.
123 Report error if a table load requiring target parameters has none supplied.
124 Add dmsetup --checks and dm_task_enable_checks framework to validate ioctls.
125 Add age_in_minutes parameter to dmsetup udevcomplete_all.
126 Return immediately from dm_lib_exit() if called more than once.
127 Disable udev fallback by default and add --verifyudev option to dmsetup.
128 Report internal error if any table is loaded while any dev is known suspended.
129 Add dm_get_suspended_counter() for number of devs in suspended state by lib.
130 Fix "all" report field prefix matching to include label fields with pv_all.
131 Delay resuming new preloaded mirror devices with core logs in deptree code.
132 Accept new kernel version 3 uname formats in initialisation.
133
134 Version 1.02.64 - 29th April 2011
135 ==================================
136 Require libudev >= 143 when compiling with udev support.
137 Use word alignment for dm_pool_strdup() and dm_pool_strndup().
138 Use dm_snprintf() to fix signedness warning in dm_set_dev_dir().
139 Use unsigned loop counter to fix signedness warning in _other_node_ops().
140 Fix const cast in dmsetup calls of dm_report_field_string().
141 Streamline /dev/mapper/control node code for common cases.
142 Use hard-coded dm control node device number for 2.6.36 kernels and above.
143 Improve stack debug reporting in dm_task_create().
144 Fallback to control node creation only if node doesn't exist yet.
145 Change dm_hash binary functions to take void *key instead of char *.
146 Fix uninitialised memory use with empty params in _reload_with_suppression_v4.
147 Lower severity of selabel_lookup and matchpathcon failure to log_debug.
148 Add test for failed allocation from dm_task_set_uuid() in dmeventd.
149 Add dm_event_get_version to dmeventd for use with -R.
150 Avoid dmeventd core dumps when handling request with unknown command ID.
151 Have dmeventd -R start up even when no existing copy is running.
152 Accept multiple mapped device names on many dmsetup command lines.
153 Fix dm_udev_wait calls in dmsetup to occur before readahead display not after.
154 Include an implicit dm_task_update_nodes() within dm_udev_wait().
155 Fix _create_and_load_v4 not to lose the --addnodeoncreate setting (1.02.62).
156 Add inactive table query support for kernel driver >= 4.11.6 (RHEL 5.7).
157 Log debug open_count in _node_has_closed_parents().
158 Add a const to dm_report_field_string() data parameter.
159
160 Version 1.02.63 - 9th February 2011
161 ===================================
162 Reinstate DEBUG_MEM as it's part of the API. (1.02.62)
163
164 Version 1.02.62 - 4th February 2011
165 ===================================
166 Add configure --with-device-nodes-on=create for previous behaviour.
167 Move creation of device nodes from 'create' to 'resume'.
168 Add --addnodeonresume and --addnodeoncreate options to dmsetup.
169 Add dm_task_set_add_node to libdevmapper to control dev node creation time.
170 Add dm_task_secure_data to libdevmapper to wipe ioctl buffers in kernel.
171 Log debug message when expected uevent is not generated.
172 Only compile memory debugging code when DEBUG_MEM is set.
173 Set DM_UDEV_DISABLE_OTHER_RULES_FLAG for suspended DM devices in udev rules.
174 Begin a new pool object for each row in _output_as_rows() correctly.
175
176 Version 1.02.61 - 10th January 2011
177 ===================================
178 Add DM_COOKIE_AUTO_CREATE to libdevmapper.h.
179 Export DM_CONTROL_NODE_UMASK and use it while creating /dev/mapper/control.
180
181 Version 1.02.60 - 20th December 2010
182 ====================================
183 Check for unlink failure in remove_lockfile() in dmeventd.
184 Use dm_free for dm_malloc-ed areas in _clog_ctr/_clog_dtr in cmirrord.
185 Use char* arithmetic in _process_all() & _targets() in dmsetup.
186 Change dm_regex_create() API to accept const char * const *patterns.
187 Add new dm_prepare_selinux_context fn to libdevmapper and use it throughout.
188 Detect existence of new SELinux selabel interface during configure.
189
190 Version 1.02.59 - 6th December 2010
191 ===================================
192 Add backtraces to _process_mapper_dir and _create_and_load_v4 error paths.
193 Remove superfluous checks for NULL before calling dm_free.
194
195 Version 1.02.58 - 22nd November 2010
196 ====================================
197 Fix _output_field crash from field_id free with DEBUG_MEM. (1.02.57)
198
199 Version 1.02.57 - 8th November 2010
200 ===================================
201 Fix regex optimiser not to ignore RHS of OR nodes in _find_leftmost_common.
202 Add dmeventd -R to restart dmeventd without losing monitoring state. (1.02.56)
203 Fix memory leak of field_id in _output_field function.
204 Allocate buffer for reporting functions dynamically to support long outputs.
205
206 Version 1.02.56 - 25th October 2010
207 ===================================
208 Return const pointer from dm_basename() in libdevmapper.
209 Implement dmeventd -R to restart without state loss.
210 Add dm_zalloc and use it and dm_pool_zalloc throughout.
211 Add --setuuid to dmsetup rename.
212 Add dm_task_set_newuuid to set uuid of mapped device post-creation.
213
214 Version 1.02.55 - 24th September 2010
215 =====================================
216 Fix the way regions are marked complete to avoid slow --nosync cmirror I/O.
217 Add DM_REPORT_FIELD_TYPE_ID_LEN to libdevmapper.h.
218
219 Version 1.02.54 - 18th August 2010
220 ==================================
221 Fix dm-mod autoloading logic to not assume control node is set correctly.
222 Add dmeventd/executable to lvm.conf to test alternative dmeventd.
223 Export dm_event_handler_set_dmeventd_path to override built-in dmeventd path.
224 Generate libdevmapper-event exported symbols.
225 Remove superfluous NULL pointer tests before dm_free from dmeventd.
226 Assume dm-mod autoloading support is in kernel 2.6.36 and higher, not 2.6.35.
227 Fix udev rules to support udev database content generated by older rules.
228 Reinstate detection of inappropriate uevent with DISK_RO set and suppress it.
229 Fix regex ttree off-by-one error.
230 Add --enable-valgrind-pool to configure.
231 Fix segfault in regex matcher with characters of ordinal value > 127.
232 Fix 'void*' arithmetic warnings in dbg_malloc.c and libdm-iface.c.
233 Wait for node creation before displaying debug info in dmsetup.
234 Fix return status 0 for "dmsetup info -c -o help".
235 Add check for kernel semaphore support and disable udev_sync if not available.
236
237 Version 1.02.53 - 28th July 2010
238 ================================
239 Revert failed table load preparation after "create, load and resume".
240 Switch dmeventd to use dm_create_lockfile and drop duplicate code.
241 Add dm_create_lockfile to libdm to handle pidfiles for all daemons.
242 Replace lookup with next in struct dfa_state & calculate states on demand.
243 Improve the regex matcher, reducing the number of charset nodes used.
244 Add dm_regex_fingerprint to facilitate regex testing.
245 Skip ffs(0) in _test_word in bitset functions.
246 Use "nowatch" udev rule for inappropriate devices.
247
248 Version 1.02.52 - 6th July 2010
249 ===============================
250 Fix dmlosetup snprintf %llu compiler warning.
251 Add parentheses to some libdevmapper.h macro arguments.
252 Add printf format attributes to dm_{sn,as}printf and fix a caller.
253 Move dmeventd man page from install_lvm2 to install_device-mapper. (1.02.50)
254
255 Version 1.02.51 - 30th June 2010
256 ================================
257 Generate libdevmapper exported symbols from header file.
258
259 Version 1.02.50 - 23rd June 2010
260 ================================
261 Fix INTERNAL_ERROR typo in ioctl iface unknown task message.
262 Fix udev rules to handle spurious events properly.
263 Use C99 [] not [0] in dm_ulog_request struct to avoid abort when fortified.
264 Allow use of devmapper header file in C++ mode (extern "C" and __typeof__).
265 Add dmeventd man page.
266
267 Version 1.02.49 - 4th June 2010
268 ===============================
269 Support autoloading of dm-mod module for kernels from 2.6.35.
270 Document 'clear' in dmsetup man page.
271 Fix semctl parameter (union) to avoid misaligned parameter on some arches.
272 Add dm_tree_node_set_presuspend_node() to presuspend child when deactivating.
273 Initial support for replicator target.
274
275 Version 1.02.48 - 17th May 2010
276 ================================
277 Use -d to control level of messages sent to syslog by dmeventd.
278 Change -d to -f to run dmeventd in foreground.
279 Do not print encryption key in message debug output (cryptsetup luksResume).
280 Fix dmeventd static build library dependencies.
281 Fix udev flags on remove in create_and_load error path.
282
283 Version 1.02.47 - 30th April 2010
284 =================================
285 Add support for new IMPORT{db} udev rule.
286 Add DM_UDEV_PRIMARY_SOURCE_FLAG udev flag to recognize proper DM events.
287 Also include udev libs in libdevmapper.pc when udev_sync is enabled.
288 Cache bitset locations to speed up _calc_states.
289 Add a regex optimisation pass for shared prefixes and suffixes.
290 Add dm_bit_and and dm_bitset_equal to libdevmapper.
291 Simplify dm_bitset_create.
292 Speed up dm_bit_get_next with ffs().
293
294 Version 1.02.46 - 14th April 2010
295 =================================
296 Change dm_tree_deactivate_children to fail if device is open.
297 Wipe memory buffers for dm-ioctl parameters before releasing.
298 Strictly require libudev if udev_sync is used.
299 Add support for ioctl's DM_UEVENT_GENERATED_FLAG.
300
301 Version 1.02.45 - 9th March 2010
302 ================================
303 Add --showkeys parameter description to dmsetup man page.
304 Add --help option as synonym for help command.
305
306 Version 1.02.44 - 15th February 2010
307 ====================================
308 Add DM_UDEV_DISABLE_LIBRARY_FALLBACK udev flag to rely on udev only.
309 Export dm_udev_create_cookie function to create new cookies on demand.
310 Add --udevcookie, udevcreatecookie and udevreleasecookie to dmsetup.
311 Set udev state automatically instead of using DM_UDEV_DISABLE_CHECKING.
312
313 Version 1.02.43 - 21st January 2010
314 ===================================
315 Remove bitset, hash and pool headers superceded by libdevmapper.h.
316 Fix off-by-one error causing bad cluster mirror table construction.
317
318 Version 1.02.42 - 14th January 2010
319 ===================================
320 Add support for the "snapshot-merge" kernel target (2.6.33-rc1).
321 Introduce a third activation_priority level in dm_tree_activate_children.
322
323 Version 1.02.41 - 12th January 2010
324 ===================================
325 If DM_UDEV_DISABLE_CHECKING is set in environment, disable udev warnings.
326 Add dm_tree_add_dev_with_udev_flags to provide wider support for udev flags.
327 Add --noudevrules option for dmsetup to disable /dev node management by udev.
328 Fix 'dmsetup info -c -o all' to show all fields.
329 Return errors if dm_tree_*_children functions fail.
330 Fix coredump and memory leak for 'dmsetup help -c'.
331 Disable udev rules for change events with DISK_RO set.
332
333 Version 1.02.40 - 19th November 2009
334 ====================================
335 Fix install_device-mapper Makefile target to not build dmeventd plugins.
336 Support udev flags even when udev_sync is disabled or not compiled in.
337 Remove 'last_rule' from udev rules: honour DM_UDEV_DISABLE_OTHER_RULES_FLAG.
338 Add dmsetup --inactive support.
339 Add dm_task_query_inactive_table to libdevmapper for kernel driver >= 4.16.
340 Fix hash lookup segfault when keys compared are different lengths.
341
342 Version 1.02.39 - 26th October 2009
343 ===================================
344 Remove strict default permissions for DM devices from 95-dm-notify.rules.
345 Add dmsetup udevflags command to decode udev flags in given cookie value.
346 Support udev flags in libdevmapper incl. dm_tree_add_new_dev_with_udev_flags.
347 Make libdm ABI consistent when built with/without selinux support.
348
349 Version 1.02.38 - 25th September 2009
350 =====================================
351 Export DM_DEV_DIR_UMASK, the default umask for /dev directories created.
352 Handle any path supplied to dm_task_set_name by looking up in /dev/mapper.
353 Add several examples to 12-dm-permissions.rules.
354 Add splitname and --yes to dmsetup man page.
355 Fix _mirror_emit_segment_line return code.
356 Fix dmeventd _temporary_log_fn parameters. (2.02.50)
357
358 Version 1.02.37 - 15th September 2009
359 =====================================
360 Add dmsetup manpage entries for udevcomplete_all and udevcookies.
361 Check udev is running when processing cookies and retain state internally.
362 Add y|--yes option to dmsetup for default 'yes' answer to prompts.
363 Fix tools Makefile to process dmsetup sources separately.
364 Restore umask when device node creation fails.
365 Check kernel vsn to use 'block_on_error' or 'handle_errors' in mirror table.
366 Add dm-log-userspace.h to tree for cmirrord builds.
367
368 Version 1.02.36 - 6th August 2009
369 =================================
370 Add udevcookies, udevcomplete, udevcomplete_all and --noudevwait to dmsetup.
371 Add libdevmapper functions to support synchronisation with udev.
372
373 Version 1.02.35 - 28th July 2009
374 ================================
375 Add LOG_LINE_WITH_ERRNO macro.
376 Use log_error macro consistently throughout in place of log_err.
377
378 Version 1.02.34 - 15th July 2009
379 ================================
380 Use _exit() not exit() after forking to avoid flushing libc buffers twice.
381 Rename plog macro to LOG_LINE & add LOG_MESG variant for dm_dump_memory_debug.
382 Change plog to use dm_log_with_errno unless deprecated dm_log_init was used.
383 Add dm_log_with_errno and dm_log_with_errno_init, deprecating the old fns.
384 Fix whitespace in linear target line to fix identical table line detection.
385 Add device number to more log messages during activation.
386
387 Version 1.02.33 - 30th June 2009
388 ================================
389 Don't fallback to default major number: use dm_task_set_major_minor. (1.02.31)
390 Do not fork daemon when dmeventd cannot be found.
391 Add crypt target handling to libdevmapper tree nodes.
392 Add splitname command to dmsetup.
393 Add subsystem, vg_name, lv_name, lv_layer fields to dmsetup reports.
394 Make mempool optional in dm_split_lvm_name().
395
396 Version 1.02.32 - 21st May 2009
397 ===============================
398 Only generate libdevmapper.a when configured to link statically.
399 Export dm_tree_node_size_changed() from libdevmapper.
400 Propagate the table size_changed property up the dm device tree.
401 Detect failure to free memory pools when releasing the library.
402 Fix segfault when getopt processes dmsetup -U, -G and -M options.
403
404 Version 1.02.31 - 3rd March 2009
405 ================================
406 If kernel supports only one dm major number, use in place of any supplied.
407
408 Version 1.02.30 - 26th January 2009
409 ====================================
410 Add "all" field to reports expanding to all fields of report type.
411 Enforce device name length and character limitations in libdm.
412 Replace _dm_snprintf with EMIT_PARAMS macro for creating target lines.
413
414 Version 1.02.29 - 10th November 2008
415 ====================================
416 Merge device-mapper into the LVM2 tree.
417 Split out dm-logging.h from log.h.
418 Use lvm-types.h.
419 Add usrsbindir to configure.
420
421 Version 1.02.28 - 18th September 2008
422 =====================================
423 Only resume devices in dm_tree_preload_children if size changes.
424 Extend deptree buffers so the largest possible device numbers fit.
425 Generate versioned libdevmapper-event.so.
426 Underline longer report help text headings.
427
428 Version 1.02.27 - 25th June 2008
429 ================================
430 Align struct memblock in dbg_malloc for sparc.
431 Add --unquoted and --rows to dmsetup.
432 Avoid compiler warning about cast in dmsetup.c's OFFSET_OF macro.
433 Fix inverted no_flush debug message.
434 Remove --enable-jobs from configure. (Set at runtime instead.)
435 Bring configure.in and list.h into line with the lvm2 versions.
436
437 Version 1.02.26 - 6th June 2008
438 ===============================
439 Initialise params buffer to empty string in _emit_segment.
440 Skip add_dev_node when ioctls disabled.
441 Make dm_hash_iter safe against deletion.
442 Accept a NULL pointer to dm_free silently.
443 Add tables_loaded, readonly and suspended columns to reports.
444 Add --nameprefixes to dmsetup.
445 Add field name prefix option to reporting functions.
446 Calculate string size within dm_pool_grow_object.
447
448 Version 1.02.25 - 10th April 2008
449 =================================
450 Remove redundant if-before-free tests.
451 Use log_warn for reporting field help text instead of log_print.
452 Change cluster mirror log type name (s/clustered_/clustered-/)
453
454 Version 1.02.24 - 20th December 2007
455 ====================================
456 Fix deptree to pass new name to _resume_node after a rename.
457 Suppress other node operations if node is deleted.
458 Add node operation stack debug messages.
459 Report error when empty device name passed to readahead functions.
460 Fix minimum readahead debug message.
461
462 Version 1.02.23 - 5th December 2007
463 ===================================
464 Update dm-ioctl.h after removal of compat code.
465 Add readahead support to libdevmapper and dmsetup.
466 Fix double free in a libdevmapper-event error path.
467 Fix configure --with-dmeventd-path substitution.
468 Allow a DM_DEV_DIR environment variable to override /dev in dmsetup.
469 Create a libdevmapper.so.$LIB_VERSION symlink within the build tree.
470 Avoid static link failure with some SELinux libraries that require libpthread.
471 Remove obsolete dmfs code from tree and update INSTALL.
472
473 Version 1.02.22 - 21st August 2007
474 ==================================
475 Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
476 Update to use autoconf 2.61, while still supporting 2.57.
477 Avoid repeated dm_task free on some dm_event_get_registered_device errors.
478 Introduce log_sys_* macros from LVM2.
479 Export dm_fclose and dm_create_dir; remove libdm-file.h.
480 Don't log EROFS mkdir failures in _create_dir_recursive (for LVM2).
481 Add fclose wrapper dm_fclose that catches write failures (using ferror).
482
483 Version 1.02.21 - 13th July 2007
484 ================================
485 Introduce _LOG_STDERR to send log_warn() messages to stderr not stdout.
486 Fix dmsetup -o devno string termination. (1.02.20)
487
488 Version 1.02.20 - 15th June 2007
489 ================================
490 Fix default dmsetup report buffering and add --unbuffered.
491 Add tree-based and dependency fields to dmsetup reports.
492
493 Version 1.02.19 - 27th April 2007
494 =================================
495 Standardise protective include file #defines.
496 Add regex functions to library.
497 Avoid trailing separator in reports when there are hidden sort fields.
498 Fix segfault in 'dmsetup status' without --showkeys against crypt target.
499 Deal with some more compiler warnings.
500 Introduce _add_field() and _is_same_field() to libdm-report.c.
501 Fix some libdevmapper-event and dmeventd memory leaks.
502 Remove unnecessary memset() return value checks.
503 Fix a few leaks in reporting error paths. [1.02.15+]
504
505 Version 1.02.18 - 13th February 2007
506 ====================================
507 Improve dmeventd messaging protocol: drain pipe and tag messages.
508
509 Version 1.02.17 - 29th January 2007
510 ===================================
511 Add recent reporting options to dmsetup man page.
512 Revise some report fields names.
513 Add dmsetup 'help' command and update usage text.
514 Use fixed-size fields in report interface and reorder.
515
516 Version 1.02.16 - 25th January 2007
517 ===================================
518 Add some missing close() and fclose() return value checks.
519 Migrate dmsetup column-based output over to new libdevmapper report framework.
520 Add descriptions to reporting field definitions.
521 Add a dso-private variable to dmeventd dso interface.
522 Add dm_event_handler_[gs]et_timeout functions.
523 Streamline dm_report_field_* interface.
524 Add cmdline debug & version options to dmeventd.
525 Add DM_LIB_VERSION definition to configure.h.
526 Suppress 'Unrecognised field' error if report field is 'help'.
527 Add --separator and --sort to dmsetup (unused).
528 Make alignment flag optional when specifying report fields.
529
530 Version 1.02.15 - 17th January 2007
531 ===================================
532 Add basic reporting functions to libdevmapper.
533 Fix a malloc error path in dmsetup message.
534 More libdevmapper-event interface changes and fixes.
535 Rename dm_saprintf() to dm_asprintf().
536 Report error if NULL pointer is supplied to dm_strdup_aux().
537 Reinstate dm_event_get_registered_device.
538
539 Version 1.02.14 - 11th January 2007
540 ===================================
541 Add dm_saprintf().
542 Use CFLAGS when linking so mixed sparc builds can supply -m64.
543 Add dm_tree_use_no_flush_suspend().
544 Lots of dmevent changes including revised interface.
545 Export dm_basename().
546 Cope with a trailing space when comparing tables prior to possible reload.
547 Fix dmeventd to cope if monitored device disappears.
548
549 Version 1.02.13 - 28 Nov 2006
550 =============================
551 Update dmsetup man page (setgeometry & message).
552 Fix dmsetup free after getline with debug.
553 Suppress encryption key in 'dmsetup table' output unless --showkeys supplied.
554
555 Version 1.02.12 - 13 Oct 2006
556 =============================
557 Avoid deptree attempting to suspend a device that's already suspended.
558
559 Version 1.02.11 - 12 Oct 2006
560 ==============================
561 Add suspend noflush support.
562 Add basic dmsetup loop support.
563 Switch dmsetup to use dm_malloc and dm_free.
564
565 Version 1.02.10 - 19 Sep 2006
566 =============================
567 Add dm_snprintf(), dm_split_words() and dm_split_lvm_name() to libdevmapper.
568 Reorder mm bounds_check code to reduce window for a dmeventd race.
569
570 Version 1.02.09 - 15 Aug 2006
571 =============================
572 Add --table argument to dmsetup for a one-line table.
573 Abort if errors are found during cmdline option processing.
574 Add lockfs indicator to debug output.
575
576 Version 1.02.08 - 17 July 2006
577 ==============================
578 Append full patch to check in emails.
579 Avoid duplicate dmeventd subdir with 'make distclean'.
580 Update dmsetup man page.
581 Add --force to dmsetup remove* to load error target.
582 dmsetup remove_all also performs mknodes.
583 Don't suppress identical table reloads if permission changes.
584 Fix corelog segment line.
585 Suppress some compiler warnings.
586
587 Version 1.02.07 - 11 May 2006
588 =============================
589 Add DM_CORELOG flag to dm_tree_node_add_mirror_target().
590 Avoid a dmeventd compiler warning.
591
592 Version 1.02.06 - 10 May 2006
593 =============================
594 Move DEFS into configure.h.
595 Fix leaks in error paths found by coverity.
596 Remove dmsetup line buffer limitation.
597
598 Version 1.02.05 - 19 Apr 2006
599 =============================
600 Separate install_include target in makefiles.
601 Separate out DEFS from CFLAGS.
602 Support pkg-config.
603 Check for libsepol.
604
605 Version 1.02.04 - 14 Apr 2006
606 =============================
607 Bring dmsetup man page up-to-date.
608 Use name-based device refs if kernel doesn't support device number refs.
609 Fix memory leak (struct dm_ioctl) when struct dm_task is reused.
610 If _create_and_load_v4 fails part way through, revert the creation.
611 dmeventd thread/fifo fixes.
612 Add file & line to dm_strdup_aux().
613 Add setgeometry.
614
615 Version 1.02.03 - 7 Feb 2006
616 ============================
617 Add exported functions to set uid, gid and mode.
618 Rename _log to dm_log and export.
619 Add dm_tree_skip_lockfs.
620 Fix dm_strdup debug definition.
621 Fix hash function to avoid using a negative array offset.
622 Don't inline _find in hash.c and tidy signed/unsigned etc.
623 Fix libdevmapper.h #endif.
624 Fix dmsetup version driver version.
625 Add sync, nosync and block_on_error mirror log parameters.
626 Add hweight32.
627 Fix dmeventd build.
628
629 Version 1.02.02 - 2 Dec 2005
630 ============================
631 dmeventd added.
632 Export dm_task_update_nodes.
633 Use names instead of numbers in messages when ioctls fail.
634
635 Version 1.02.01 - 23 Nov 2005
636 =============================
637 Resume snapshot-origins last.
638 Drop leading zeros from dm_format_dev.
639 Suppress attempt to reload identical table.
640 Additional LVM- prefix matching for transitional period.
641
642 Version 1.02.00 - 10 Nov 2005
643 =============================
644 Added activation functions to library.
645 Added return macros.
646 Also suppress error if device doesn't exist with DM_DEVICE_STATUS.
647 Export dm_set_selinux_context().
648 Add dm_driver_version().
649 Added dependency tree functions to library.
650 Added hash, bitset, pool, dbg_malloc to library.
651 Added ls --tree to dmsetup.
652 Added dmsetup --nolockfs support for suspend/reload.
653
654 Version 1.01.05 - 26 Sep 2005
655 =============================
656 Resync list.h with LVM2.
657 Remember increased buffer size and use for subsequent calls.
658 On 'buffer full' condition, double buffer size and repeat ioctl.
659 Fix termination of getopt_long() option array.
660 Report 'buffer full' condition with v4 ioctl as well as with v1.
661
662 Version 1.01.04 - 2 Aug 2005
663 ============================
664 Fix dmsetup ls -j and status --target with empty table.
665
666 Version 1.01.03 - 13 Jun 2005
667 =============================
668 Use matchpathcon mode parameter.
669 Fix configure script to re-enable selinux.
670
671 Version 1.01.02 - 17 May 2005
672 =============================
673 Call dm_lib_exit() and dm_lib_release() automatically now.
674 Add --target <target_type> filter to dmsetup table/status/ls.
675 Add --exec <command> to dmsetup ls.
676 Fix dmsetup getopt_long usage.
677
678 Version 1.01.01 - 29 Mar 2005
679 =============================
680 Update dmsetup man page.
681 Drop-in devmap_name replacement.
682 Add option to compile without ioctl for testing.
683 Fix DM_LIB_VERSION sed.
684
685 Version 1.01.00 - 17 Jan 2005
686 =============================
687 Add dm_task_no_open_count() to skip getting open_count.
688
689 Version 1.00.21 - 7 Jan 2005
690 ============================
691 Fix /proc/devices parsing.
692
693 Version 1.00.20 - 6 Jan 2005
694 ============================
695 Attempt to fix /dev/mapper/control transparently if it's wrong.
696 Configuration-time option for setting uid/gid/mode for /dev/mapper nodes.
697 Update kernel patches for 2.4.27/2.4.28-pre-4 (includes minor fixes).
698 Add --noheadings columns option for colon-separated dmsetup output.
699 Support device referencing by uuid or major/minor.
700 Warn if kernel data didn't fit in buffer.
701 Fix a printf.
702
703 Version 1.00.19 - 3 July 2004
704 =============================
705 More autoconf fixes.
706 Fix a dmsetup newline.
707 Fix device number handling for 2.6 kernels.
708
709 Version 1.00.18 - 20 Jun 2004
710 =============================
711 Fix a uuid free in libdm-iface.
712 Fix a targets string size calc in driver.
713 Add -c to dmsetup for column-based output.
714 Add target message-passing ioctl.
715
716 Version 1.00.17 - 17 Apr 2004
717 =============================
718 configure --with-owner= --with-group= to avoid -o and -g args to 'install'
719 Fix library selinux linking.
720
721 Version 1.00.16 - 16 Apr 2004
722 =============================
723 Ignore error setting selinux file context if fs doesn't support it.
724
725 Version 1.00.15 - 7 Apr 2004
726 ============================
727 Fix status overflow check in kernel patches.
728
729 Version 1.00.14 - 6 Apr 2004
730 ============================
731 Fix static selinux build.
732
733 Version 1.00.13 - 6 Apr 2004
734 ============================
735 Add some basic selinux support.
736
737 Version 1.00.12 - 6 Apr 2004
738 ============================
739 Fix dmsetup.static install.
740
741 Version 1.00.11 - 5 Apr 2004
742 ============================
743 configure --enable-static_link does static build in addition to dynamic.
744 Moved Makefile library targets definition into template.
745
746 Version 1.00.10 - 2 Apr 2004
747 ============================
748 Fix DESTDIR handling.
749 Static build installs to dmsetup.static.
750 Basic support for internationalisation.
751 Minor Makefile tidy-ups/fixes.
752
753 Version 1.00.09 - 31 Mar 2004
754 =============================
755 Update copyright notices to Red Hat.
756 Move full mknodes functionality from dmsetup into libdevmapper.
757 Avoid sscanf %as for uClibc compatibility.
758 Cope if DM_LIST_VERSIONS is not defined.
759 Add DM_LIST_VERSIONS functionality to kernel patches.
760 Generate new kernel patches for 2.4.26-rc1.
761
762 Version 1.00.08 - 27 Feb 2004
763 =============================
764 Added 'dmsetup targets'.
765 Added event_nr support to 'dmsetup wait'.
766 Updated dmsetup man page.
767 Allow logging function to be reset to use internal one.
768 Bring log macros in line with LVM2 ones.
769 Added 'make install_static_lib' which installs libdevmapper.a.
770 Made configure/makefiles closer to LVM2 versions.
771 Fixed DESTDIR for make install/install_static_lib.
772 Updated README/INSTALL to reflect move to sources.redhat.com.
773 Updated autoconf files to 2003-06-17.
This page took 0.073813 seconds and 6 git commands to generate.