1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Change clustered mirror kernel module name from cmirror to dm-log-clustered.

This commit is contained in:
Alasdair Kergon 2008-07-31 14:43:39 +00:00
parent 131bc6f091
commit 9125b72b15
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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;
}