mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-24 17:57:48 +03:00
Skip over LVs that have a cache LV in their tree of LV dependencies when performing a pvmove. This means that users cannot move a cache pool or a cache LV's origin - even when that cache LV is used as part of another LV (e.g. a thin pool). The new test (pvmove-cache-segtypes.sh) currently builds up various LV stacks that incorporate cache LVs. pvmove tests are then performed to ensure that cache related LVs are /not/ moved. Once pvmove is enabled for cache, those tests will switch to ensuring that the LVs /are/ moved.