]> sourceware.org Git - lvm2.git/commit
Use UUIDs instead of names while processing event handlers.
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 14 Apr 2010 13:01:38 +0000 (13:01 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 14 Apr 2010 13:01:38 +0000 (13:01 +0000)
commitbda398201640b2d2b0127875630b265c3d1dbd44
tree325b5b8cf45df9f2a334e6c2814235a3a7430529
parentcb296d5bb54f3a5905384d9198bd3276f053d6d0
Use UUIDs instead of names while processing event handlers.

Internally, we used DM names instead of UUIDs while processing event
handlers. This caused problems while trying to vgrename a VG with active LVs
where the names are being changed and so the devices were not found then.
The patch also contains a little bit of refactoring, moving "build_dlid" code
found in dev_manager.c to "build_dm_uuid", now in lvm-string.c (so we have
build_dm_uuid and build_dm_name at one place).
WHATS_NEW
daemons/dmeventd/libdevmapper-event.c
lib/activate/dev_manager.c
lib/activate/targets.h
lib/mirror/mirrored.c
lib/misc/lvm-string.c
lib/misc/lvm-string.h
lib/snapshot/snapshot.c
This page took 0.033084 seconds and 5 git commands to generate.