]>
Commit | Line | Data |
---|---|---|
6c7b95f2 | 1 | Version 1.02.62 - 4th February 2011 |
0825c244 | 2 | =================================== |
6c7b95f2 AK |
3 | Add --addnodeonresume and --addnodeoncreate options to dmsetup. |
4 | Add dm_task_set_add_node to libdevmapper to control dev node creation time. | |
2b29daaa | 5 | Add dm_task_secure_data to libdevmapper to wipe ioctl buffers in kernel. |
6c7b95f2 AK |
6 | Log debug message when expected uevent is not generated. |
7 | Only compile memory debugging code when DEBUG_MEM is set. | |
7fa7632d | 8 | Set DM_UDEV_DISABLE_OTHER_RULES_FLAG for suspended DM devices in udev rules. |
6c7b95f2 | 9 | Begin a new pool object for each row in _output_as_rows() correctly. |
0825c244 | 10 | |
606d0858 AK |
11 | Version 1.02.61 - 10th January 2011 |
12 | =================================== | |
b3c6850b | 13 | Add DM_COOKIE_AUTO_CREATE to libdevmapper.h. |
8d5391f1 | 14 | Export DM_CONTROL_NODE_UMASK and use it while creating /dev/mapper/control. |
c37f0c7d | 15 | |
ad18cacf AK |
16 | Version 1.02.60 - 20th December 2010 |
17 | ==================================== | |
18 | Check for unlink failure in remove_lockfile() in dmeventd. | |
19 | Use dm_free for dm_malloc-ed areas in _clog_ctr/_clog_dtr in cmirrord. | |
20 | Use char* arithmetic in _process_all() & _targets() in dmsetup. | |
303923fb | 21 | Change dm_regex_create() API to accept const char * const *patterns. |
7dfce0e4 PR |
22 | Add new dm_prepare_selinux_context fn to libdevmapper and use it throughout. |
23 | Detect existence of new SELinux selabel interface during configure. | |
122ba73e | 24 | |
9d031322 AK |
25 | Version 1.02.59 - 6th December 2010 |
26 | =================================== | |
ea7c621b | 27 | Add backtraces to _process_mapper_dir and _create_and_load_v4 error paths. |
1415afcd | 28 | Remove superfluous checks for NULL before calling dm_free. |
663886b9 | 29 | |
2151f044 AK |
30 | Version 1.02.58 - 22nd November 2010 |
31 | ==================================== | |
ef3d8e18 | 32 | Fix _output_field crash from field_id free with DEBUG_MEM. (1.02.57) |
ae1a8330 | 33 | |
962e6781 | 34 | Version 1.02.57 - 8th November 2010 |
779c1100 | 35 | =================================== |
962e6781 AK |
36 | Fix regex optimiser not to ignore RHS of OR nodes in _find_leftmost_common. |
37 | Add dmeventd -R to restart dmeventd without losing monitoring state. (1.02.56) | |
a83c7816 PR |
38 | Fix memory leak of field_id in _output_field function. |
39 | Allocate buffer for reporting functions dynamically to support long outputs. | |
779c1100 | 40 | |
2aa06d73 AK |
41 | Version 1.02.56 - 25th October 2010 |
42 | =================================== | |
43 | Return const pointer from dm_basename() in libdevmapper. | |
44 | Implement dmeventd -R to restart without state loss. | |
45 | Add dm_zalloc and use it and dm_pool_zalloc throughout. | |
57a82794 AK |
46 | Add --setuuid to dmsetup rename. |
47 | Add dm_task_set_newuuid to set uuid of mapped device post-creation. | |
44a31a9c | 48 | |
87368c35 | 49 | Version 1.02.55 - 24th September 2010 |
a171bb6e | 50 | ===================================== |
87368c35 | 51 | Fix the way regions are marked complete to avoid slow --nosync cmirror I/O. |
a171bb6e | 52 | Add DM_REPORT_FIELD_TYPE_ID_LEN to libdevmapper.h. |
7dbfd06d | 53 | |
523fad91 AK |
54 | Version 1.02.54 - 18th August 2010 |
55 | ================================== | |
88b97d8f | 56 | Fix dm-mod autoloading logic to not assume control node is set correctly. |
d1e8046f AK |
57 | Add dmeventd/executable to lvm.conf to test alternative dmeventd. |
58 | Export dm_event_handler_set_dmeventd_path to override built-in dmeventd path. | |
59 | Generate libdevmapper-event exported symbols. | |
470c1884 | 60 | Remove superfluous NULL pointer tests before dm_free from dmeventd. |
f069a14c | 61 | Assume dm-mod autoloading support is in kernel 2.6.36 and higher, not 2.6.35. |
a6a66e7c | 62 | Fix udev rules to support udev database content generated by older rules. |
b045f4fe | 63 | Reinstate detection of inappropriate uevent with DISK_RO set and suppress it. |
523fad91 AK |
64 | Fix regex ttree off-by-one error. |
65 | Add --enable-valgrind-pool to configure. | |
dc39d2a6 | 66 | Fix segfault in regex matcher with characters of ordinal value > 127. |
523fad91 | 67 | Fix 'void*' arithmetic warnings in dbg_malloc.c and libdm-iface.c. |
0a89c230 | 68 | Wait for node creation before displaying debug info in dmsetup. |
c8675c49 | 69 | Fix return status 0 for "dmsetup info -c -o help". |
d8742744 | 70 | Add check for kernel semaphore support and disable udev_sync if not available. |
e9438785 | 71 | |
cdb675c0 | 72 | Version 1.02.53 - 28th July 2010 |
111c120e | 73 | ================================ |
e12a5243 | 74 | Revert failed table load preparation after "create, load and resume". |
8c4e8a18 FDN |
75 | Switch dmeventd to use dm_create_lockfile and drop duplicate code. |
76 | Add dm_create_lockfile to libdm to handle pidfiles for all daemons. | |
09ba95b2 AK |
77 | Replace lookup with next in struct dfa_state & calculate states on demand. |
78 | Improve the regex matcher, reducing the number of charset nodes used. | |
79 | Add dm_regex_fingerprint to facilitate regex testing. | |
80 | Skip ffs(0) in _test_word in bitset functions. | |
02adb0cd | 81 | Use "nowatch" udev rule for inappropriate devices. |
6aecef2c | 82 | |
9a54c1a7 AK |
83 | Version 1.02.52 - 6th July 2010 |
84 | =============================== | |
8c54f1a9 | 85 | Fix dmlosetup snprintf %llu compiler warning. |
44cd0f47 | 86 | Add parentheses to some libdevmapper.h macro arguments. |
db3c1ac1 | 87 | Add printf format attributes to dm_{sn,as}printf and fix a caller. |
22a85923 | 88 | Move dmeventd man page from install_lvm2 to install_device-mapper. (1.02.50) |
c304818d | 89 | |
4e118517 | 90 | Version 1.02.51 - 30th June 2010 |
1ed3c7cc | 91 | ================================ |
4e118517 | 92 | Generate libdevmapper exported symbols from header file. |
1ed3c7cc | 93 | |
d2cd8375 AK |
94 | Version 1.02.50 - 23rd June 2010 |
95 | ================================ | |
85691c0a | 96 | Fix INTERNAL_ERROR typo in ioctl iface unknown task message. |
acc70bce | 97 | Fix udev rules to handle spurious events properly. |
85691c0a AK |
98 | Use C99 [] not [0] in dm_ulog_request struct to avoid abort when fortified. |
99 | Allow use of devmapper header file in C++ mode (extern "C" and __typeof__). | |
d2cd8375 | 100 | Add dmeventd man page. |
a5e14884 | 101 | |
1a526b3c AK |
102 | Version 1.02.49 - 4th June 2010 |
103 | =============================== | |
104 | Support autoloading of dm-mod module for kernels from 2.6.35. | |
1a3b5854 | 105 | Document 'clear' in dmsetup man page. |
1a526b3c AK |
106 | Fix semctl parameter (union) to avoid misaligned parameter on some arches. |
107 | Add dm_tree_node_set_presuspend_node() to presuspend child when deactivating. | |
108 | Initial support for replicator target. | |
ead120eb | 109 | |
a988efda AK |
110 | Version 1.02.48 - 17th May 2010 |
111 | ================================ | |
bdadde2f AK |
112 | Use -d to control level of messages sent to syslog by dmeventd. |
113 | Change -d to -f to run dmeventd in foreground. | |
b1d18889 | 114 | Do not print encryption key in message debug output (cryptsetup luksResume). |
a988efda AK |
115 | Fix dmeventd static build library dependencies. |
116 | Fix udev flags on remove in create_and_load error path. | |
bde29bc4 | 117 | |
3ceb7608 | 118 | Version 1.02.47 - 30th April 2010 |
adfdf8bb | 119 | ================================= |
942d6ef2 PR |
120 | Add support for new IMPORT{db} udev rule. |
121 | Add DM_UDEV_PRIMARY_SOURCE_FLAG udev flag to recognize proper DM events. | |
25784822 | 122 | Also include udev libs in libdevmapper.pc when udev_sync is enabled. |
e07803f9 | 123 | Cache bitset locations to speed up _calc_states. |
9783e5ae | 124 | Add a regex optimisation pass for shared prefixes and suffixes. |
49ada7a2 | 125 | Add dm_bit_and and dm_bitset_equal to libdevmapper. |
175b8684 | 126 | Simplify dm_bitset_create. |
72ab7270 | 127 | Speed up dm_bit_get_next with ffs(). |
adfdf8bb | 128 | |
2e79014b AK |
129 | Version 1.02.46 - 14th April 2010 |
130 | ================================= | |
f55021f4 AK |
131 | Change dm_tree_deactivate_children to fail if device is open. |
132 | Wipe memory buffers for dm-ioctl parameters before releasing. | |
91345610 | 133 | Strictly require libudev if udev_sync is used. |
ac3691f7 | 134 | Add support for ioctl's DM_UEVENT_GENERATED_FLAG. |
75b8a10e | 135 | |
ba8fd82a AK |
136 | Version 1.02.45 - 9th March 2010 |
137 | ================================ | |
138 | Add --showkeys parameter description to dmsetup man page. | |
139 | Add --help option as synonym for help command. | |
9e7b0091 | 140 | |
c97cbf8c AK |
141 | Version 1.02.44 - 15th February 2010 |
142 | ==================================== | |
f0e073fc PR |
143 | Add DM_UDEV_DISABLE_LIBRARY_FALLBACK udev flag to rely on udev only. |
144 | Export dm_udev_create_cookie function to create new cookies on demand. | |
c97cbf8c AK |
145 | Add --udevcookie, udevcreatecookie and udevreleasecookie to dmsetup. |
146 | Set udev state automatically instead of using DM_UDEV_DISABLE_CHECKING. | |
30265f6a | 147 | |
1014cf87 | 148 | Version 1.02.43 - 21st January 2010 |
80b664f5 | 149 | =================================== |
1014cf87 | 150 | Remove bitset, hash and pool headers superceded by libdevmapper.h. |
ed2bef01 | 151 | Fix off-by-one error causing bad cluster mirror table construction. |
80b664f5 | 152 | |
73c47fae | 153 | Version 1.02.42 - 14th January 2010 |
726355fe | 154 | =================================== |
73c47fae AK |
155 | Add support for the "snapshot-merge" kernel target (2.6.33-rc1). |
156 | Introduce a third activation_priority level in dm_tree_activate_children. | |
726355fe | 157 | |
b6baf165 AK |
158 | Version 1.02.41 - 12th January 2010 |
159 | =================================== | |
f3ac7d1b | 160 | If DM_UDEV_DISABLE_CHECKING is set in environment, disable udev warnings. |
cda69e17 | 161 | Add dm_tree_add_dev_with_udev_flags to provide wider support for udev flags. |
4998a004 | 162 | Add --noudevrules option for dmsetup to disable /dev node management by udev. |
12b64654 AK |
163 | Fix 'dmsetup info -c -o all' to show all fields. |
164 | Return errors if dm_tree_*_children functions fail. | |
685be1dc | 165 | Fix coredump and memory leak for 'dmsetup help -c'. |
0d408f0c | 166 | Disable udev rules for change events with DISK_RO set. |
b1bee9cd | 167 | |
31b2e7ed AK |
168 | Version 1.02.40 - 19th November 2009 |
169 | ==================================== | |
f145ddc9 | 170 | Fix install_device-mapper Makefile target to not build dmeventd plugins. |
584d1fb7 | 171 | Support udev flags even when udev_sync is disabled or not compiled in. |
938cf359 | 172 | Remove 'last_rule' from udev rules: honour DM_UDEV_DISABLE_OTHER_RULES_FLAG. |
9abf5e70 AK |
173 | Add dmsetup --inactive support. |
174 | Add dm_task_query_inactive_table to libdevmapper for kernel driver >= 4.16. | |
a8fb89ad | 175 | Fix hash lookup segfault when keys compared are different lengths. |
cf177380 | 176 | |
ebc9a27a AK |
177 | Version 1.02.39 - 26th October 2009 |
178 | =================================== | |
772f7d41 | 179 | Remove strict default permissions for DM devices from 95-dm-notify.rules. |
5f1f31f9 | 180 | Add dmsetup udevflags command to decode udev flags in given cookie value. |
178dcb06 | 181 | Support udev flags in libdevmapper incl. dm_tree_add_new_dev_with_udev_flags. |
2cec0e45 | 182 | Make libdm ABI consistent when built with/without selinux support. |
ec0b34a9 | 183 | |
9bc9dacc | 184 | Version 1.02.38 - 25th September 2009 |
786e32bf | 185 | ===================================== |
536f0e08 | 186 | Export DM_DEV_DIR_UMASK, the default umask for /dev directories created. |
9bc9dacc AK |
187 | Handle any path supplied to dm_task_set_name by looking up in /dev/mapper. |
188 | Add several examples to 12-dm-permissions.rules. | |
189 | Add splitname and --yes to dmsetup man page. | |
190 | Fix _mirror_emit_segment_line return code. | |
191 | Fix dmeventd _temporary_log_fn parameters. (2.02.50) | |
786e32bf | 192 | |
4b7033d3 | 193 | Version 1.02.37 - 15th September 2009 |
6087b158 AK |
194 | ===================================== |
195 | Add dmsetup manpage entries for udevcomplete_all and udevcookies. | |
196 | Check udev is running when processing cookies and retain state internally. | |
197 | Add y|--yes option to dmsetup for default 'yes' answer to prompts. | |
198 | Fix tools Makefile to process dmsetup sources separately. | |
5f1c57d0 | 199 | Restore umask when device node creation fails. |
6087b158 AK |
200 | Check kernel vsn to use 'block_on_error' or 'handle_errors' in mirror table. |
201 | Add dm-log-userspace.h to tree for cmirrord builds. | |
adfb0e34 | 202 | |
79e5594f AK |
203 | Version 1.02.36 - 6th August 2009 |
204 | ================================= | |
205 | Add udevcookies, udevcomplete, udevcomplete_all and --noudevwait to dmsetup. | |
bd90c6b2 | 206 | Add libdevmapper functions to support synchronisation with udev. |
28ae3fe7 | 207 | |
d49aa42e | 208 | Version 1.02.35 - 28th July 2009 |
26d7762b | 209 | ================================ |
d49aa42e AK |
210 | Add LOG_LINE_WITH_ERRNO macro. |
211 | Use log_error macro consistently throughout in place of log_err. | |
26d7762b | 212 | |
9386a684 | 213 | Version 1.02.34 - 15th July 2009 |
4397ad38 | 214 | ================================ |
eac6599c AK |
215 | Use _exit() not exit() after forking to avoid flushing libc buffers twice. |
216 | Rename plog macro to LOG_LINE & add LOG_MESG variant for dm_dump_memory_debug. | |
a9cb6969 AK |
217 | Change plog to use dm_log_with_errno unless deprecated dm_log_init was used. |
218 | Add dm_log_with_errno and dm_log_with_errno_init, deprecating the old fns. | |
503f6280 | 219 | Fix whitespace in linear target line to fix identical table line detection. |
4b2cae46 | 220 | Add device number to more log messages during activation. |
4397ad38 | 221 | |
e50c61d8 | 222 | Version 1.02.33 - 30th June 2009 |
4f901270 | 223 | ================================ |
476d4633 | 224 | Don't fallback to default major number: use dm_task_set_major_minor. (1.02.31) |
01fb9ca9 | 225 | Do not fork daemon when dmeventd cannot be found. |
476d4633 | 226 | Add crypt target handling to libdevmapper tree nodes. |
896fc66e | 227 | Add splitname command to dmsetup. |
9767eb44 | 228 | Add subsystem, vg_name, lv_name, lv_layer fields to dmsetup reports. |
c9ee4656 | 229 | Make mempool optional in dm_split_lvm_name(). |
49c27642 | 230 | |
25a2e7b8 AK |
231 | Version 1.02.32 - 21st May 2009 |
232 | =============================== | |
58e57a05 AK |
233 | Only generate libdevmapper.a when configured to link statically. |
234 | Export dm_tree_node_size_changed() from libdevmapper. | |
235 | Propagate the table size_changed property up the dm device tree. | |
236 | Detect failure to free memory pools when releasing the library. | |
237 | Fix segfault when getopt processes dmsetup -U, -G and -M options. | |
ab5be5f0 | 238 | |
33617240 AK |
239 | Version 1.02.31 - 3rd March 2009 |
240 | ================================ | |
0f817d38 | 241 | If kernel supports only one dm major number, use in place of any supplied. |
30212562 | 242 | |
c6a808f1 | 243 | Version 1.02.30 - 26th January 2009 |
07698bfd | 244 | ==================================== |
1f1aaf43 | 245 | Add "all" field to reports expanding to all fields of report type. |
c6a808f1 AK |
246 | Enforce device name length and character limitations in libdm. |
247 | Replace _dm_snprintf with EMIT_PARAMS macro for creating target lines. | |
07698bfd | 248 | |
b362d126 AK |
249 | Version 1.02.29 - 10th November 2008 |
250 | ==================================== | |
251 | Merge device-mapper into the LVM2 tree. | |
0b1bf1f5 | 252 | Split out dm-logging.h from log.h. |
4a065114 | 253 | Use lvm-types.h. |
620efe9c | 254 | Add usrsbindir to configure. |
839e2e92 | 255 | |
bb875bb9 AK |
256 | Version 1.02.28 - 18th September 2008 |
257 | ===================================== | |
258 | Only resume devices in dm_tree_preload_children if size changes. | |
7d7d93ac | 259 | Extend deptree buffers so the largest possible device numbers fit. |
bb875bb9 | 260 | Generate versioned libdevmapper-event.so. |
b6943304 | 261 | Underline longer report help text headings. |
5bb4711b | 262 | |
6e1898a5 AK |
263 | Version 1.02.27 - 25th June 2008 |
264 | ================================ | |
9070816e | 265 | Align struct memblock in dbg_malloc for sparc. |
ca8d363d | 266 | Add --unquoted and --rows to dmsetup. |
dacf86a1 | 267 | Avoid compiler warning about cast in dmsetup.c's OFFSET_OF macro. |
afbf31eb | 268 | Fix inverted no_flush debug message. |
034ceb60 | 269 | Remove --enable-jobs from configure. (Set at runtime instead.) |
fb7487a9 | 270 | Bring configure.in and list.h into line with the lvm2 versions. |
ec40d928 | 271 | |
bccf22f6 AK |
272 | Version 1.02.26 - 6th June 2008 |
273 | =============================== | |
12ea7cb1 | 274 | Initialise params buffer to empty string in _emit_segment. |
b947f343 AK |
275 | Skip add_dev_node when ioctls disabled. |
276 | Make dm_hash_iter safe against deletion. | |
277 | Accept a NULL pointer to dm_free silently. | |
82bacfc3 | 278 | Add tables_loaded, readonly and suspended columns to reports. |
0f4355d5 | 279 | Add --nameprefixes to dmsetup. |
c791f186 | 280 | Add field name prefix option to reporting functions. |
f44e3ff4 | 281 | Calculate string size within dm_pool_grow_object. |
c21b4393 | 282 | |
3cffaeda AK |
283 | Version 1.02.25 - 10th April 2008 |
284 | ================================= | |
448ef456 | 285 | Remove redundant if-before-free tests. |
ad1fc083 | 286 | Use log_warn for reporting field help text instead of log_print. |
d6d46615 | 287 | Change cluster mirror log type name (s/clustered_/clustered-/) |
72199adf | 288 | |
e8a4c170 AK |
289 | Version 1.02.24 - 20th December 2007 |
290 | ==================================== | |
bafa2f39 | 291 | Fix deptree to pass new name to _resume_node after a rename. |
fc795d87 | 292 | Suppress other node operations if node is deleted. |
4a41a93a | 293 | Add node operation stack debug messages. |
3a223416 | 294 | Report error when empty device name passed to readahead functions. |
de4ddace | 295 | Fix minimum readahead debug message. |
34106874 | 296 | |
8611f885 AK |
297 | Version 1.02.23 - 5th December 2007 |
298 | =================================== | |
fec8f838 | 299 | Update dm-ioctl.h after removal of compat code. |
8611f885 | 300 | Add readahead support to libdevmapper and dmsetup. |
52b84409 | 301 | Fix double free in a libdevmapper-event error path. |
5ca98cc2 | 302 | Fix configure --with-dmeventd-path substitution. |
482904cf | 303 | Allow a DM_DEV_DIR environment variable to override /dev in dmsetup. |
8611f885 AK |
304 | Create a libdevmapper.so.$LIB_VERSION symlink within the build tree. |
305 | Avoid static link failure with some SELinux libraries that require libpthread. | |
1f84815c | 306 | Remove obsolete dmfs code from tree and update INSTALL. |
6d7a6c4c | 307 | |
9cab88c5 AK |
308 | Version 1.02.22 - 21st August 2007 |
309 | ================================== | |
147d5fac | 310 | Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. |
7a197a62 | 311 | Update to use autoconf 2.61, while still supporting 2.57. |
ee80c0f0 AK |
312 | Avoid repeated dm_task free on some dm_event_get_registered_device errors. |
313 | Introduce log_sys_* macros from LVM2. | |
147d5fac | 314 | Export dm_fclose and dm_create_dir; remove libdm-file.h. |
ee80c0f0 AK |
315 | Don't log EROFS mkdir failures in _create_dir_recursive (for LVM2). |
316 | Add fclose wrapper dm_fclose that catches write failures (using ferror). | |
a7ed0103 | 317 | |
10fb6b1b | 318 | Version 1.02.21 - 13th July 2007 |
6dee7d31 | 319 | ================================ |
10fb6b1b | 320 | Introduce _LOG_STDERR to send log_warn() messages to stderr not stdout. |
448ef456 | 321 | Fix dmsetup -o devno string termination. (1.02.20) |
6dee7d31 | 322 | |
8f1fb4ad AK |
323 | Version 1.02.20 - 15th June 2007 |
324 | ================================ | |
117d8597 AK |
325 | Fix default dmsetup report buffering and add --unbuffered. |
326 | Add tree-based and dependency fields to dmsetup reports. | |
ffd5c5c8 | 327 | |
e3a12d14 AK |
328 | Version 1.02.19 - 27th April 2007 |
329 | ================================= | |
42c79822 | 330 | Standardise protective include file #defines. |
38862fcd | 331 | Add regex functions to library. |
af998ff6 | 332 | Avoid trailing separator in reports when there are hidden sort fields. |
d59b2474 | 333 | Fix segfault in 'dmsetup status' without --showkeys against crypt target. |
8d2b0f24 | 334 | Deal with some more compiler warnings. |
7b74504f | 335 | Introduce _add_field() and _is_same_field() to libdm-report.c. |
727f2662 | 336 | Fix some libdevmapper-event and dmeventd memory leaks. |
c2784df4 | 337 | Remove unnecessary memset() return value checks. |
012869d6 | 338 | Fix a few leaks in reporting error paths. [1.02.15+] |
2f2c9932 | 339 | |
187c689f AK |
340 | Version 1.02.18 - 13th February 2007 |
341 | ==================================== | |
112d09de | 342 | Improve dmeventd messaging protocol: drain pipe and tag messages. |
3a7ec38f | 343 | |
096470d4 | 344 | Version 1.02.17 - 29th January 2007 |
67fa4fd4 | 345 | =================================== |
34c71071 AK |
346 | Add recent reporting options to dmsetup man page. |
347 | Revise some report fields names. | |
e3f6460b | 348 | Add dmsetup 'help' command and update usage text. |
95b42470 | 349 | Use fixed-size fields in report interface and reorder. |
67fa4fd4 | 350 | |
667eb775 | 351 | Version 1.02.16 - 25th January 2007 |
07473c2b | 352 | =================================== |
232da7ec | 353 | Add some missing close() and fclose() return value checks. |
d3368420 | 354 | Migrate dmsetup column-based output over to new libdevmapper report framework. |
85feafd9 | 355 | Add descriptions to reporting field definitions. |
d28dfb57 | 356 | Add a dso-private variable to dmeventd dso interface. |
4dcaa230 AK |
357 | Add dm_event_handler_[gs]et_timeout functions. |
358 | Streamline dm_report_field_* interface. | |
fcdf2e09 | 359 | Add cmdline debug & version options to dmeventd. |
866a1a08 | 360 | Add DM_LIB_VERSION definition to configure.h. |
09e206d3 | 361 | Suppress 'Unrecognised field' error if report field is 'help'. |
03c69792 AK |
362 | Add --separator and --sort to dmsetup (unused). |
363 | Make alignment flag optional when specifying report fields. | |
364 | ||
c3afa8df | 365 | Version 1.02.15 - 17th January 2007 |
99a4014f | 366 | =================================== |
61997bb9 | 367 | Add basic reporting functions to libdevmapper. |
528329f1 | 368 | Fix a malloc error path in dmsetup message. |
931d24a4 AK |
369 | More libdevmapper-event interface changes and fixes. |
370 | Rename dm_saprintf() to dm_asprintf(). | |
080f3fa1 | 371 | Report error if NULL pointer is supplied to dm_strdup_aux(). |
c8ee3820 | 372 | Reinstate dm_event_get_registered_device. |
99a4014f | 373 | |
96710ad8 AK |
374 | Version 1.02.14 - 11th January 2007 |
375 | =================================== | |
31652486 | 376 | Add dm_saprintf(). |
4594807a | 377 | Use CFLAGS when linking so mixed sparc builds can supply -m64. |
b9ffd32c | 378 | Add dm_tree_use_no_flush_suspend(). |
31652486 | 379 | Lots of dmevent changes including revised interface. |
5b95f178 AK |
380 | Export dm_basename(). |
381 | Cope with a trailing space when comparing tables prior to possible reload. | |
0c8569ed | 382 | Fix dmeventd to cope if monitored device disappears. |
9a81f9fe | 383 | |
794aa506 | 384 | Version 1.02.13 - 28 Nov 2006 |
a8e13f05 | 385 | ============================= |
3488c9b3 | 386 | Update dmsetup man page (setgeometry & message). |
981bf64f | 387 | Fix dmsetup free after getline with debug. |
475be6ab | 388 | Suppress encryption key in 'dmsetup table' output unless --showkeys supplied. |
a8e13f05 | 389 | |
905bdb24 AK |
390 | Version 1.02.12 - 13 Oct 2006 |
391 | ============================= | |
b700541f | 392 | Avoid deptree attempting to suspend a device that's already suspended. |
89a4e806 | 393 | |
98865154 AK |
394 | Version 1.02.11 - 12 Oct 2006 |
395 | ============================== | |
f916f0a7 AK |
396 | Add suspend noflush support. |
397 | Add basic dmsetup loop support. | |
4c69dc95 | 398 | Switch dmsetup to use dm_malloc and dm_free. |
3ccf241d | 399 | |
c27dca1a AK |
400 | Version 1.02.10 - 19 Sep 2006 |
401 | ============================= | |
9e063b22 | 402 | Add dm_snprintf(), dm_split_words() and dm_split_lvm_name() to libdevmapper. |
d6a93541 | 403 | Reorder mm bounds_check code to reduce window for a dmeventd race. |
89529aa0 | 404 | |
61160049 | 405 | Version 1.02.09 - 15 Aug 2006 |
c27dca1a | 406 | ============================= |
8df67fbf AK |
407 | Add --table argument to dmsetup for a one-line table. |
408 | Abort if errors are found during cmdline option processing. | |
433b160f | 409 | Add lockfs indicator to debug output. |
7a21367d | 410 | |
cecdabd9 AK |
411 | Version 1.02.08 - 17 July 2006 |
412 | ============================== | |
332a8007 | 413 | Append full patch to check in emails. |
813f844b | 414 | Avoid duplicate dmeventd subdir with 'make distclean'. |
1ea19b10 AK |
415 | Update dmsetup man page. |
416 | Add --force to dmsetup remove* to load error target. | |
ad65c5f1 | 417 | dmsetup remove_all also performs mknodes. |
def6f767 | 418 | Don't suppress identical table reloads if permission changes. |
311d6d81 AK |
419 | Fix corelog segment line. |
420 | Suppress some compiler warnings. | |
476d09d0 | 421 | |
2bfdaded | 422 | Version 1.02.07 - 11 May 2006 |
a54b98e5 | 423 | ============================= |
9723090c | 424 | Add DM_CORELOG flag to dm_tree_node_add_mirror_target(). |
2a99b5b8 | 425 | Avoid a dmeventd compiler warning. |
a54b98e5 | 426 | |
f6e07802 | 427 | Version 1.02.06 - 10 May 2006 |
a0e9de70 | 428 | ============================= |
6657d5b6 | 429 | Move DEFS into configure.h. |
7dc850db | 430 | Fix leaks in error paths found by coverity. |
6657d5b6 | 431 | Remove dmsetup line buffer limitation. |
a0e9de70 | 432 | |
a669fcc5 | 433 | Version 1.02.05 - 19 Apr 2006 |
3ab3766f | 434 | ============================= |
d81e3d0b AK |
435 | Separate install_include target in makefiles. |
436 | Separate out DEFS from CFLAGS. | |
437 | Support pkg-config. | |
438 | Check for libsepol. | |
3ab3766f | 439 | |
7fae84d7 AK |
440 | Version 1.02.04 - 14 Apr 2006 |
441 | ============================= | |
823a3644 | 442 | Bring dmsetup man page up-to-date. |
99048d18 AK |
443 | Use name-based device refs if kernel doesn't support device number refs. |
444 | Fix memory leak (struct dm_ioctl) when struct dm_task is reused. | |
73f378f2 | 445 | If _create_and_load_v4 fails part way through, revert the creation. |
9ab77012 | 446 | dmeventd thread/fifo fixes. |
f4db3724 | 447 | Add file & line to dm_strdup_aux(). |
6ef080af | 448 | Add setgeometry. |
435c852f | 449 | |
b5f90860 | 450 | Version 1.02.03 - 7 Feb 2006 |
c6b966c8 | 451 | ============================ |
b5d8ff10 | 452 | Add exported functions to set uid, gid and mode. |
5e3bd867 | 453 | Rename _log to dm_log and export. |
c55b1410 | 454 | Add dm_tree_skip_lockfs. |
fe94f9f1 | 455 | Fix dm_strdup debug definition. |
b6b0c621 | 456 | Fix hash function to avoid using a negative array offset. |
e7ab6006 AK |
457 | Don't inline _find in hash.c and tidy signed/unsigned etc. |
458 | Fix libdevmapper.h #endif. | |
7a3fb6b2 | 459 | Fix dmsetup version driver version. |
dbcb64b8 AK |
460 | Add sync, nosync and block_on_error mirror log parameters. |
461 | Add hweight32. | |
3c588200 | 462 | Fix dmeventd build. |
c6b966c8 | 463 | |
bbdff85a AK |
464 | Version 1.02.02 - 2 Dec 2005 |
465 | ============================ | |
105c631e | 466 | dmeventd added. |
774ed5fc AK |
467 | Export dm_task_update_nodes. |
468 | Use names instead of numbers in messages when ioctls fail. | |
cbe19a56 | 469 | |
ef8bc786 | 470 | Version 1.02.01 - 23 Nov 2005 |
0c32d9db | 471 | ============================= |
842392c2 | 472 | Resume snapshot-origins last. |
ec289b64 AK |
473 | Drop leading zeros from dm_format_dev. |
474 | Suppress attempt to reload identical table. | |
87f98002 | 475 | Additional LVM- prefix matching for transitional period. |
0c32d9db | 476 | |
da5edd8e | 477 | Version 1.02.00 - 10 Nov 2005 |
b277f1e9 | 478 | ============================= |
b4f1578f AK |
479 | Added activation functions to library. |
480 | Added return macros. | |
19f792df | 481 | Also suppress error if device doesn't exist with DM_DEVICE_STATUS. |
3aeb5690 | 482 | Export dm_set_selinux_context(). |
ffc88f2e | 483 | Add dm_driver_version(). |
3d0480ed | 484 | Added dependency tree functions to library. |
a3f6b2ce | 485 | Added hash, bitset, pool, dbg_malloc to library. |
3d0480ed AK |
486 | Added ls --tree to dmsetup. |
487 | Added dmsetup --nolockfs support for suspend/reload. | |
b277f1e9 | 488 | |
d7c1c43d | 489 | Version 1.01.05 - 26 Sep 2005 |
d07af063 | 490 | ============================= |
4afac84c | 491 | Resync list.h with LVM2. |
59a2bf62 | 492 | Remember increased buffer size and use for subsequent calls. |
4e16b1e7 | 493 | On 'buffer full' condition, double buffer size and repeat ioctl. |
69cfb920 | 494 | Fix termination of getopt_long() option array. |
e817a0b3 | 495 | Report 'buffer full' condition with v4 ioctl as well as with v1. |
d07af063 | 496 | |
91eb42be | 497 | Version 1.01.04 - 2 Aug 2005 |
d7c1c43d | 498 | ============================ |
a7c3ee38 AK |
499 | Fix dmsetup ls -j and status --target with empty table. |
500 | ||
c8c07bbe | 501 | Version 1.01.03 - 13 Jun 2005 |
37e8356b | 502 | ============================= |
c8c07bbe | 503 | Use matchpathcon mode parameter. |
42401a65 | 504 | Fix configure script to re-enable selinux. |
37e8356b | 505 | |
d910e40d | 506 | Version 1.01.02 - 17 May 2005 |
9629f7a9 | 507 | ============================= |
ebf21d3f | 508 | Call dm_lib_exit() and dm_lib_release() automatically now. |
2272500b | 509 | Add --target <target_type> filter to dmsetup table/status/ls. |
b7c70050 | 510 | Add --exec <command> to dmsetup ls. |
67f10950 | 511 | Fix dmsetup getopt_long usage. |
9629f7a9 | 512 | |
e015b627 | 513 | Version 1.01.01 - 29 Mar 2005 |
c080b460 | 514 | ============================= |
e015b627 | 515 | Update dmsetup man page. |
969e08da | 516 | Drop-in devmap_name replacement. |
3d2aecf0 | 517 | Add option to compile without ioctl for testing. |
4608bcdc | 518 | Fix DM_LIB_VERSION sed. |
c080b460 | 519 | |
e5bb96fe AK |
520 | Version 1.01.00 - 17 Jan 2005 |
521 | ============================= | |
8e2dd0df | 522 | Add dm_task_no_open_count() to skip getting open_count. |
72fdf10a | 523 | |
4f6c33c8 | 524 | Version 1.00.21 - 7 Jan 2005 |
99dffafb | 525 | ============================ |
eaf48efc | 526 | Fix /proc/devices parsing. |
99dffafb | 527 | |
7b1f32dc AK |
528 | Version 1.00.20 - 6 Jan 2005 |
529 | ============================ | |
f34c169a | 530 | Attempt to fix /dev/mapper/control transparently if it's wrong. |
6b70629c | 531 | Configuration-time option for setting uid/gid/mode for /dev/mapper nodes. |
76bcada9 | 532 | Update kernel patches for 2.4.27/2.4.28-pre-4 (includes minor fixes). |
45ae32da | 533 | Add --noheadings columns option for colon-separated dmsetup output. |
3f096a6c AK |
534 | Support device referencing by uuid or major/minor. |
535 | Warn if kernel data didn't fit in buffer. | |
2d7f9f0b | 536 | Fix a printf. |
3b55d300 | 537 | |
3bbe3735 | 538 | Version 1.00.19 - 3 July 2004 |
8bad0339 | 539 | ============================= |
3bbe3735 AK |
540 | More autoconf fixes. |
541 | Fix a dmsetup newline. | |
8bad0339 AK |
542 | Fix device number handling for 2.6 kernels. |
543 | ||
33609582 | 544 | Version 1.00.18 - 20 Jun 2004 |
62cec9b2 | 545 | ============================= |
33609582 AK |
546 | Fix a uuid free in libdm-iface. |
547 | Fix a targets string size calc in driver. | |
32c5ad86 | 548 | Add -c to dmsetup for column-based output. |
62cec9b2 AK |
549 | Add target message-passing ioctl. |
550 | ||
a38df97f AK |
551 | Version 1.00.17 - 17 Apr 2004 |
552 | ============================= | |
553 | configure --with-owner= --with-group= to avoid -o and -g args to 'install' | |
93f0ca86 | 554 | Fix library selinux linking. |
a38df97f | 555 | |
121c5c06 AK |
556 | Version 1.00.16 - 16 Apr 2004 |
557 | ============================= | |
558 | Ignore error setting selinux file context if fs doesn't support it. | |
559 | ||
ae69d470 AK |
560 | Version 1.00.15 - 7 Apr 2004 |
561 | ============================ | |
562 | Fix status overflow check in kernel patches. | |
563 | ||
f4a0e78d AK |
564 | Version 1.00.14 - 6 Apr 2004 |
565 | ============================ | |
566 | Fix static selinux build. | |
567 | ||
4dfd146a AK |
568 | Version 1.00.13 - 6 Apr 2004 |
569 | ============================ | |
570 | Add some basic selinux support. | |
571 | ||
4ea7e4b8 | 572 | Version 1.00.12 - 6 Apr 2004 |
4dfd146a | 573 | ============================ |
4ea7e4b8 AK |
574 | Fix dmsetup.static install. |
575 | ||
0172d4f7 | 576 | Version 1.00.11 - 5 Apr 2004 |
4dfd146a | 577 | ============================ |
0172d4f7 AK |
578 | configure --enable-static_link does static build in addition to dynamic. |
579 | Moved Makefile library targets definition into template. | |
580 | ||
b31a37d7 AK |
581 | Version 1.00.10 - 2 Apr 2004 |
582 | ============================ | |
583 | Fix DESTDIR handling. | |
584 | Static build installs to dmsetup.static. | |
585 | Basic support for internationalisation. | |
586 | Minor Makefile tidy-ups/fixes. | |
587 | ||
a03065dc AK |
588 | Version 1.00.09 - 31 Mar 2004 |
589 | ============================= | |
6105d3a8 AK |
590 | Update copyright notices to Red Hat. |
591 | Move full mknodes functionality from dmsetup into libdevmapper. | |
592 | Avoid sscanf %as for uClibc compatibility. | |
a03065dc AK |
593 | Cope if DM_LIST_VERSIONS is not defined. |
594 | Add DM_LIST_VERSIONS functionality to kernel patches. | |
595 | Generate new kernel patches for 2.4.26-rc1. | |
6105d3a8 | 596 | |
a5777ba3 | 597 | Version 1.00.08 - 27 Feb 2004 |
a03065dc | 598 | ============================= |
a5777ba3 AK |
599 | Added 'dmsetup targets'. |
600 | Added event_nr support to 'dmsetup wait'. | |
601 | Updated dmsetup man page. | |
602 | Allow logging function to be reset to use internal one. | |
603 | Bring log macros in line with LVM2 ones. | |
604 | Added 'make install_static_lib' which installs libdevmapper.a. | |
605 | Made configure/makefiles closer to LVM2 versions. | |
606 | Fixed DESTDIR for make install/install_static_lib. | |
607 | Updated README/INSTALL to reflect move to sources.redhat.com. | |
608 | Updated autoconf files to 2003-06-17. |