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