mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Revert:
Use lvconvert --repair in dmeventd mirror DSO. for now. It replaces bad behaviour in one set of circumstances with bad behaviour in a different set. We think the behaviour needs to be more configurable.
This commit is contained in:
parent
6ac30c94f2
commit
450928e304
@ -5,7 +5,6 @@ Version 2.02.46 -
|
|||||||
Enable online resizing of mirrors.
|
Enable online resizing of mirrors.
|
||||||
Use suspend with flush when device size was changed during table preload.
|
Use suspend with flush when device size was changed during table preload.
|
||||||
Introduce CLVMD_CMD_LOCK_QUERY command for clvmd.
|
Introduce CLVMD_CMD_LOCK_QUERY command for clvmd.
|
||||||
Use lvconvert --repair in dmeventd mirror DSO.
|
|
||||||
Fix pvmove to revert operation if temporary mirror creation fails.
|
Fix pvmove to revert operation if temporary mirror creation fails.
|
||||||
Fix metadata export for VG with missing PVs.
|
Fix metadata export for VG with missing PVs.
|
||||||
Add vgimportclone and install it and the man page by default.
|
Add vgimportclone and install it and the man page by default.
|
||||||
|
@ -152,7 +152,7 @@ static int _remove_failed_devices(const char *device)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME Is any sanity-checking required on %s? */
|
/* FIXME Is any sanity-checking required on %s? */
|
||||||
if (CMD_SIZE <= snprintf(cmd_str, CMD_SIZE, "lvconvert --config devices{ignore_suspended_devices=1} --repair %s/%s", vg, lv)) {
|
if (CMD_SIZE <= snprintf(cmd_str, CMD_SIZE, "vgreduce --config devices{ignore_suspended_devices=1} --removemissing --force %s", vg)) {
|
||||||
/* this error should be caught above, but doesn't hurt to check again */
|
/* this error should be caught above, but doesn't hurt to check again */
|
||||||
syslog(LOG_ERR, "Unable to form LVM command: Device name too long");
|
syslog(LOG_ERR, "Unable to form LVM command: Device name too long");
|
||||||
dm_pool_empty(_mem_pool); /* FIXME: not safe with multiple threads */
|
dm_pool_empty(_mem_pool); /* FIXME: not safe with multiple threads */
|
||||||
|
Loading…
Reference in New Issue
Block a user