From 9125b72b15e1687e89027bd1764faf0f6be01eb1 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 31 Jul 2008 14:43:39 +0000 Subject: [PATCH] Change clustered mirror kernel module name from cmirror to dm-log-clustered. --- WHATS_NEW | 1 + lib/mirror/mirrored.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index a45e46398..6f0f9f3ba 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.40 - ================================ + Change clustered mirror kernel module name from cmirror to dm-log-clustered. Avoid looping forever in _pv_analyze_mda_raw used by pvck. Change lvchange exit status to indicate if any part of the operation failed. Fix pvchange and pvremove to handle PVs without mdas. diff --git a/lib/mirror/mirrored.c b/lib/mirror/mirrored.c index cbf2b77e1..0a0c39bcf 100644 --- a/lib/mirror/mirrored.c +++ b/lib/mirror/mirrored.c @@ -375,7 +375,7 @@ static int _mirrored_target_present(const struct lv_segment *seg __attribute((un * FIXME: Fails incorrectly if cmirror was built into kernel. */ if (attributes) { - if (!_mirror_attributes && module_present("cmirror")) + if (!_mirror_attributes && module_present("log-clustered")) _mirror_attributes |= MIRROR_LOG_CLUSTERED; *attributes = _mirror_attributes; }