mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cache: _corig has UUID suffix
Use -real suffix for cache origin device.
This commit is contained in:
parent
6effcb16fc
commit
f6932bfcf9
@ -187,7 +187,8 @@ char *build_dm_uuid(struct dm_pool *mem, const struct logical_volume *lv,
|
||||
* Should also make internal detection simpler.
|
||||
*/
|
||||
/* Suffixes used here MUST match lib/activate/dev_manager.c */
|
||||
layer = lv_is_cache_pool_data(lv) ? "cdata" :
|
||||
layer = lv_is_cache_origin(lv) ? "real" :
|
||||
lv_is_cache_pool_data(lv) ? "cdata" :
|
||||
lv_is_cache_pool_metadata(lv) ? "cmeta" :
|
||||
// FIXME: dm-tree needs fixes for mirrors/raids
|
||||
//lv_is_mirror_image(lv) ? "mimage" :
|
||||
|
Loading…
Reference in New Issue
Block a user