summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--WHATS_NEW1
-rw-r--r--lib/metadata/raid_manip.c8
2 files changed, 5 insertions, 4 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 2e0153e71..6a3f0a294 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.96 -
================================
+ Fix RAID device replacement code so that it works under snapshot.
Fix inability to split RAID1 image while specifying a particular PV.
Update man pages to give them same look&feel.
Fix lvresize of thin pool for stipped devices.
diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c
index d6f12e30c..3df043fe3 100644
--- a/lib/metadata/raid_manip.c
+++ b/lib/metadata/raid_manip.c
@@ -1713,7 +1713,7 @@ int lv_raid_replace(struct logical_volume *lv,
return 0;
}
- if (!suspend_lv(lv->vg->cmd, lv)) {
+ if (!suspend_lv_origin(lv->vg->cmd, lv)) {
log_error("Failed to suspend %s/%s before committing changes",
lv->vg->name, lv->name);
return 0;
@@ -1725,7 +1725,7 @@ int lv_raid_replace(struct logical_volume *lv,
return 0;
}
- if (!resume_lv(lv->vg->cmd, lv)) {
+ if (!resume_lv_origin(lv->vg->cmd, lv)) {
log_error("Failed to resume %s/%s after committing changes",
lv->vg->name, lv->name);
return 0;
@@ -1761,7 +1761,7 @@ int lv_raid_replace(struct logical_volume *lv,
return 0;
}
- if (!suspend_lv(lv->vg->cmd, lv)) {
+ if (!suspend_lv_origin(lv->vg->cmd, lv)) {
log_error("Failed to suspend %s/%s before committing changes",
lv->vg->name, lv->name);
return 0;
@@ -1773,7 +1773,7 @@ int lv_raid_replace(struct logical_volume *lv,
return 0;
}
- if (!resume_lv(lv->vg->cmd, lv)) {
+ if (!resume_lv_origin(lv->vg->cmd, lv)) {
log_error("Failed to resume %s/%s after committing changes",
lv->vg->name, lv->name);
return 0;