LVM doesn't resume the origin if it failed to take a dm-thin snapshot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux