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