mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Add backtraces for archive and backup_locally
If archive or back_locally fails - add stack trace.
This commit is contained in:
parent
8382fc3e85
commit
1102378e1c
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.80 -
|
Version 2.02.80 -
|
||||||
====================================
|
====================================
|
||||||
|
Add backtraces for archive and backup_locally in check_current_backup().
|
||||||
Fix memory leak in debug mode of restart_clvmd() error path.
|
Fix memory leak in debug mode of restart_clvmd() error path.
|
||||||
Log error message for pthread_join() failure in clvmd.
|
Log error message for pthread_join() failure in clvmd.
|
||||||
|
|
||||||
|
@ -452,9 +452,12 @@ void check_current_backup(struct volume_group *vg)
|
|||||||
log_suppress(old_suppress);
|
log_suppress(old_suppress);
|
||||||
|
|
||||||
if (vg_backup) {
|
if (vg_backup) {
|
||||||
archive(vg_backup);
|
if (!archive(vg_backup))
|
||||||
|
stack;
|
||||||
free_vg(vg_backup);
|
free_vg(vg_backup);
|
||||||
}
|
}
|
||||||
archive(vg);
|
if (!archive(vg))
|
||||||
backup_locally(vg);
|
stack;
|
||||||
|
if (!backup_locally(vg))
|
||||||
|
stack;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user