~ubuntu-branches/ubuntu/saucy/lvm2/saucy-proposed

« back to all changes in this revision

Viewing changes to WHATS_NEW_DM

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2012-08-14 14:35:57 UTC
  • mfrom: (3.1.25 sid)
  • Revision ID: package-import@ubuntu.com-20120814143557-93aill2tp3kf3o30
Tags: 2.02.95-4ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/patches/avoid-dev-block.patch: Prefer any other device name over
    names in /dev/block/ since lvm.conf won't handle this.
  - debian/rules:
    - copy .po file to .pot file for Rosetta (Ubuntu specific).
  - debian/{dmsetup,lvm2}-udeb.install:
    - install initramfs and udev hooks in udebs (Debian bug 504341).
  - auto-start VGs as their PVs are discovered (Ubuntu specific):
    - add debian/tree/lvm2/lib/udev/rules.d/85-lvm2.rules: use watershed plus
      the sledgehammer of vgscan/vgchange to turn on VGs as they come online.
    - debian/tree/lvm2/usr/share/initramfs-tools/scripts/hooks/lvm2:
      - add 85-lvm2.rules to the list of udev rules to copy.
      - depend on udev.
    - debian/control:
      - add versioned Depend on watershed in lvm2 for udev rules.
      - add Depends on watershed-udeb in lvm2-udeb for udev rules.
      - add versioned Depend/Breaks on udev in dmsetup for udev rules.
      - add Depend on initramfs-tools in dmsetup so system is not potentially
        rendered unbootable by out-of-order dpkg configuration.
    - debian/rules:
      - do not install local-top scripts since Ubuntu mounts root using udev.
      - do not install init scripts for lvm2, since udev starts LVM.
    - debian/lvm2.postinst: handle missing lvm2 init script.
    - debian/tree/dmsetup/lib/udev/rules.d/60-persistent-storage-dm.rules:
      watch dm devices for changes with inotify
  - add mountroot failure hooks to help fix bad boots (Debian bug 468115):
    - debian/tree/lvm2/usr/share/initramfs-tools/scripts/init-premount/lvm2
  - remaining changes to upstream event manager packages (Debian bug 514706):
    - debian/rules:
      - enable dmeventd during configure.
    - debian/dmeventd.{8,manpages}: install dmeventd files.
  - rename debian/clvm.defaults to debian/clvm.default so it is installed
    correctly.
  - debian/control: add dmsetup-udeb to libdevmapper1.02.1-udeb recommends.
  - debian/rules: make sure dmsetup and lvm2 initramfs-tools scripts are
    executable.  When the Ubuntu-specific ones are added with a patch,
    they may lose their executable bit.
  - Add and install clvmd resource agent
  - Add dependency on libudev-dev to libdevmapper-dev so that the .pc file
    works.
  - debian/{clvmd.ra,clvm.init}:
    - create /run/lvm if it doesn't exist.
  - debian/clvm.init:
    - exit 3 if not running on status action.
  - Call dh_installman so that our dmeventd manpage actually gets installed
  - Install the missing fsadm manpage.

 * libdevmapper-dev:
  - move .so symlinks and pkgconfig files to multiarched locations.
  - mark libdevmapper-dev M-A: same

 * libdevmapper-event1.02.1:
  - Add Breaks: dmeventd (<< 2.02.95-4ubuntu1) due to debian symbol rename

 * debian/lvm2.{preinst,postinst,postrm}:
  - Implement removal of obsolete /etc/init.d/lvm2 conffile, which
    should not have been re-introduced in Quantal.

 * Dropped Changes, included in Debian:
  - Mostly included packages for upstream event manager (Debian bug 514706).
  - debian/patches/rules-subdir.patch: removed as reordering will cause
    build failure with dmeventd.
  - debian/patches/libdm-event-static.patch: removed as other static libs
    aren't being built anymore either.
  - Update symbols for libdevmapper-event.
  - Update libdevmapper-event, dmeventd descriptions to match Debian
    boilerplate.

 * Disappeared Changes:
  - Don't install documentation in udebs. No diff found, but no docs are
    installed into udebs either.

 * Resurected Changes:
  - corrected dropping the wrong init script. Now clvm.init is shipped
    and lvm2.init is dropped in favor of udev rules as per original
    intention (LP: #1037033).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Version 1.02.74 - 6th March 2012
 
2
================================
 
3
  Check for multiply-mangled names in auto mangling mode.
 
4
  Fix dm_task_get_name_unmangled to not unmangle already unmangled name.
 
5
  Check whether device names are properly mangled on ioctl return.
 
6
  Deactivation of failed thin check on thin pool returns success.
 
7
 
 
8
Version 1.02.73 - 3rd March 2012
 
9
================================
 
10
  Test _thread_registry list with holding mutex in dmeventd.
 
11
  Add dm_tree_node_set_callback() for preload and deactivation hooks.
 
12
  Drop unsupported TRIM message for thin pool.
 
13
  Improve logging for fifo startup in dmeventd.
 
14
  Better detection of missing dmeventd fifo connection (1.02.71).
 
15
  Add a few pointer validations in dmsetup.
 
16
  Support dm_task_get_driver_version() query without version string.
 
17
  Log failure of pthread_join when cleaning unused threads in dmeventd.
 
18
  Fix empty string warning logic in _find_config_str. (1.02.68)
 
19
  Fix dm_task_set_name to properly resolve path to dm name (1.02.71).
 
20
  Add dm_strncpy() function as a faster strncpy() replacement.
 
21
 
 
22
Version 1.02.72 - 23rd February 2012
 
23
====================================
 
24
  Avoid memory reallocation for dm_asprintf.
 
25
 
 
26
Version 1.02.71 - 20th February 2012
 
27
====================================
 
28
  Switch to using built-in blkid in 13-dm-disk.rules.
 
29
  Add "watch" rule to 13-dm-disk.rules.
 
30
  Detect failing fifo and skip 20s retry communication period.
 
31
  Add DM_DEFAULT_NAME_MANGLING_MODE environment variable as an override.
 
32
  Add dm_lib_init to automatically initialise device-mapper library on load.
 
33
  Replace any '\' char with '\\' in dm table specification on input.
 
34
  Add mangle command to dmsetup to provide renaming to correct mangled form.
 
35
  Add 'mangled_name' and 'unmangled_name' fields to dmsetup info -c -o.
 
36
  Add --manglename option to dmsetup to select the name mangling mode.
 
37
  Add dm_task_get_name_mangled/unmangled to libdevmapper.
 
38
  Mangle device name on dm_task_set_name/newname call if necessary.
 
39
  Add dm_set/get_name_mangling_mode to set/get name mangling in libdevmapper.
 
40
  Add configure --with-default-name-mangling for udev-friendly dev name charset.
 
41
  Test for parsed words in _umount() dmeventd snapshot plugin.
 
42
  Fix memory leak in fail path of parse_loop_device_name() in dmsetup.
 
43
  Check for missing reply_uuid in dm_event_get_registered_device().
 
44
  Check for allocation failure in dmeventd restart().
 
45
  Add few missing allocation failures tests in dmsetup.
 
46
  Fix potential risk of writing in front of buffer in _sysfs_get_dm_name().
 
47
 
 
48
Version 1.02.70 - 12th February 2012
 
49
====================================
 
50
  Fix dm_event_get_version() check.
 
51
  Add pointer test for dependency check in _add_dev().
 
52
  Validate name and uuid params of dm_tree_add_new_dev_with_udev_flags().
 
53
  Do not crash for dm_report_init() sort_key == NULL and behave like "".
 
54
  Return error for failing allocation in dm_asprintf().
 
55
  Add missing test for failing allocation in dm_realloc() code.
 
56
  Add test for memory allocation failures in regex matcher code.
 
57
  Simplify dm_task_set_geometry() and use dm_asprintf().
 
58
  Set all parameters to 0 for dm_get_next_target() for NULL return.
 
59
  Fix fd resource leak in error path for _udev_notify_sem_create().
 
60
  Leave space for '\0' for readline() call in _sysfs_get_kernel_name().
 
61
 
 
62
Version 1.02.69 - 1st February 2012
 
63
===================================
 
64
  Clean up dmeventd systemd unit ordering and requirements.
 
65
 
 
66
Version 1.02.68 - 26th January 2012
 
67
===================================
 
68
  Reset all members of info struct in dm_tree_add_new_dev_with_udev_flags.
 
69
  Add dmsetup wipe_table to replace table with one that uses error target.
 
70
  Add 'blkdevname' and 'blkdevs_used' fields to dmsetup info -c -o.
 
71
  Add 'blkdevname' option to dmsetup ls --tree to see block device names.
 
72
  Add -o devno/blkdevname/devname to dmsetup deps and ls.
 
73
  Add dm_device_get_name to get map name or block device name for given devno.
 
74
  Remove empty devices when clearing left-over inactive tables in deptree.
 
75
  Add dm_uuid_prefix/dm_set_uuid_prefix to override hard-coded LVM- prefix.
 
76
  Improve dmsetup man page description of readahead parameter.
 
77
  Use sysfs to set/get readahead if possible.
 
78
  Fix lvm2-monitor init script to use normalized output when using vgs.
 
79
  Add test for max length (DM_MAX_TYPE_NAME) of target type name.
 
80
  Include a copy of kernel DM documentation in doc/kernel.
 
81
  Improve man page style for dmsetup and mention more targets.
 
82
  Fix _get_proc_number to be tolerant of malformed /proc/misc entries.
 
83
  Fix missing thread list manipulation protection in dmeventd.
 
84
  Add ExecReload to dm-event.service for systemd to reload dmeventd properly.
 
85
  Add dm_config_tree_find_str_allow_empty and dm_config_find_str_allow_empty.
 
86
  Fix compile-time pool memory locking with DEBUG_MEM.
 
87
  Fix valgrind error reports in free of pool chunks with DEBUG_MEM.
 
88
  Align size of structure chunk for fast pool allocator to 8 bytes.
 
89
  Simplify some pointer operations in dm_free_aux() debug code.
 
90
  Remove unused dbg_malloc.h file from source tree.
 
91
  Cleanup backtraces for _create_and_load_v4().
 
92
  Fix alignment warning in bitcount calculation for raid segment.
 
93
  Allocate dm_tree structure from dm_tree pool.
 
94
  Update debug logging for _resume_node.
 
95
  Add functions to support thin provisioning target.
 
96
  Improve libdm-config error path reporting.
 
97
  Update dmsetup resume man with --addnodeonresume/create options.
 
98
  Add dependency for dm man pages to man subdirectory make all target.
 
99
  Add dm_tree_retry_remove to use retry logic for device removal in a dm_tree.
 
100
  Add dm_device_has_mounted_fs fn to check mounted filesystem on a device.
 
101
  Add dm_device_has_holders fn to to check use of the device by another device.
 
102
  Add dm_sysfs_dir to libdevmapper to retrieve sysfs location set.
 
103
  Add dm_set_sysfs_dir to libdevmapper to set sysfs location.
 
104
  Add --retry option for dmsetup remove to retry removal if not successful.
 
105
  Add dm_task_retry_remove fn to use retry logic for device removal.
 
106
  Remove unused passed parameters for _mirror_emit_segment_line().
 
107
  Add dm_config and string character escaping functions to libdevmapper.
 
108
  Mark unreleased memory pools as internal error.
 
109
 
1
110
Version 1.02.67 - 19th August 2011
2
111
==================================
3
112
  Add dm_tree_node_add_null_area for temporarily-missing raid devs tracked.