diff options
author | David Teigland <teigland@redhat.com> | 2015-07-15 13:02:54 -0500 |
---|---|---|
committer | Ondrej Kozina <okozina@redhat.com> | 2015-07-22 10:38:02 +0200 |
commit | ae88bf03a1d109a342a8ad31196c3ef8fa1a5b65 (patch) | |
tree | ab20c7b69c3a7008321b67301dc8583dbc521276 /WHATS_NEW | |
parent | c3fddb0fbbcabf73d3bcf2786cea31c179f13fae (diff) | |
download | lvm2-ae88bf03a1d109a342a8ad31196c3ef8fa1a5b65.tar.gz |
lvconvert: fix polling outside of core lvconvert
Recent change to move the polling outside of core lvconvert
code was wrongly using 'lv' and 'vg' structs which can't be
used outside of the core code, which caused seg fault.
Properly isolate all use of lv structs within the core of
the lvconvert code, saving any information necessary,
(esp lvid). After the core of lvconvert is done, use
the saved information to do polling.
FIXME: the need for is_merging_origin and is_merging_origin_thin
in this patch is ugly, and a cleaner way should be found to deal
with that than what is done here.
Also it effectively removed all hacks in _lvconvert_merge_single
performing ugly: VG reread, unlock, polling, lock sequence.
Moreover all polling operations are postponed after all conversions
are finished.
lvm2 (while locking via lvmlockd) should now be able to run with
or without lvmpolld while performing poll operations originating
in lvconvert command.
Signed-off-by: Ondrej Kozina <okozina@redhat.com>
Diffstat (limited to 'WHATS_NEW')
-rw-r--r-- | WHATS_NEW | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,5 +1,6 @@ Version 2.02.126 - ================================ + Fix lvconvert segfaults while performing snapshots merge. Ignore errors during detection if use_blkid_wiping=1 and --force is used. Recognise DM_ABORT_ON_INTERNAL_ERRORS env var override in lvm logging fn. Fix alloc segfault when extending LV with fewer stripes than in first seg. |