master - raid: faster rmeta clearing
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ada5733c5652d456ffa138b0d07e6897824813b0 Commit: ada5733c5652d456ffa138b0d07e6897824813b0 Parent: 9e03fc3c2ac682b4edc9a91eea7256e272a5bd71 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Nov 8 11:54:28 2016 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Nov 8 16:00:14 2016 +0100
raid: faster rmeta clearing
Instead of clearing multiple rmeta device with sequential activation process and waiting for udev for every _rmeta device separately, activate all _rmeta devices first and then clear them and deactivate afterwards.
Also update some tracing messages.
When anyhing goes wrong during clearing process, always try to deactivate as much _rmeta devices as possible before fail.
--- WHATS_NEW | 1 + lib/metadata/lv_manip.c | 78 ++++++++++++++++++++++++++++------------------ 2 files changed, 48 insertions(+), 31 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.168 - ==================================== + More efficiently prepare _rmeta devices when creating a new raid LV. Version 2.02.167 - 5th November 2016 ====================================
lib/metadata/lv_manip.c +47 -31
98 lines not on this page · raw message