master - cleanup: use lv_update_and_reload
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=8a4dfe6ce7f44e2996e48fa0dd7dfd98680cae86 Commit: 8a4dfe6ce7f44e2996e48fa0dd7dfd98680cae86 Parent: a04b4bb89ef79ebaf44804f9230f8ee8c652eb7c Author: Zdenek Kabelac <[email protected]> AuthorDate: Wed Nov 23 10:57:36 2016 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Nov 23 17:53:44 2016 +0100
cleanup: use lv_update_and_reload
Avoid code duplication and use exiting commonly used lv_update_and_reload() function.
There is still one place left where mirror is doing strange double suspend call - needs there more thinking what's wrong with that code.
--- WHATS_NEW | 1 + lib/metadata/mirror.c | 56 ++++-------------------------------------------- 2 files changed, 6 insertions(+), 51 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.168 - ==================================== + Use lv_update_and_reload() inside mirror code where it applies. Preserve mirrored status for temporary layered mirrors. Use transient raid check before repairing raid volume. Implement transient status check for raid volumes.
lib/metadata/mirror.c +5 -51
71 lines not on this page · raw message