]> sourceware.org Git - lvm2.git/blame - WHATS_NEW_DM
dmsetup: allow --noflush with status/wait for thin
[lvm2.git] / WHATS_NEW_DM
CommitLineData
d41ad502
AK
1Version 1.02.76 -
2===============================
25ae0b39 3 Allow --noflush with dmsetup status and wait (for thin target).
5e36b86c 4 Add dm_config_write_one_node to libdevmapper.
c4db22bd 5 Add support for thin pool message release/reserve_metadata_snap.
dcd4afc7 6 Add support for thin pool discard and external origin.
e6f8d864
PR
7 Add configure --enable-udev-rule-exec-detection to detect exec path in rules.
8 Use sbindir in udev rules by default and remove executable path detection.
9a96f930
PR
9 Remove hard-coded paths for dmeventd fifos and use default-dm-run-dir.
10 Add configure --with-lvmetad-pidfile to remove hard-coded value.
11 Add configure --with-default-pid-dir for common directory with pid files.
12 Add configure --with-default-dm-run-dir to set run directory for dm tools.
e77803ed 13 Add documentation references in systemd units.
05fb5158 14 Remove veritysetup. Now maintained with cryptsetup.
d41ad502 15
38949876
AK
16Version 1.02.75 - 8th June 2012
17===============================
64a3ac8f 18 Upstream source repo now fedorahosted.org git not sources.redhat.com CVS.
06738cac 19 Remove unsupported udev_get_dev_path libudev call used for checking udev dir.
f1aabd5c 20 Set delay_resume_if_new on deptree snapshot origin.
fccc6ea2 21 Log value chosen in _find_config_bool like other variable types do.
38949876
AK
22 Wait for dmeventd to exit after sending it DM_EVENT_CMD_DIE when restarting.
23 Append 'Used' to {Blk}DevNames/DevNos dmsetup report headers for clarity.
3d962ed6 24 Add configure --with-veritysetup for independent veritysetup tool.
38949876 25 Properly support supplied dmevent path in dm_event_register_handler().
08e846e3 26 Remove dmeventd fifos on exit if they are not managed by systemd.
38949876
AK
27 Use SD_ACTIVATION environment variable in systemd units to detect systemd.
28 Only start a new dmeventd instance on restart if one was already running.
29 Extend the time waited for input from dmeventd fifo to 5 secs. (1.02.73)
a17ac481 30
ce05af1d 31Version 1.02.74 - 6th March 2012
37160ef2 32================================
ce05af1d 33 Check for multiply-mangled names in auto mangling mode.
4961c3b4 34 Fix dm_task_get_name_unmangled to not unmangle already unmangled name.
921a4644 35 Check whether device names are properly mangled on ioctl return.
d18c70b4 36 Deactivation of failed thin check on thin pool returns success.
37160ef2 37
02b351ad
AK
38Version 1.02.73 - 3rd March 2012
39================================
0438b153 40 Test _thread_registry list with holding mutex in dmeventd.
02b351ad 41 Add dm_tree_node_set_callback() for preload and deactivation hooks.
6a5706a3 42 Drop unsupported TRIM message for thin pool.
96b93199 43 Improve logging for fifo startup in dmeventd.
0438b153 44 Better detection of missing dmeventd fifo connection (1.02.71).
02b351ad 45 Add a few pointer validations in dmsetup.
521ddeae 46 Support dm_task_get_driver_version() query without version string.
ce1c28af 47 Log failure of pthread_join when cleaning unused threads in dmeventd.
ebf55527 48 Fix empty string warning logic in _find_config_str. (1.02.68)
25b25bd1 49 Fix dm_task_set_name to properly resolve path to dm name (1.02.71).
b3d10d7b 50 Add dm_strncpy() function as a faster strncpy() replacement.
1a4b6136 51
f9fc7d8d 52Version 1.02.72 - 23rd February 2012
97124891 53====================================
f72b184e 54 Avoid memory reallocation for dm_asprintf.
97124891 55
815aa355 56Version 1.02.71 - 20th February 2012
0a182731 57====================================
36c90588 58 Switch to using built-in blkid in 13-dm-disk.rules.
9a0cf1ad 59 Add "watch" rule to 13-dm-disk.rules.
80202ecd 60 Detect failing fifo and skip 20s retry communication period.
815aa355 61 Add DM_DEFAULT_NAME_MANGLING_MODE environment variable as an override.
05bfdefd 62 Add dm_lib_init to automatically initialise device-mapper library on load.
97124891 63 Replace any '\' char with '\\' in dm table specification on input.
4491acea 64 Add mangle command to dmsetup to provide renaming to correct mangled form.
d4aa0496 65 Add 'mangled_name' and 'unmangled_name' fields to dmsetup info -c -o.
0f49ede3 66 Add --manglename option to dmsetup to select the name mangling mode.
bd364a70 67 Add dm_task_get_name_mangled/unmangled to libdevmapper.
55761e14
PR
68 Mangle device name on dm_task_set_name/newname call if necessary.
69 Add dm_set/get_name_mangling_mode to set/get name mangling in libdevmapper.
815aa355 70 Add configure --with-default-name-mangling for udev-friendly dev name charset.
5e4f2349 71 Test for parsed words in _umount() dmeventd snapshot plugin.
e66b3e8e 72 Fix memory leak in fail path of parse_loop_device_name() in dmsetup.
74b5744b 73 Check for missing reply_uuid in dm_event_get_registered_device().
65d01ed9 74 Check for allocation failure in dmeventd restart().
daaea2ef 75 Add few missing allocation failures tests in dmsetup.
820aa361 76 Fix potential risk of writing in front of buffer in _sysfs_get_dm_name().
0a182731 77
79b3966a
AK
78Version 1.02.70 - 12th February 2012
79====================================
8380b375 80 Fix dm_event_get_version() check.
4d95ccc6
ZK
81 Add pointer test for dependency check in _add_dev().
82 Validate name and uuid params of dm_tree_add_new_dev_with_udev_flags().
2c711a25 83 Do not crash for dm_report_init() sort_key == NULL and behave like "".
36ddbdbb 84 Return error for failing allocation in dm_asprintf().
c046a59e 85 Add missing test for failing allocation in dm_realloc() code.
511a5f3a 86 Add test for memory allocation failures in regex matcher code.
d707e133 87 Simplify dm_task_set_geometry() and use dm_asprintf().
ebc9abf6 88 Set all parameters to 0 for dm_get_next_target() for NULL return.
b6e97cea 89 Fix fd resource leak in error path for _udev_notify_sem_create().
5dfd7753 90 Leave space for '\0' for readline() call in _sysfs_get_kernel_name().
2a57a934 91
c8250560 92Version 1.02.69 - 1st February 2012
91c631c5 93===================================
c8250560 94 Clean up dmeventd systemd unit ordering and requirements.
91c631c5 95
b475be8d
AK
96Version 1.02.68 - 26th January 2012
97===================================
fc5c61df 98 Reset all members of info struct in dm_tree_add_new_dev_with_udev_flags.
8a35706c 99 Add dmsetup wipe_table to replace table with one that uses error target.
b475be8d 100 Add 'blkdevname' and 'blkdevs_used' fields to dmsetup info -c -o.
e33fd978 101 Add 'blkdevname' option to dmsetup ls --tree to see block device names.
b475be8d 102 Add -o devno/blkdevname/devname to dmsetup deps and ls.
17c3e42b 103 Add dm_device_get_name to get map name or block device name for given devno.
2e5ff5d1
AK
104 Remove empty devices when clearing left-over inactive tables in deptree.
105 Add dm_uuid_prefix/dm_set_uuid_prefix to override hard-coded LVM- prefix.
b475be8d
AK
106 Improve dmsetup man page description of readahead parameter.
107 Use sysfs to set/get readahead if possible.
0644371f 108 Fix lvm2-monitor init script to use normalized output when using vgs.
5392675f 109 Add test for max length (DM_MAX_TYPE_NAME) of target type name.
fb7817fe 110 Include a copy of kernel DM documentation in doc/kernel.
2e5ff5d1 111 Improve man page style for dmsetup and mention more targets.
52f3043f 112 Fix _get_proc_number to be tolerant of malformed /proc/misc entries.
a1991f10 113 Fix missing thread list manipulation protection in dmeventd.
8626490c 114 Add ExecReload to dm-event.service for systemd to reload dmeventd properly.
99a150fc 115 Add dm_config_tree_find_str_allow_empty and dm_config_find_str_allow_empty.
fd6a1bfb 116 Fix compile-time pool memory locking with DEBUG_MEM.
3bdcf7c5 117 Fix valgrind error reports in free of pool chunks with DEBUG_MEM.
e597d5a4 118 Align size of structure chunk for fast pool allocator to 8 bytes.
df0200e5 119 Simplify some pointer operations in dm_free_aux() debug code.
909bc0ff 120 Remove unused dbg_malloc.h file from source tree.
f857b306 121 Cleanup backtraces for _create_and_load_v4().
ad2432dc 122 Fix alignment warning in bitcount calculation for raid segment.
0395dd22 123 Allocate dm_tree structure from dm_tree pool.
9a8f192a 124 Update debug logging for _resume_node.
b475be8d 125 Add functions to support thin provisioning target.
f45106b7 126 Improve libdm-config error path reporting.
766d2282 127 Update dmsetup resume man with --addnodeonresume/create options.
b475be8d 128 Add dependency for dm man pages to man subdirectory make all target.
787200ef 129 Add dm_tree_retry_remove to use retry logic for device removal in a dm_tree.
14254bd0
PR
130 Add dm_device_has_mounted_fs fn to check mounted filesystem on a device.
131 Add dm_device_has_holders fn to to check use of the device by another device.
b475be8d 132 Add dm_sysfs_dir to libdevmapper to retrieve sysfs location set.
07e237d6 133 Add dm_set_sysfs_dir to libdevmapper to set sysfs location.
047e4cd2 134 Add --retry option for dmsetup remove to retry removal if not successful.
355b2224 135 Add dm_task_retry_remove fn to use retry logic for device removal.
beecb1e1 136 Remove unused passed parameters for _mirror_emit_segment_line().
fe8f5dbe 137 Add dm_config and string character escaping functions to libdevmapper.
2d70959c 138 Mark unreleased memory pools as internal error.
2df01a9d 139
499091c0 140Version 1.02.67 - 19th August 2011
4536abf0 141==================================
415c0690 142 Add dm_tree_node_add_null_area for temporarily-missing raid devs tracked.
4536abf0 143
34ae78d2
AK
144Version 1.02.66 - 12th August 2011
145==================================
5bedb7a5 146 Release geometry buffer in dm_task_destroy.
34ae78d2
AK
147 Update udev rules to skip DM flags decoding for removed devices.
148 Add compile-time pool memory locking options (to debug shared VG structs).
149 Remove device name prefix from dmsetup line output if -j & -m or -u supplied.
2061c0ec 150 Remove support for the original version 1 dm ioctls.
b23975ee 151 Add missing check for allocation failure _create_dir_recursive().
3c614ef1 152 Add support for systemd file descriptor handover in dmeventd.
34ae78d2
AK
153 Fix memory leak in dmsetup _message() memory allocation error path.
154 Use new oom killer adjustment interface (oom_score_adj) when available.
5071d9ec 155 Add systemd unit files for dmeventd.
d3efe22f 156 Fix read-only identical table reload supression.
11853cd9 157
9f65343f
AK
158Version 1.02.65 - 8th July 2011
159===============================
3151e099 160 Remove dev name prefix from dmsetup line output if exactly one dev requested.
ba45e1fd 161 Report internal error if suspending a device using an already-suspended dev.
9f65343f 162 Report error if a table load requiring target parameters has none supplied.
2243718f 163 Add dmsetup --checks and dm_task_enable_checks framework to validate ioctls.
f96cf55d 164 Add age_in_minutes parameter to dmsetup udevcomplete_all.
0437bccc
AK
165 Return immediately from dm_lib_exit() if called more than once.
166 Disable udev fallback by default and add --verifyudev option to dmsetup.
9f65343f 167 Report internal error if any table is loaded while any dev is known suspended.
1840aa09 168 Add dm_get_suspended_counter() for number of devs in suspended state by lib.
83e797bc 169 Fix "all" report field prefix matching to include label fields with pv_all.
df390f17
AK
170 Delay resuming new preloaded mirror devices with core logs in deptree code.
171 Accept new kernel version 3 uname formats in initialisation.
a086d55b 172
c0a1ec23
AK
173Version 1.02.64 - 29th April 2011
174==================================
71b29ddc 175 Require libudev >= 143 when compiling with udev support.
197b5e6d 176 Use word alignment for dm_pool_strdup() and dm_pool_strndup().
c0a1ec23
AK
177 Use dm_snprintf() to fix signedness warning in dm_set_dev_dir().
178 Use unsigned loop counter to fix signedness warning in _other_node_ops().
36089b22 179 Fix const cast in dmsetup calls of dm_report_field_string().
76c13d16
AK
180 Streamline /dev/mapper/control node code for common cases.
181 Use hard-coded dm control node device number for 2.6.36 kernels and above.
681858db 182 Improve stack debug reporting in dm_task_create().
52a5cd31 183 Fallback to control node creation only if node doesn't exist yet.
c0a1ec23 184 Change dm_hash binary functions to take void *key instead of char *.
919ab56b 185 Fix uninitialised memory use with empty params in _reload_with_suppression_v4.
eb36643c 186 Lower severity of selabel_lookup and matchpathcon failure to log_debug.
c0a1ec23 187 Add test for failed allocation from dm_task_set_uuid() in dmeventd.
919ab56b
AK
188 Add dm_event_get_version to dmeventd for use with -R.
189 Avoid dmeventd core dumps when handling request with unknown command ID.
190 Have dmeventd -R start up even when no existing copy is running.
11bffd7d 191 Accept multiple mapped device names on many dmsetup command lines.
d0e3d474
AK
192 Fix dm_udev_wait calls in dmsetup to occur before readahead display not after.
193 Include an implicit dm_task_update_nodes() within dm_udev_wait().
8f91593c 194 Fix _create_and_load_v4 not to lose the --addnodeoncreate setting (1.02.62).
7d9c99e8 195 Add inactive table query support for kernel driver >= 4.11.6 (RHEL 5.7).
eb418883 196 Log debug open_count in _node_has_closed_parents().
919ab56b 197 Add a const to dm_report_field_string() data parameter.
7ad6a7d9 198
db76c0d0 199Version 1.02.63 - 9th February 2011
0ea1e5c1 200===================================
db76c0d0 201 Reinstate DEBUG_MEM as it's part of the API. (1.02.62)
0ea1e5c1 202
6c7b95f2 203Version 1.02.62 - 4th February 2011
0825c244 204===================================
a74fe591
AK
205 Add configure --with-device-nodes-on=create for previous behaviour.
206 Move creation of device nodes from 'create' to 'resume'.
6c7b95f2
AK
207 Add --addnodeonresume and --addnodeoncreate options to dmsetup.
208 Add dm_task_set_add_node to libdevmapper to control dev node creation time.
2b29daaa 209 Add dm_task_secure_data to libdevmapper to wipe ioctl buffers in kernel.
6c7b95f2
AK
210 Log debug message when expected uevent is not generated.
211 Only compile memory debugging code when DEBUG_MEM is set.
7fa7632d 212 Set DM_UDEV_DISABLE_OTHER_RULES_FLAG for suspended DM devices in udev rules.
6c7b95f2 213 Begin a new pool object for each row in _output_as_rows() correctly.
0825c244 214
606d0858
AK
215Version 1.02.61 - 10th January 2011
216===================================
b3c6850b 217 Add DM_COOKIE_AUTO_CREATE to libdevmapper.h.
8d5391f1 218 Export DM_CONTROL_NODE_UMASK and use it while creating /dev/mapper/control.
c37f0c7d 219
ad18cacf
AK
220Version 1.02.60 - 20th December 2010
221====================================
222 Check for unlink failure in remove_lockfile() in dmeventd.
223 Use dm_free for dm_malloc-ed areas in _clog_ctr/_clog_dtr in cmirrord.
224 Use char* arithmetic in _process_all() & _targets() in dmsetup.
303923fb 225 Change dm_regex_create() API to accept const char * const *patterns.
7dfce0e4
PR
226 Add new dm_prepare_selinux_context fn to libdevmapper and use it throughout.
227 Detect existence of new SELinux selabel interface during configure.
122ba73e 228
9d031322
AK
229Version 1.02.59 - 6th December 2010
230===================================
ea7c621b 231 Add backtraces to _process_mapper_dir and _create_and_load_v4 error paths.
1415afcd 232 Remove superfluous checks for NULL before calling dm_free.
663886b9 233
2151f044
AK
234Version 1.02.58 - 22nd November 2010
235====================================
ef3d8e18 236 Fix _output_field crash from field_id free with DEBUG_MEM. (1.02.57)
ae1a8330 237
962e6781 238Version 1.02.57 - 8th November 2010
779c1100 239===================================
962e6781
AK
240 Fix regex optimiser not to ignore RHS of OR nodes in _find_leftmost_common.
241 Add dmeventd -R to restart dmeventd without losing monitoring state. (1.02.56)
a83c7816
PR
242 Fix memory leak of field_id in _output_field function.
243 Allocate buffer for reporting functions dynamically to support long outputs.
779c1100 244
2aa06d73
AK
245Version 1.02.56 - 25th October 2010
246===================================
247 Return const pointer from dm_basename() in libdevmapper.
248 Implement dmeventd -R to restart without state loss.
249 Add dm_zalloc and use it and dm_pool_zalloc throughout.
57a82794
AK
250 Add --setuuid to dmsetup rename.
251 Add dm_task_set_newuuid to set uuid of mapped device post-creation.
44a31a9c 252
87368c35 253Version 1.02.55 - 24th September 2010
a171bb6e 254=====================================
87368c35 255 Fix the way regions are marked complete to avoid slow --nosync cmirror I/O.
a171bb6e 256 Add DM_REPORT_FIELD_TYPE_ID_LEN to libdevmapper.h.
7dbfd06d 257
523fad91
AK
258Version 1.02.54 - 18th August 2010
259==================================
88b97d8f 260 Fix dm-mod autoloading logic to not assume control node is set correctly.
d1e8046f
AK
261 Add dmeventd/executable to lvm.conf to test alternative dmeventd.
262 Export dm_event_handler_set_dmeventd_path to override built-in dmeventd path.
263 Generate libdevmapper-event exported symbols.
470c1884 264 Remove superfluous NULL pointer tests before dm_free from dmeventd.
f069a14c 265 Assume dm-mod autoloading support is in kernel 2.6.36 and higher, not 2.6.35.
a6a66e7c 266 Fix udev rules to support udev database content generated by older rules.
b045f4fe 267 Reinstate detection of inappropriate uevent with DISK_RO set and suppress it.
523fad91
AK
268 Fix regex ttree off-by-one error.
269 Add --enable-valgrind-pool to configure.
dc39d2a6 270 Fix segfault in regex matcher with characters of ordinal value > 127.
523fad91 271 Fix 'void*' arithmetic warnings in dbg_malloc.c and libdm-iface.c.
0a89c230 272 Wait for node creation before displaying debug info in dmsetup.
c8675c49 273 Fix return status 0 for "dmsetup info -c -o help".
d8742744 274 Add check for kernel semaphore support and disable udev_sync if not available.
e9438785 275
cdb675c0 276Version 1.02.53 - 28th July 2010
111c120e 277================================
e12a5243 278 Revert failed table load preparation after "create, load and resume".
8c4e8a18
FDN
279 Switch dmeventd to use dm_create_lockfile and drop duplicate code.
280 Add dm_create_lockfile to libdm to handle pidfiles for all daemons.
09ba95b2
AK
281 Replace lookup with next in struct dfa_state & calculate states on demand.
282 Improve the regex matcher, reducing the number of charset nodes used.
283 Add dm_regex_fingerprint to facilitate regex testing.
284 Skip ffs(0) in _test_word in bitset functions.
02adb0cd 285 Use "nowatch" udev rule for inappropriate devices.
6aecef2c 286
9a54c1a7
AK
287Version 1.02.52 - 6th July 2010
288===============================
8c54f1a9 289 Fix dmlosetup snprintf %llu compiler warning.
44cd0f47 290 Add parentheses to some libdevmapper.h macro arguments.
db3c1ac1 291 Add printf format attributes to dm_{sn,as}printf and fix a caller.
22a85923 292 Move dmeventd man page from install_lvm2 to install_device-mapper. (1.02.50)
c304818d 293
4e118517 294Version 1.02.51 - 30th June 2010
1ed3c7cc 295================================
4e118517 296 Generate libdevmapper exported symbols from header file.
1ed3c7cc 297
d2cd8375
AK
298Version 1.02.50 - 23rd June 2010
299================================
85691c0a 300 Fix INTERNAL_ERROR typo in ioctl iface unknown task message.
acc70bce 301 Fix udev rules to handle spurious events properly.
85691c0a
AK
302 Use C99 [] not [0] in dm_ulog_request struct to avoid abort when fortified.
303 Allow use of devmapper header file in C++ mode (extern "C" and __typeof__).
d2cd8375 304 Add dmeventd man page.
a5e14884 305
1a526b3c
AK
306Version 1.02.49 - 4th June 2010
307===============================
308 Support autoloading of dm-mod module for kernels from 2.6.35.
1a3b5854 309 Document 'clear' in dmsetup man page.
1a526b3c
AK
310 Fix semctl parameter (union) to avoid misaligned parameter on some arches.
311 Add dm_tree_node_set_presuspend_node() to presuspend child when deactivating.
312 Initial support for replicator target.
ead120eb 313
a988efda
AK
314Version 1.02.48 - 17th May 2010
315================================
bdadde2f
AK
316 Use -d to control level of messages sent to syslog by dmeventd.
317 Change -d to -f to run dmeventd in foreground.
b1d18889 318 Do not print encryption key in message debug output (cryptsetup luksResume).
a988efda
AK
319 Fix dmeventd static build library dependencies.
320 Fix udev flags on remove in create_and_load error path.
bde29bc4 321
3ceb7608 322Version 1.02.47 - 30th April 2010
adfdf8bb 323=================================
942d6ef2
PR
324 Add support for new IMPORT{db} udev rule.
325 Add DM_UDEV_PRIMARY_SOURCE_FLAG udev flag to recognize proper DM events.
25784822 326 Also include udev libs in libdevmapper.pc when udev_sync is enabled.
e07803f9 327 Cache bitset locations to speed up _calc_states.
9783e5ae 328 Add a regex optimisation pass for shared prefixes and suffixes.
49ada7a2 329 Add dm_bit_and and dm_bitset_equal to libdevmapper.
175b8684 330 Simplify dm_bitset_create.
72ab7270 331 Speed up dm_bit_get_next with ffs().
adfdf8bb 332
2e79014b
AK
333Version 1.02.46 - 14th April 2010
334=================================
f55021f4
AK
335 Change dm_tree_deactivate_children to fail if device is open.
336 Wipe memory buffers for dm-ioctl parameters before releasing.
91345610 337 Strictly require libudev if udev_sync is used.
ac3691f7 338 Add support for ioctl's DM_UEVENT_GENERATED_FLAG.
75b8a10e 339
ba8fd82a
AK
340Version 1.02.45 - 9th March 2010
341================================
342 Add --showkeys parameter description to dmsetup man page.
343 Add --help option as synonym for help command.
9e7b0091 344
c97cbf8c
AK
345Version 1.02.44 - 15th February 2010
346====================================
f0e073fc
PR
347 Add DM_UDEV_DISABLE_LIBRARY_FALLBACK udev flag to rely on udev only.
348 Export dm_udev_create_cookie function to create new cookies on demand.
c97cbf8c
AK
349 Add --udevcookie, udevcreatecookie and udevreleasecookie to dmsetup.
350 Set udev state automatically instead of using DM_UDEV_DISABLE_CHECKING.
30265f6a 351
1014cf87 352Version 1.02.43 - 21st January 2010
80b664f5 353===================================
1014cf87 354 Remove bitset, hash and pool headers superceded by libdevmapper.h.
ed2bef01 355 Fix off-by-one error causing bad cluster mirror table construction.
80b664f5 356
73c47fae 357Version 1.02.42 - 14th January 2010
726355fe 358===================================
73c47fae
AK
359 Add support for the "snapshot-merge" kernel target (2.6.33-rc1).
360 Introduce a third activation_priority level in dm_tree_activate_children.
726355fe 361
b6baf165
AK
362Version 1.02.41 - 12th January 2010
363===================================
f3ac7d1b 364 If DM_UDEV_DISABLE_CHECKING is set in environment, disable udev warnings.
cda69e17 365 Add dm_tree_add_dev_with_udev_flags to provide wider support for udev flags.
4998a004 366 Add --noudevrules option for dmsetup to disable /dev node management by udev.
12b64654
AK
367 Fix 'dmsetup info -c -o all' to show all fields.
368 Return errors if dm_tree_*_children functions fail.
685be1dc 369 Fix coredump and memory leak for 'dmsetup help -c'.
0d408f0c 370 Disable udev rules for change events with DISK_RO set.
b1bee9cd 371
31b2e7ed
AK
372Version 1.02.40 - 19th November 2009
373====================================
f145ddc9 374 Fix install_device-mapper Makefile target to not build dmeventd plugins.
584d1fb7 375 Support udev flags even when udev_sync is disabled or not compiled in.
938cf359 376 Remove 'last_rule' from udev rules: honour DM_UDEV_DISABLE_OTHER_RULES_FLAG.
9abf5e70
AK
377 Add dmsetup --inactive support.
378 Add dm_task_query_inactive_table to libdevmapper for kernel driver >= 4.16.
a8fb89ad 379 Fix hash lookup segfault when keys compared are different lengths.
cf177380 380
ebc9a27a
AK
381Version 1.02.39 - 26th October 2009
382===================================
772f7d41 383 Remove strict default permissions for DM devices from 95-dm-notify.rules.
5f1f31f9 384 Add dmsetup udevflags command to decode udev flags in given cookie value.
178dcb06 385 Support udev flags in libdevmapper incl. dm_tree_add_new_dev_with_udev_flags.
2cec0e45 386 Make libdm ABI consistent when built with/without selinux support.
ec0b34a9 387
9bc9dacc 388Version 1.02.38 - 25th September 2009
786e32bf 389=====================================
536f0e08 390 Export DM_DEV_DIR_UMASK, the default umask for /dev directories created.
9bc9dacc
AK
391 Handle any path supplied to dm_task_set_name by looking up in /dev/mapper.
392 Add several examples to 12-dm-permissions.rules.
393 Add splitname and --yes to dmsetup man page.
394 Fix _mirror_emit_segment_line return code.
395 Fix dmeventd _temporary_log_fn parameters. (2.02.50)
786e32bf 396
4b7033d3 397Version 1.02.37 - 15th September 2009
6087b158
AK
398=====================================
399 Add dmsetup manpage entries for udevcomplete_all and udevcookies.
400 Check udev is running when processing cookies and retain state internally.
401 Add y|--yes option to dmsetup for default 'yes' answer to prompts.
402 Fix tools Makefile to process dmsetup sources separately.
5f1c57d0 403 Restore umask when device node creation fails.
6087b158
AK
404 Check kernel vsn to use 'block_on_error' or 'handle_errors' in mirror table.
405 Add dm-log-userspace.h to tree for cmirrord builds.
adfb0e34 406
79e5594f
AK
407Version 1.02.36 - 6th August 2009
408=================================
409 Add udevcookies, udevcomplete, udevcomplete_all and --noudevwait to dmsetup.
bd90c6b2 410 Add libdevmapper functions to support synchronisation with udev.
28ae3fe7 411
d49aa42e 412Version 1.02.35 - 28th July 2009
26d7762b 413================================
d49aa42e
AK
414 Add LOG_LINE_WITH_ERRNO macro.
415 Use log_error macro consistently throughout in place of log_err.
26d7762b 416
9386a684 417Version 1.02.34 - 15th July 2009
4397ad38 418================================
eac6599c
AK
419 Use _exit() not exit() after forking to avoid flushing libc buffers twice.
420 Rename plog macro to LOG_LINE & add LOG_MESG variant for dm_dump_memory_debug.
a9cb6969
AK
421 Change plog to use dm_log_with_errno unless deprecated dm_log_init was used.
422 Add dm_log_with_errno and dm_log_with_errno_init, deprecating the old fns.
503f6280 423 Fix whitespace in linear target line to fix identical table line detection.
4b2cae46 424 Add device number to more log messages during activation.
4397ad38 425
e50c61d8 426Version 1.02.33 - 30th June 2009
4f901270 427================================
476d4633 428 Don't fallback to default major number: use dm_task_set_major_minor. (1.02.31)
01fb9ca9 429 Do not fork daemon when dmeventd cannot be found.
476d4633 430 Add crypt target handling to libdevmapper tree nodes.
896fc66e 431 Add splitname command to dmsetup.
9767eb44 432 Add subsystem, vg_name, lv_name, lv_layer fields to dmsetup reports.
c9ee4656 433 Make mempool optional in dm_split_lvm_name().
49c27642 434
25a2e7b8
AK
435Version 1.02.32 - 21st May 2009
436===============================
58e57a05
AK
437 Only generate libdevmapper.a when configured to link statically.
438 Export dm_tree_node_size_changed() from libdevmapper.
439 Propagate the table size_changed property up the dm device tree.
440 Detect failure to free memory pools when releasing the library.
441 Fix segfault when getopt processes dmsetup -U, -G and -M options.
ab5be5f0 442
33617240
AK
443Version 1.02.31 - 3rd March 2009
444================================
0f817d38 445 If kernel supports only one dm major number, use in place of any supplied.
30212562 446
c6a808f1 447Version 1.02.30 - 26th January 2009
07698bfd 448====================================
1f1aaf43 449 Add "all" field to reports expanding to all fields of report type.
c6a808f1
AK
450 Enforce device name length and character limitations in libdm.
451 Replace _dm_snprintf with EMIT_PARAMS macro for creating target lines.
07698bfd 452
b362d126
AK
453Version 1.02.29 - 10th November 2008
454====================================
455 Merge device-mapper into the LVM2 tree.
0b1bf1f5 456 Split out dm-logging.h from log.h.
4a065114 457 Use lvm-types.h.
620efe9c 458 Add usrsbindir to configure.
839e2e92 459
bb875bb9
AK
460Version 1.02.28 - 18th September 2008
461=====================================
462 Only resume devices in dm_tree_preload_children if size changes.
7d7d93ac 463 Extend deptree buffers so the largest possible device numbers fit.
bb875bb9 464 Generate versioned libdevmapper-event.so.
b6943304 465 Underline longer report help text headings.
5bb4711b 466
6e1898a5
AK
467Version 1.02.27 - 25th June 2008
468================================
9070816e 469 Align struct memblock in dbg_malloc for sparc.
ca8d363d 470 Add --unquoted and --rows to dmsetup.
dacf86a1 471 Avoid compiler warning about cast in dmsetup.c's OFFSET_OF macro.
afbf31eb 472 Fix inverted no_flush debug message.
034ceb60 473 Remove --enable-jobs from configure. (Set at runtime instead.)
fb7487a9 474 Bring configure.in and list.h into line with the lvm2 versions.
ec40d928 475
bccf22f6
AK
476Version 1.02.26 - 6th June 2008
477===============================
12ea7cb1 478 Initialise params buffer to empty string in _emit_segment.
b947f343
AK
479 Skip add_dev_node when ioctls disabled.
480 Make dm_hash_iter safe against deletion.
481 Accept a NULL pointer to dm_free silently.
82bacfc3 482 Add tables_loaded, readonly and suspended columns to reports.
0f4355d5 483 Add --nameprefixes to dmsetup.
c791f186 484 Add field name prefix option to reporting functions.
f44e3ff4 485 Calculate string size within dm_pool_grow_object.
c21b4393 486
3cffaeda
AK
487Version 1.02.25 - 10th April 2008
488=================================
448ef456 489 Remove redundant if-before-free tests.
ad1fc083 490 Use log_warn for reporting field help text instead of log_print.
d6d46615 491 Change cluster mirror log type name (s/clustered_/clustered-/)
72199adf 492
e8a4c170
AK
493Version 1.02.24 - 20th December 2007
494====================================
bafa2f39 495 Fix deptree to pass new name to _resume_node after a rename.
fc795d87 496 Suppress other node operations if node is deleted.
4a41a93a 497 Add node operation stack debug messages.
3a223416 498 Report error when empty device name passed to readahead functions.
de4ddace 499 Fix minimum readahead debug message.
34106874 500
8611f885
AK
501Version 1.02.23 - 5th December 2007
502===================================
fec8f838 503 Update dm-ioctl.h after removal of compat code.
8611f885 504 Add readahead support to libdevmapper and dmsetup.
52b84409 505 Fix double free in a libdevmapper-event error path.
5ca98cc2 506 Fix configure --with-dmeventd-path substitution.
482904cf 507 Allow a DM_DEV_DIR environment variable to override /dev in dmsetup.
8611f885
AK
508 Create a libdevmapper.so.$LIB_VERSION symlink within the build tree.
509 Avoid static link failure with some SELinux libraries that require libpthread.
1f84815c 510 Remove obsolete dmfs code from tree and update INSTALL.
6d7a6c4c 511
9cab88c5
AK
512Version 1.02.22 - 21st August 2007
513==================================
147d5fac 514 Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
7a197a62 515 Update to use autoconf 2.61, while still supporting 2.57.
ee80c0f0
AK
516 Avoid repeated dm_task free on some dm_event_get_registered_device errors.
517 Introduce log_sys_* macros from LVM2.
147d5fac 518 Export dm_fclose and dm_create_dir; remove libdm-file.h.
ee80c0f0
AK
519 Don't log EROFS mkdir failures in _create_dir_recursive (for LVM2).
520 Add fclose wrapper dm_fclose that catches write failures (using ferror).
a7ed0103 521
10fb6b1b 522Version 1.02.21 - 13th July 2007
6dee7d31 523================================
10fb6b1b 524 Introduce _LOG_STDERR to send log_warn() messages to stderr not stdout.
448ef456 525 Fix dmsetup -o devno string termination. (1.02.20)
6dee7d31 526
8f1fb4ad
AK
527Version 1.02.20 - 15th June 2007
528================================
117d8597
AK
529 Fix default dmsetup report buffering and add --unbuffered.
530 Add tree-based and dependency fields to dmsetup reports.
ffd5c5c8 531
e3a12d14
AK
532Version 1.02.19 - 27th April 2007
533=================================
42c79822 534 Standardise protective include file #defines.
38862fcd 535 Add regex functions to library.
af998ff6 536 Avoid trailing separator in reports when there are hidden sort fields.
d59b2474 537 Fix segfault in 'dmsetup status' without --showkeys against crypt target.
8d2b0f24 538 Deal with some more compiler warnings.
7b74504f 539 Introduce _add_field() and _is_same_field() to libdm-report.c.
727f2662 540 Fix some libdevmapper-event and dmeventd memory leaks.
c2784df4 541 Remove unnecessary memset() return value checks.
012869d6 542 Fix a few leaks in reporting error paths. [1.02.15+]
2f2c9932 543
187c689f
AK
544Version 1.02.18 - 13th February 2007
545====================================
112d09de 546 Improve dmeventd messaging protocol: drain pipe and tag messages.
3a7ec38f 547
096470d4 548Version 1.02.17 - 29th January 2007
67fa4fd4 549===================================
34c71071
AK
550 Add recent reporting options to dmsetup man page.
551 Revise some report fields names.
e3f6460b 552 Add dmsetup 'help' command and update usage text.
95b42470 553 Use fixed-size fields in report interface and reorder.
67fa4fd4 554
667eb775 555Version 1.02.16 - 25th January 2007
07473c2b 556===================================
232da7ec 557 Add some missing close() and fclose() return value checks.
d3368420 558 Migrate dmsetup column-based output over to new libdevmapper report framework.
85feafd9 559 Add descriptions to reporting field definitions.
d28dfb57 560 Add a dso-private variable to dmeventd dso interface.
4dcaa230
AK
561 Add dm_event_handler_[gs]et_timeout functions.
562 Streamline dm_report_field_* interface.
fcdf2e09 563 Add cmdline debug & version options to dmeventd.
866a1a08 564 Add DM_LIB_VERSION definition to configure.h.
09e206d3 565 Suppress 'Unrecognised field' error if report field is 'help'.
03c69792
AK
566 Add --separator and --sort to dmsetup (unused).
567 Make alignment flag optional when specifying report fields.
568
c3afa8df 569Version 1.02.15 - 17th January 2007
99a4014f 570===================================
61997bb9 571 Add basic reporting functions to libdevmapper.
528329f1 572 Fix a malloc error path in dmsetup message.
931d24a4
AK
573 More libdevmapper-event interface changes and fixes.
574 Rename dm_saprintf() to dm_asprintf().
080f3fa1 575 Report error if NULL pointer is supplied to dm_strdup_aux().
c8ee3820 576 Reinstate dm_event_get_registered_device.
99a4014f 577
96710ad8
AK
578Version 1.02.14 - 11th January 2007
579===================================
31652486 580 Add dm_saprintf().
4594807a 581 Use CFLAGS when linking so mixed sparc builds can supply -m64.
b9ffd32c 582 Add dm_tree_use_no_flush_suspend().
31652486 583 Lots of dmevent changes including revised interface.
5b95f178
AK
584 Export dm_basename().
585 Cope with a trailing space when comparing tables prior to possible reload.
0c8569ed 586 Fix dmeventd to cope if monitored device disappears.
9a81f9fe 587
794aa506 588Version 1.02.13 - 28 Nov 2006
a8e13f05 589=============================
3488c9b3 590 Update dmsetup man page (setgeometry & message).
981bf64f 591 Fix dmsetup free after getline with debug.
475be6ab 592 Suppress encryption key in 'dmsetup table' output unless --showkeys supplied.
a8e13f05 593
905bdb24
AK
594Version 1.02.12 - 13 Oct 2006
595=============================
b700541f 596 Avoid deptree attempting to suspend a device that's already suspended.
89a4e806 597
98865154
AK
598Version 1.02.11 - 12 Oct 2006
599==============================
f916f0a7
AK
600 Add suspend noflush support.
601 Add basic dmsetup loop support.
4c69dc95 602 Switch dmsetup to use dm_malloc and dm_free.
3ccf241d 603
c27dca1a
AK
604Version 1.02.10 - 19 Sep 2006
605=============================
9e063b22 606 Add dm_snprintf(), dm_split_words() and dm_split_lvm_name() to libdevmapper.
d6a93541 607 Reorder mm bounds_check code to reduce window for a dmeventd race.
89529aa0 608
61160049 609Version 1.02.09 - 15 Aug 2006
c27dca1a 610=============================
8df67fbf
AK
611 Add --table argument to dmsetup for a one-line table.
612 Abort if errors are found during cmdline option processing.
433b160f 613 Add lockfs indicator to debug output.
7a21367d 614
cecdabd9
AK
615Version 1.02.08 - 17 July 2006
616==============================
332a8007 617 Append full patch to check in emails.
813f844b 618 Avoid duplicate dmeventd subdir with 'make distclean'.
1ea19b10
AK
619 Update dmsetup man page.
620 Add --force to dmsetup remove* to load error target.
ad65c5f1 621 dmsetup remove_all also performs mknodes.
def6f767 622 Don't suppress identical table reloads if permission changes.
311d6d81
AK
623 Fix corelog segment line.
624 Suppress some compiler warnings.
476d09d0 625
2bfdaded 626Version 1.02.07 - 11 May 2006
a54b98e5 627=============================
9723090c 628 Add DM_CORELOG flag to dm_tree_node_add_mirror_target().
2a99b5b8 629 Avoid a dmeventd compiler warning.
a54b98e5 630
f6e07802 631Version 1.02.06 - 10 May 2006
a0e9de70 632=============================
6657d5b6 633 Move DEFS into configure.h.
7dc850db 634 Fix leaks in error paths found by coverity.
6657d5b6 635 Remove dmsetup line buffer limitation.
a0e9de70 636
a669fcc5 637Version 1.02.05 - 19 Apr 2006
3ab3766f 638=============================
d81e3d0b
AK
639 Separate install_include target in makefiles.
640 Separate out DEFS from CFLAGS.
641 Support pkg-config.
642 Check for libsepol.
3ab3766f 643
7fae84d7
AK
644Version 1.02.04 - 14 Apr 2006
645=============================
823a3644 646 Bring dmsetup man page up-to-date.
99048d18
AK
647 Use name-based device refs if kernel doesn't support device number refs.
648 Fix memory leak (struct dm_ioctl) when struct dm_task is reused.
73f378f2 649 If _create_and_load_v4 fails part way through, revert the creation.
9ab77012 650 dmeventd thread/fifo fixes.
f4db3724 651 Add file & line to dm_strdup_aux().
6ef080af 652 Add setgeometry.
435c852f 653
b5f90860 654Version 1.02.03 - 7 Feb 2006
c6b966c8 655============================
b5d8ff10 656 Add exported functions to set uid, gid and mode.
5e3bd867 657 Rename _log to dm_log and export.
c55b1410 658 Add dm_tree_skip_lockfs.
fe94f9f1 659 Fix dm_strdup debug definition.
b6b0c621 660 Fix hash function to avoid using a negative array offset.
e7ab6006
AK
661 Don't inline _find in hash.c and tidy signed/unsigned etc.
662 Fix libdevmapper.h #endif.
7a3fb6b2 663 Fix dmsetup version driver version.
dbcb64b8
AK
664 Add sync, nosync and block_on_error mirror log parameters.
665 Add hweight32.
3c588200 666 Fix dmeventd build.
c6b966c8 667
bbdff85a
AK
668Version 1.02.02 - 2 Dec 2005
669============================
105c631e 670 dmeventd added.
774ed5fc
AK
671 Export dm_task_update_nodes.
672 Use names instead of numbers in messages when ioctls fail.
cbe19a56 673
ef8bc786 674Version 1.02.01 - 23 Nov 2005
0c32d9db 675=============================
842392c2 676 Resume snapshot-origins last.
ec289b64
AK
677 Drop leading zeros from dm_format_dev.
678 Suppress attempt to reload identical table.
87f98002 679 Additional LVM- prefix matching for transitional period.
0c32d9db 680
da5edd8e 681Version 1.02.00 - 10 Nov 2005
b277f1e9 682=============================
b4f1578f
AK
683 Added activation functions to library.
684 Added return macros.
19f792df 685 Also suppress error if device doesn't exist with DM_DEVICE_STATUS.
3aeb5690 686 Export dm_set_selinux_context().
ffc88f2e 687 Add dm_driver_version().
3d0480ed 688 Added dependency tree functions to library.
a3f6b2ce 689 Added hash, bitset, pool, dbg_malloc to library.
3d0480ed
AK
690 Added ls --tree to dmsetup.
691 Added dmsetup --nolockfs support for suspend/reload.
b277f1e9 692
d7c1c43d 693Version 1.01.05 - 26 Sep 2005
d07af063 694=============================
4afac84c 695 Resync list.h with LVM2.
59a2bf62 696 Remember increased buffer size and use for subsequent calls.
4e16b1e7 697 On 'buffer full' condition, double buffer size and repeat ioctl.
69cfb920 698 Fix termination of getopt_long() option array.
e817a0b3 699 Report 'buffer full' condition with v4 ioctl as well as with v1.
d07af063 700
91eb42be 701Version 1.01.04 - 2 Aug 2005
d7c1c43d 702============================
a7c3ee38
AK
703 Fix dmsetup ls -j and status --target with empty table.
704
c8c07bbe 705Version 1.01.03 - 13 Jun 2005
37e8356b 706=============================
c8c07bbe 707 Use matchpathcon mode parameter.
42401a65 708 Fix configure script to re-enable selinux.
37e8356b 709
d910e40d 710Version 1.01.02 - 17 May 2005
9629f7a9 711=============================
ebf21d3f 712 Call dm_lib_exit() and dm_lib_release() automatically now.
2272500b 713 Add --target <target_type> filter to dmsetup table/status/ls.
b7c70050 714 Add --exec <command> to dmsetup ls.
67f10950 715 Fix dmsetup getopt_long usage.
9629f7a9 716
e015b627 717Version 1.01.01 - 29 Mar 2005
c080b460 718=============================
e015b627 719 Update dmsetup man page.
969e08da 720 Drop-in devmap_name replacement.
3d2aecf0 721 Add option to compile without ioctl for testing.
4608bcdc 722 Fix DM_LIB_VERSION sed.
c080b460 723
e5bb96fe
AK
724Version 1.01.00 - 17 Jan 2005
725=============================
8e2dd0df 726 Add dm_task_no_open_count() to skip getting open_count.
72fdf10a 727
4f6c33c8 728Version 1.00.21 - 7 Jan 2005
99dffafb 729============================
eaf48efc 730 Fix /proc/devices parsing.
99dffafb 731
7b1f32dc
AK
732Version 1.00.20 - 6 Jan 2005
733============================
f34c169a 734 Attempt to fix /dev/mapper/control transparently if it's wrong.
6b70629c 735 Configuration-time option for setting uid/gid/mode for /dev/mapper nodes.
76bcada9 736 Update kernel patches for 2.4.27/2.4.28-pre-4 (includes minor fixes).
45ae32da 737 Add --noheadings columns option for colon-separated dmsetup output.
3f096a6c
AK
738 Support device referencing by uuid or major/minor.
739 Warn if kernel data didn't fit in buffer.
2d7f9f0b 740 Fix a printf.
3b55d300 741
3bbe3735 742Version 1.00.19 - 3 July 2004
8bad0339 743=============================
3bbe3735
AK
744 More autoconf fixes.
745 Fix a dmsetup newline.
8bad0339
AK
746 Fix device number handling for 2.6 kernels.
747
33609582 748Version 1.00.18 - 20 Jun 2004
62cec9b2 749=============================
33609582
AK
750 Fix a uuid free in libdm-iface.
751 Fix a targets string size calc in driver.
32c5ad86 752 Add -c to dmsetup for column-based output.
62cec9b2
AK
753 Add target message-passing ioctl.
754
a38df97f
AK
755Version 1.00.17 - 17 Apr 2004
756=============================
757 configure --with-owner= --with-group= to avoid -o and -g args to 'install'
93f0ca86 758 Fix library selinux linking.
a38df97f 759
121c5c06
AK
760Version 1.00.16 - 16 Apr 2004
761=============================
762 Ignore error setting selinux file context if fs doesn't support it.
763
ae69d470
AK
764Version 1.00.15 - 7 Apr 2004
765============================
766 Fix status overflow check in kernel patches.
767
f4a0e78d
AK
768Version 1.00.14 - 6 Apr 2004
769============================
770 Fix static selinux build.
771
4dfd146a
AK
772Version 1.00.13 - 6 Apr 2004
773============================
774 Add some basic selinux support.
775
4ea7e4b8 776Version 1.00.12 - 6 Apr 2004
4dfd146a 777============================
4ea7e4b8
AK
778 Fix dmsetup.static install.
779
0172d4f7 780Version 1.00.11 - 5 Apr 2004
4dfd146a 781============================
0172d4f7
AK
782 configure --enable-static_link does static build in addition to dynamic.
783 Moved Makefile library targets definition into template.
784
b31a37d7
AK
785Version 1.00.10 - 2 Apr 2004
786============================
787 Fix DESTDIR handling.
788 Static build installs to dmsetup.static.
789 Basic support for internationalisation.
790 Minor Makefile tidy-ups/fixes.
791
a03065dc
AK
792Version 1.00.09 - 31 Mar 2004
793=============================
6105d3a8
AK
794 Update copyright notices to Red Hat.
795 Move full mknodes functionality from dmsetup into libdevmapper.
796 Avoid sscanf %as for uClibc compatibility.
a03065dc
AK
797 Cope if DM_LIST_VERSIONS is not defined.
798 Add DM_LIST_VERSIONS functionality to kernel patches.
799 Generate new kernel patches for 2.4.26-rc1.
6105d3a8 800
a5777ba3 801Version 1.00.08 - 27 Feb 2004
a03065dc 802=============================
a5777ba3
AK
803 Added 'dmsetup targets'.
804 Added event_nr support to 'dmsetup wait'.
805 Updated dmsetup man page.
806 Allow logging function to be reset to use internal one.
807 Bring log macros in line with LVM2 ones.
808 Added 'make install_static_lib' which installs libdevmapper.a.
809 Made configure/makefiles closer to LVM2 versions.
810 Fixed DESTDIR for make install/install_static_lib.
811 Updated README/INSTALL to reflect move to sources.redhat.com.
812 Updated autoconf files to 2003-06-17.
This page took 0.215339 seconds and 5 git commands to generate.