]> sourceware.org Git - lvm2.git/commit
lv_update_and_reload: replace code sequence
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 9 Sep 2014 12:40:32 +0000 (14:40 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 9 Sep 2014 17:20:09 +0000 (19:20 +0200)
commitc710f02e0181cc2db5455f0c98033247a70ecc30
treead2b8265f4d63ee7f6b8d210c6d7f863f3295915
parente4e50863a22d4decd1b4c3a89e94b94173d2a704
lv_update_and_reload: replace code sequence

Use lv_update_and_reload() and lv_update_and_reload_origin()
to handle write/suspend/commit/resume sequence.

In few places this properly handle vg_revert() after suspend failure,
and also ensures there is metadata backup after successful vg_commit().
lib/metadata/cache_manip.c
lib/metadata/lv_manip.c
lib/metadata/raid_manip.c
tools/lvchange.c
This page took 0.038199 seconds and 5 git commands to generate.