master - mirror: detect attrs just once
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5097463fb326df3f1dde654da4b59011b6135f1f Commit: 5097463fb326df3f1dde654da4b59011b6135f1f Parent: 95fe823eba5432bc395847076fbf187889c55cb1 Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Feb 24 14:18:26 2014 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Feb 24 21:13:11 2014 +0100
mirror: detect attrs just once
Reorder detection of cmirrord. Now if cmirrord is not running, target will not try to load kernel log module, for communication with cmirrord.
Whole check for attrs now also happens just once.
--- WHATS_NEW | 1 + lib/mirror/mirrored.c | 47 +++++++++++++++++++++-------------------------- 2 files changed, 22 insertions(+), 26 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.106 - ==================================== + Improve detection of clustered mirror support. Enhance raid code with feature flags, for now checks for raid10. Move parsing of VG metadata from vg_commit() back to vg_write() (2.02.99) Avoid a PV label scan while in a critical section.
lib/mirror/mirrored.c +21 -26
85 lines not on this page · raw message