mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
raid: lvconvert uses transient check for raid
Also check if the raid status isn't teling us there is something wrong with any raid image device.
This commit is contained in:
parent
23809379ba
commit
851095a6af
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.168 -
|
Version 2.02.168 -
|
||||||
====================================
|
====================================
|
||||||
|
Use transient raid check before repairing raid volume.
|
||||||
Implement transient status check for raid volumes.
|
Implement transient status check for raid volumes.
|
||||||
Only log msg as debug if lvm2-lvmdbusd unit missing for D-Bus notification.
|
Only log msg as debug if lvm2-lvmdbusd unit missing for D-Bus notification.
|
||||||
Missing stripe filler now could be also 'zero'.
|
Missing stripe filler now could be also 'zero'.
|
||||||
|
@ -2068,6 +2068,9 @@ static int _lvconvert_raid(struct logical_volume *lv, struct lvconvert_params *l
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!lv_check_transient(lv)) /* TODO check this in lib for all commands? */
|
||||||
|
stack; /* TODO: break here upon fail or always try to fix it? */
|
||||||
|
|
||||||
_lvconvert_raid_repair_ask(cmd, lp, &replace);
|
_lvconvert_raid_repair_ask(cmd, lp, &replace);
|
||||||
|
|
||||||
if (replace) {
|
if (replace) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user