mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tools: Also recognise segtype with thin and cache.
(--type thin still needs this for lvcreate - more logic should be shared between lvcreate and lvconvert)
This commit is contained in:
parent
d1ff254c3c
commit
52d2fa7022
@ -133,6 +133,8 @@ struct dev_manager;
|
||||
|
||||
#define segtype_supports_stripe_size(segtype) \
|
||||
((segtype_is_striped(segtype) || segtype_is_mirror(segtype) || \
|
||||
segtype_is_cache(segtype) || segtype_is_cache_pool(segtype) || \
|
||||
segtype_is_thin(segtype) || segtype_is_snapshot(segtype) || \
|
||||
(segtype_is_raid(segtype) && !segtype_is_raid1(segtype))) ? 1 : 0)
|
||||
|
||||
#define seg_is_cache(seg) segtype_is_cache((seg)->segtype)
|
||||
|
Loading…
Reference in New Issue
Block a user