mirror of
git://sourceware.org/git/lvm2.git
synced 2025-08-11 13:49:28 +03:00
cache: use LV_PENDING_DELETE
This commit is contained in:
@ -188,6 +188,7 @@ char *build_dm_uuid(struct dm_pool *mem, const struct logical_volume *lv,
|
||||
*/
|
||||
/* Suffixes used here MUST match lib/activate/dev_manager.c */
|
||||
layer = lv_is_cache_origin(lv) ? "real" :
|
||||
(lv_is_cache(lv) && lv_is_pending_delete(lv)) ? "real" :
|
||||
lv_is_cache_pool_data(lv) ? "cdata" :
|
||||
lv_is_cache_pool_metadata(lv) ? "cmeta" :
|
||||
// FIXME: dm-tree needs fixes for mirrors/raids
|
||||
|
Reference in New Issue
Block a user