mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
debug: stacktracing failure
This commit is contained in:
parent
df9e5f39a7
commit
d7b4a4ce01
@ -141,7 +141,8 @@ static int _sleep_and_rescan_devices(struct cmd_context *cmd, struct daemon_parm
|
|||||||
_nanosleep(parms->interval, 0);
|
_nanosleep(parms->interval, 0);
|
||||||
if (sigint_caught())
|
if (sigint_caught())
|
||||||
return_0;
|
return_0;
|
||||||
lvmcache_label_scan(cmd);
|
if (!lvmcache_label_scan(cmd))
|
||||||
|
stack;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
@ -159,7 +160,8 @@ int wait_for_single_lv(struct cmd_context *cmd, struct poll_operation_id *id,
|
|||||||
unsigned wait_before_testing = parms->wait_before_testing;
|
unsigned wait_before_testing = parms->wait_before_testing;
|
||||||
|
|
||||||
if (!wait_before_testing)
|
if (!wait_before_testing)
|
||||||
lvmcache_label_scan(cmd);
|
if (!lvmcache_label_scan(cmd))
|
||||||
|
stack;
|
||||||
|
|
||||||
/* Poll for completion */
|
/* Poll for completion */
|
||||||
while (!finished) {
|
while (!finished) {
|
||||||
|
Loading…
Reference in New Issue
Block a user