]> sourceware.org Git - lvm2.git/blame - WHATS_NEW_DM
Update entry for few previous gcc cleanup commits.
[lvm2.git] / WHATS_NEW_DM
CommitLineData
726355fe
AK
1Version 1.02.42 -
2===================================
5eb7dfdd
MS
3 Add support for the "snapshot-merge" target.
4 Introduce a third activation_proiority level in dm_tree_activate_children.
726355fe 5
b6baf165
AK
6Version 1.02.41 - 12th January 2010
7===================================
f3ac7d1b 8 If DM_UDEV_DISABLE_CHECKING is set in environment, disable udev warnings.
cda69e17 9 Add dm_tree_add_dev_with_udev_flags to provide wider support for udev flags.
4998a004 10 Add --noudevrules option for dmsetup to disable /dev node management by udev.
12b64654
AK
11 Fix 'dmsetup info -c -o all' to show all fields.
12 Return errors if dm_tree_*_children functions fail.
685be1dc 13 Fix coredump and memory leak for 'dmsetup help -c'.
0d408f0c 14 Disable udev rules for change events with DISK_RO set.
b1bee9cd 15
31b2e7ed
AK
16Version 1.02.40 - 19th November 2009
17====================================
f145ddc9 18 Fix install_device-mapper Makefile target to not build dmeventd plugins.
584d1fb7 19 Support udev flags even when udev_sync is disabled or not compiled in.
938cf359 20 Remove 'last_rule' from udev rules: honour DM_UDEV_DISABLE_OTHER_RULES_FLAG.
9abf5e70
AK
21 Add dmsetup --inactive support.
22 Add dm_task_query_inactive_table to libdevmapper for kernel driver >= 4.16.
a8fb89ad 23 Fix hash lookup segfault when keys compared are different lengths.
cf177380 24
ebc9a27a
AK
25Version 1.02.39 - 26th October 2009
26===================================
772f7d41 27 Remove strict default permissions for DM devices from 95-dm-notify.rules.
5f1f31f9 28 Add dmsetup udevflags command to decode udev flags in given cookie value.
178dcb06 29 Support udev flags in libdevmapper incl. dm_tree_add_new_dev_with_udev_flags.
2cec0e45 30 Make libdm ABI consistent when built with/without selinux support.
ec0b34a9 31
9bc9dacc 32Version 1.02.38 - 25th September 2009
786e32bf 33=====================================
536f0e08 34 Export DM_DEV_DIR_UMASK, the default umask for /dev directories created.
9bc9dacc
AK
35 Handle any path supplied to dm_task_set_name by looking up in /dev/mapper.
36 Add several examples to 12-dm-permissions.rules.
37 Add splitname and --yes to dmsetup man page.
38 Fix _mirror_emit_segment_line return code.
39 Fix dmeventd _temporary_log_fn parameters. (2.02.50)
786e32bf 40
4b7033d3 41Version 1.02.37 - 15th September 2009
6087b158
AK
42=====================================
43 Add dmsetup manpage entries for udevcomplete_all and udevcookies.
44 Check udev is running when processing cookies and retain state internally.
45 Add y|--yes option to dmsetup for default 'yes' answer to prompts.
46 Fix tools Makefile to process dmsetup sources separately.
5f1c57d0 47 Restore umask when device node creation fails.
6087b158
AK
48 Check kernel vsn to use 'block_on_error' or 'handle_errors' in mirror table.
49 Add dm-log-userspace.h to tree for cmirrord builds.
adfb0e34 50
79e5594f
AK
51Version 1.02.36 - 6th August 2009
52=================================
53 Add udevcookies, udevcomplete, udevcomplete_all and --noudevwait to dmsetup.
bd90c6b2 54 Add libdevmapper functions to support synchronisation with udev.
28ae3fe7 55
d49aa42e 56Version 1.02.35 - 28th July 2009
26d7762b 57================================
d49aa42e
AK
58 Add LOG_LINE_WITH_ERRNO macro.
59 Use log_error macro consistently throughout in place of log_err.
26d7762b 60
9386a684 61Version 1.02.34 - 15th July 2009
4397ad38 62================================
eac6599c
AK
63 Use _exit() not exit() after forking to avoid flushing libc buffers twice.
64 Rename plog macro to LOG_LINE & add LOG_MESG variant for dm_dump_memory_debug.
a9cb6969
AK
65 Change plog to use dm_log_with_errno unless deprecated dm_log_init was used.
66 Add dm_log_with_errno and dm_log_with_errno_init, deprecating the old fns.
503f6280 67 Fix whitespace in linear target line to fix identical table line detection.
4b2cae46 68 Add device number to more log messages during activation.
4397ad38 69
e50c61d8 70Version 1.02.33 - 30th June 2009
4f901270 71================================
476d4633 72 Don't fallback to default major number: use dm_task_set_major_minor. (1.02.31)
01fb9ca9 73 Do not fork daemon when dmeventd cannot be found.
476d4633 74 Add crypt target handling to libdevmapper tree nodes.
896fc66e 75 Add splitname command to dmsetup.
9767eb44 76 Add subsystem, vg_name, lv_name, lv_layer fields to dmsetup reports.
c9ee4656 77 Make mempool optional in dm_split_lvm_name().
49c27642 78
25a2e7b8
AK
79Version 1.02.32 - 21st May 2009
80===============================
58e57a05
AK
81 Only generate libdevmapper.a when configured to link statically.
82 Export dm_tree_node_size_changed() from libdevmapper.
83 Propagate the table size_changed property up the dm device tree.
84 Detect failure to free memory pools when releasing the library.
85 Fix segfault when getopt processes dmsetup -U, -G and -M options.
ab5be5f0 86
33617240
AK
87Version 1.02.31 - 3rd March 2009
88================================
0f817d38 89 If kernel supports only one dm major number, use in place of any supplied.
30212562 90
c6a808f1 91Version 1.02.30 - 26th January 2009
07698bfd 92====================================
1f1aaf43 93 Add "all" field to reports expanding to all fields of report type.
c6a808f1
AK
94 Enforce device name length and character limitations in libdm.
95 Replace _dm_snprintf with EMIT_PARAMS macro for creating target lines.
07698bfd 96
b362d126
AK
97Version 1.02.29 - 10th November 2008
98====================================
99 Merge device-mapper into the LVM2 tree.
0b1bf1f5 100 Split out dm-logging.h from log.h.
4a065114 101 Use lvm-types.h.
620efe9c 102 Add usrsbindir to configure.
839e2e92 103
bb875bb9
AK
104Version 1.02.28 - 18th September 2008
105=====================================
106 Only resume devices in dm_tree_preload_children if size changes.
7d7d93ac 107 Extend deptree buffers so the largest possible device numbers fit.
bb875bb9 108 Generate versioned libdevmapper-event.so.
b6943304 109 Underline longer report help text headings.
5bb4711b 110
6e1898a5
AK
111Version 1.02.27 - 25th June 2008
112================================
9070816e 113 Align struct memblock in dbg_malloc for sparc.
ca8d363d 114 Add --unquoted and --rows to dmsetup.
dacf86a1 115 Avoid compiler warning about cast in dmsetup.c's OFFSET_OF macro.
afbf31eb 116 Fix inverted no_flush debug message.
034ceb60 117 Remove --enable-jobs from configure. (Set at runtime instead.)
fb7487a9 118 Bring configure.in and list.h into line with the lvm2 versions.
ec40d928 119
bccf22f6
AK
120Version 1.02.26 - 6th June 2008
121===============================
12ea7cb1 122 Initialise params buffer to empty string in _emit_segment.
b947f343
AK
123 Skip add_dev_node when ioctls disabled.
124 Make dm_hash_iter safe against deletion.
125 Accept a NULL pointer to dm_free silently.
82bacfc3 126 Add tables_loaded, readonly and suspended columns to reports.
0f4355d5 127 Add --nameprefixes to dmsetup.
c791f186 128 Add field name prefix option to reporting functions.
f44e3ff4 129 Calculate string size within dm_pool_grow_object.
c21b4393 130
3cffaeda
AK
131Version 1.02.25 - 10th April 2008
132=================================
448ef456 133 Remove redundant if-before-free tests.
ad1fc083 134 Use log_warn for reporting field help text instead of log_print.
d6d46615 135 Change cluster mirror log type name (s/clustered_/clustered-/)
72199adf 136
e8a4c170
AK
137Version 1.02.24 - 20th December 2007
138====================================
bafa2f39 139 Fix deptree to pass new name to _resume_node after a rename.
fc795d87 140 Suppress other node operations if node is deleted.
4a41a93a 141 Add node operation stack debug messages.
3a223416 142 Report error when empty device name passed to readahead functions.
de4ddace 143 Fix minimum readahead debug message.
34106874 144
8611f885
AK
145Version 1.02.23 - 5th December 2007
146===================================
fec8f838 147 Update dm-ioctl.h after removal of compat code.
8611f885 148 Add readahead support to libdevmapper and dmsetup.
52b84409 149 Fix double free in a libdevmapper-event error path.
5ca98cc2 150 Fix configure --with-dmeventd-path substitution.
482904cf 151 Allow a DM_DEV_DIR environment variable to override /dev in dmsetup.
8611f885
AK
152 Create a libdevmapper.so.$LIB_VERSION symlink within the build tree.
153 Avoid static link failure with some SELinux libraries that require libpthread.
1f84815c 154 Remove obsolete dmfs code from tree and update INSTALL.
6d7a6c4c 155
9cab88c5
AK
156Version 1.02.22 - 21st August 2007
157==================================
147d5fac 158 Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
7a197a62 159 Update to use autoconf 2.61, while still supporting 2.57.
ee80c0f0
AK
160 Avoid repeated dm_task free on some dm_event_get_registered_device errors.
161 Introduce log_sys_* macros from LVM2.
147d5fac 162 Export dm_fclose and dm_create_dir; remove libdm-file.h.
ee80c0f0
AK
163 Don't log EROFS mkdir failures in _create_dir_recursive (for LVM2).
164 Add fclose wrapper dm_fclose that catches write failures (using ferror).
a7ed0103 165
10fb6b1b 166Version 1.02.21 - 13th July 2007
6dee7d31 167================================
10fb6b1b 168 Introduce _LOG_STDERR to send log_warn() messages to stderr not stdout.
448ef456 169 Fix dmsetup -o devno string termination. (1.02.20)
6dee7d31 170
8f1fb4ad
AK
171Version 1.02.20 - 15th June 2007
172================================
117d8597
AK
173 Fix default dmsetup report buffering and add --unbuffered.
174 Add tree-based and dependency fields to dmsetup reports.
ffd5c5c8 175
e3a12d14
AK
176Version 1.02.19 - 27th April 2007
177=================================
42c79822 178 Standardise protective include file #defines.
38862fcd 179 Add regex functions to library.
af998ff6 180 Avoid trailing separator in reports when there are hidden sort fields.
d59b2474 181 Fix segfault in 'dmsetup status' without --showkeys against crypt target.
8d2b0f24 182 Deal with some more compiler warnings.
7b74504f 183 Introduce _add_field() and _is_same_field() to libdm-report.c.
727f2662 184 Fix some libdevmapper-event and dmeventd memory leaks.
c2784df4 185 Remove unnecessary memset() return value checks.
012869d6 186 Fix a few leaks in reporting error paths. [1.02.15+]
2f2c9932 187
187c689f
AK
188Version 1.02.18 - 13th February 2007
189====================================
112d09de 190 Improve dmeventd messaging protocol: drain pipe and tag messages.
3a7ec38f 191
096470d4 192Version 1.02.17 - 29th January 2007
67fa4fd4 193===================================
34c71071
AK
194 Add recent reporting options to dmsetup man page.
195 Revise some report fields names.
e3f6460b 196 Add dmsetup 'help' command and update usage text.
95b42470 197 Use fixed-size fields in report interface and reorder.
67fa4fd4 198
667eb775 199Version 1.02.16 - 25th January 2007
07473c2b 200===================================
232da7ec 201 Add some missing close() and fclose() return value checks.
d3368420 202 Migrate dmsetup column-based output over to new libdevmapper report framework.
85feafd9 203 Add descriptions to reporting field definitions.
d28dfb57 204 Add a dso-private variable to dmeventd dso interface.
4dcaa230
AK
205 Add dm_event_handler_[gs]et_timeout functions.
206 Streamline dm_report_field_* interface.
fcdf2e09 207 Add cmdline debug & version options to dmeventd.
866a1a08 208 Add DM_LIB_VERSION definition to configure.h.
09e206d3 209 Suppress 'Unrecognised field' error if report field is 'help'.
03c69792
AK
210 Add --separator and --sort to dmsetup (unused).
211 Make alignment flag optional when specifying report fields.
212
c3afa8df 213Version 1.02.15 - 17th January 2007
99a4014f 214===================================
61997bb9 215 Add basic reporting functions to libdevmapper.
528329f1 216 Fix a malloc error path in dmsetup message.
931d24a4
AK
217 More libdevmapper-event interface changes and fixes.
218 Rename dm_saprintf() to dm_asprintf().
080f3fa1 219 Report error if NULL pointer is supplied to dm_strdup_aux().
c8ee3820 220 Reinstate dm_event_get_registered_device.
99a4014f 221
96710ad8
AK
222Version 1.02.14 - 11th January 2007
223===================================
31652486 224 Add dm_saprintf().
4594807a 225 Use CFLAGS when linking so mixed sparc builds can supply -m64.
b9ffd32c 226 Add dm_tree_use_no_flush_suspend().
31652486 227 Lots of dmevent changes including revised interface.
5b95f178
AK
228 Export dm_basename().
229 Cope with a trailing space when comparing tables prior to possible reload.
0c8569ed 230 Fix dmeventd to cope if monitored device disappears.
9a81f9fe 231
794aa506 232Version 1.02.13 - 28 Nov 2006
a8e13f05 233=============================
3488c9b3 234 Update dmsetup man page (setgeometry & message).
981bf64f 235 Fix dmsetup free after getline with debug.
475be6ab 236 Suppress encryption key in 'dmsetup table' output unless --showkeys supplied.
a8e13f05 237
905bdb24
AK
238Version 1.02.12 - 13 Oct 2006
239=============================
b700541f 240 Avoid deptree attempting to suspend a device that's already suspended.
89a4e806 241
98865154
AK
242Version 1.02.11 - 12 Oct 2006
243==============================
f916f0a7
AK
244 Add suspend noflush support.
245 Add basic dmsetup loop support.
4c69dc95 246 Switch dmsetup to use dm_malloc and dm_free.
3ccf241d 247
c27dca1a
AK
248Version 1.02.10 - 19 Sep 2006
249=============================
9e063b22 250 Add dm_snprintf(), dm_split_words() and dm_split_lvm_name() to libdevmapper.
d6a93541 251 Reorder mm bounds_check code to reduce window for a dmeventd race.
89529aa0 252
61160049 253Version 1.02.09 - 15 Aug 2006
c27dca1a 254=============================
8df67fbf
AK
255 Add --table argument to dmsetup for a one-line table.
256 Abort if errors are found during cmdline option processing.
433b160f 257 Add lockfs indicator to debug output.
7a21367d 258
cecdabd9
AK
259Version 1.02.08 - 17 July 2006
260==============================
332a8007 261 Append full patch to check in emails.
813f844b 262 Avoid duplicate dmeventd subdir with 'make distclean'.
1ea19b10
AK
263 Update dmsetup man page.
264 Add --force to dmsetup remove* to load error target.
ad65c5f1 265 dmsetup remove_all also performs mknodes.
def6f767 266 Don't suppress identical table reloads if permission changes.
311d6d81
AK
267 Fix corelog segment line.
268 Suppress some compiler warnings.
476d09d0 269
2bfdaded 270Version 1.02.07 - 11 May 2006
a54b98e5 271=============================
9723090c 272 Add DM_CORELOG flag to dm_tree_node_add_mirror_target().
2a99b5b8 273 Avoid a dmeventd compiler warning.
a54b98e5 274
f6e07802 275Version 1.02.06 - 10 May 2006
a0e9de70 276=============================
6657d5b6 277 Move DEFS into configure.h.
7dc850db 278 Fix leaks in error paths found by coverity.
6657d5b6 279 Remove dmsetup line buffer limitation.
a0e9de70 280
a669fcc5 281Version 1.02.05 - 19 Apr 2006
3ab3766f 282=============================
d81e3d0b
AK
283 Separate install_include target in makefiles.
284 Separate out DEFS from CFLAGS.
285 Support pkg-config.
286 Check for libsepol.
3ab3766f 287
7fae84d7
AK
288Version 1.02.04 - 14 Apr 2006
289=============================
823a3644 290 Bring dmsetup man page up-to-date.
99048d18
AK
291 Use name-based device refs if kernel doesn't support device number refs.
292 Fix memory leak (struct dm_ioctl) when struct dm_task is reused.
73f378f2 293 If _create_and_load_v4 fails part way through, revert the creation.
9ab77012 294 dmeventd thread/fifo fixes.
f4db3724 295 Add file & line to dm_strdup_aux().
6ef080af 296 Add setgeometry.
435c852f 297
b5f90860 298Version 1.02.03 - 7 Feb 2006
c6b966c8 299============================
b5d8ff10 300 Add exported functions to set uid, gid and mode.
5e3bd867 301 Rename _log to dm_log and export.
c55b1410 302 Add dm_tree_skip_lockfs.
fe94f9f1 303 Fix dm_strdup debug definition.
b6b0c621 304 Fix hash function to avoid using a negative array offset.
e7ab6006
AK
305 Don't inline _find in hash.c and tidy signed/unsigned etc.
306 Fix libdevmapper.h #endif.
7a3fb6b2 307 Fix dmsetup version driver version.
dbcb64b8
AK
308 Add sync, nosync and block_on_error mirror log parameters.
309 Add hweight32.
3c588200 310 Fix dmeventd build.
c6b966c8 311
bbdff85a
AK
312Version 1.02.02 - 2 Dec 2005
313============================
105c631e 314 dmeventd added.
774ed5fc
AK
315 Export dm_task_update_nodes.
316 Use names instead of numbers in messages when ioctls fail.
cbe19a56 317
ef8bc786 318Version 1.02.01 - 23 Nov 2005
0c32d9db 319=============================
842392c2 320 Resume snapshot-origins last.
ec289b64
AK
321 Drop leading zeros from dm_format_dev.
322 Suppress attempt to reload identical table.
87f98002 323 Additional LVM- prefix matching for transitional period.
0c32d9db 324
da5edd8e 325Version 1.02.00 - 10 Nov 2005
b277f1e9 326=============================
b4f1578f
AK
327 Added activation functions to library.
328 Added return macros.
19f792df 329 Also suppress error if device doesn't exist with DM_DEVICE_STATUS.
3aeb5690 330 Export dm_set_selinux_context().
ffc88f2e 331 Add dm_driver_version().
3d0480ed 332 Added dependency tree functions to library.
a3f6b2ce 333 Added hash, bitset, pool, dbg_malloc to library.
3d0480ed
AK
334 Added ls --tree to dmsetup.
335 Added dmsetup --nolockfs support for suspend/reload.
b277f1e9 336
d7c1c43d 337Version 1.01.05 - 26 Sep 2005
d07af063 338=============================
4afac84c 339 Resync list.h with LVM2.
59a2bf62 340 Remember increased buffer size and use for subsequent calls.
4e16b1e7 341 On 'buffer full' condition, double buffer size and repeat ioctl.
69cfb920 342 Fix termination of getopt_long() option array.
e817a0b3 343 Report 'buffer full' condition with v4 ioctl as well as with v1.
d07af063 344
91eb42be 345Version 1.01.04 - 2 Aug 2005
d7c1c43d 346============================
a7c3ee38
AK
347 Fix dmsetup ls -j and status --target with empty table.
348
c8c07bbe 349Version 1.01.03 - 13 Jun 2005
37e8356b 350=============================
c8c07bbe 351 Use matchpathcon mode parameter.
42401a65 352 Fix configure script to re-enable selinux.
37e8356b 353
d910e40d 354Version 1.01.02 - 17 May 2005
9629f7a9 355=============================
ebf21d3f 356 Call dm_lib_exit() and dm_lib_release() automatically now.
2272500b 357 Add --target <target_type> filter to dmsetup table/status/ls.
b7c70050 358 Add --exec <command> to dmsetup ls.
67f10950 359 Fix dmsetup getopt_long usage.
9629f7a9 360
e015b627 361Version 1.01.01 - 29 Mar 2005
c080b460 362=============================
e015b627 363 Update dmsetup man page.
969e08da 364 Drop-in devmap_name replacement.
3d2aecf0 365 Add option to compile without ioctl for testing.
4608bcdc 366 Fix DM_LIB_VERSION sed.
c080b460 367
e5bb96fe
AK
368Version 1.01.00 - 17 Jan 2005
369=============================
8e2dd0df 370 Add dm_task_no_open_count() to skip getting open_count.
72fdf10a 371
4f6c33c8 372Version 1.00.21 - 7 Jan 2005
99dffafb 373============================
eaf48efc 374 Fix /proc/devices parsing.
99dffafb 375
7b1f32dc
AK
376Version 1.00.20 - 6 Jan 2005
377============================
f34c169a 378 Attempt to fix /dev/mapper/control transparently if it's wrong.
6b70629c 379 Configuration-time option for setting uid/gid/mode for /dev/mapper nodes.
76bcada9 380 Update kernel patches for 2.4.27/2.4.28-pre-4 (includes minor fixes).
45ae32da 381 Add --noheadings columns option for colon-separated dmsetup output.
3f096a6c
AK
382 Support device referencing by uuid or major/minor.
383 Warn if kernel data didn't fit in buffer.
2d7f9f0b 384 Fix a printf.
3b55d300 385
3bbe3735 386Version 1.00.19 - 3 July 2004
8bad0339 387=============================
3bbe3735
AK
388 More autoconf fixes.
389 Fix a dmsetup newline.
8bad0339
AK
390 Fix device number handling for 2.6 kernels.
391
33609582 392Version 1.00.18 - 20 Jun 2004
62cec9b2 393=============================
33609582
AK
394 Fix a uuid free in libdm-iface.
395 Fix a targets string size calc in driver.
32c5ad86 396 Add -c to dmsetup for column-based output.
62cec9b2
AK
397 Add target message-passing ioctl.
398
a38df97f
AK
399Version 1.00.17 - 17 Apr 2004
400=============================
401 configure --with-owner= --with-group= to avoid -o and -g args to 'install'
93f0ca86 402 Fix library selinux linking.
a38df97f 403
121c5c06
AK
404Version 1.00.16 - 16 Apr 2004
405=============================
406 Ignore error setting selinux file context if fs doesn't support it.
407
ae69d470
AK
408Version 1.00.15 - 7 Apr 2004
409============================
410 Fix status overflow check in kernel patches.
411
f4a0e78d
AK
412Version 1.00.14 - 6 Apr 2004
413============================
414 Fix static selinux build.
415
4dfd146a
AK
416Version 1.00.13 - 6 Apr 2004
417============================
418 Add some basic selinux support.
419
4ea7e4b8 420Version 1.00.12 - 6 Apr 2004
4dfd146a 421============================
4ea7e4b8
AK
422 Fix dmsetup.static install.
423
0172d4f7 424Version 1.00.11 - 5 Apr 2004
4dfd146a 425============================
0172d4f7
AK
426 configure --enable-static_link does static build in addition to dynamic.
427 Moved Makefile library targets definition into template.
428
b31a37d7
AK
429Version 1.00.10 - 2 Apr 2004
430============================
431 Fix DESTDIR handling.
432 Static build installs to dmsetup.static.
433 Basic support for internationalisation.
434 Minor Makefile tidy-ups/fixes.
435
a03065dc
AK
436Version 1.00.09 - 31 Mar 2004
437=============================
6105d3a8
AK
438 Update copyright notices to Red Hat.
439 Move full mknodes functionality from dmsetup into libdevmapper.
440 Avoid sscanf %as for uClibc compatibility.
a03065dc
AK
441 Cope if DM_LIST_VERSIONS is not defined.
442 Add DM_LIST_VERSIONS functionality to kernel patches.
443 Generate new kernel patches for 2.4.26-rc1.
6105d3a8 444
a5777ba3 445Version 1.00.08 - 27 Feb 2004
a03065dc 446=============================
a5777ba3
AK
447 Added 'dmsetup targets'.
448 Added event_nr support to 'dmsetup wait'.
449 Updated dmsetup man page.
450 Allow logging function to be reset to use internal one.
451 Bring log macros in line with LVM2 ones.
452 Added 'make install_static_lib' which installs libdevmapper.a.
453 Made configure/makefiles closer to LVM2 versions.
454 Fixed DESTDIR for make install/install_static_lib.
455 Updated README/INSTALL to reflect move to sources.redhat.com.
456 Updated autoconf files to 2003-06-17.
This page took 0.117891 seconds and 5 git commands to generate.