mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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 -
|
||||
====================================
|
||||
Use transient raid check before repairing raid volume.
|
||||
Implement transient status check for raid volumes.
|
||||
Only log msg as debug if lvm2-lvmdbusd unit missing for D-Bus notification.
|
||||
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;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
if (replace) {
|
||||
|
Loading…
Reference in New Issue
Block a user