master - cleanup: shorter raid initialization
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cf857ecabdb3ef54e42a326d08c33b0518a5b3e4 Commit: cf857ecabdb3ef54e42a326d08c33b0518a5b3e4 Parent: 9f0e27a18c60193feae83e458f821efc6ac64683 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Dec 6 16:38:11 2013 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Dec 10 11:16:51 2013 +0100
cleanup: shorter raid initialization
Avoid multiple queries for raid library for each initialized raid seg type and use shorter code.
--- WHATS_NEW | 1 + lib/raid/raid.c | 152 ++++++++++++++----------------------------------------- 2 files changed, 39 insertions(+), 114 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.105 - ===================================== + Shortened code for initialization of raid segment types. Cache global library dir in command context. Return success when inserting dirs and links into device cache. Test for remote exclusive activation after activation fails.
lib/raid/raid.c +38 -114
187 lines not on this page · raw message