Discussion:
[linux-lvm] LVM doesn't resume the origin if it failed to take a dm-thin snapshot
Ming-Hung Tsai
2017-12-21 04:13:38 UTC
Permalink
The function lv_create_an_lv() returns immediately if the callee
suspend_lv_origin() was failed, thus the origin remains suspended in
the end. It's possible to happen when we are taking snapshot while the
pool is in READ_ONLY mode (i.e., metadata needs_check flag was set).

Why it doesn't resume the origin no matter suspend_lv_origin() was
failed or not, like update_pool_lv(), so that users don't need to do
manual inversion?


Thanks,
Ming-Hung Tsai

Loading...