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