linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM doesn't resume the origin if it failed to take a dm-thin snapshot
@ 2017-12-21  4:13 Ming-Hung Tsai
  0 siblings, 0 replies; only message in thread
From: Ming-Hung Tsai @ 2017-12-21  4:13 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-21  4:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-21  4:13 [linux-lvm] LVM doesn't resume the origin if it failed to take a dm-thin snapshot Ming-Hung Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).