mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +03:00
thin: report t for thin pool and volume
Do not mark internal device _tdata and _tmeta as having target type 't'. They have the target type on their own (i.e. mirror, raid).
This commit is contained in:
parent
272f5ae208
commit
7151ede767
@ -1,5 +1,6 @@
|
||||
Version 2.02.99 -
|
||||
===================================
|
||||
Report lvs target type 't' only for thin pools and thin volumes.
|
||||
Fix test for active snapshot in cluster before resizing it.
|
||||
Report backtrace from dump filter error path.
|
||||
Do not use persistent filter with lvmetad.
|
||||
|
@ -617,7 +617,7 @@ char *lv_attr_dup(struct dm_pool *mem, const struct logical_volume *lv)
|
||||
repstr[5] = '-';
|
||||
}
|
||||
|
||||
if (lv_is_thin_type(lv))
|
||||
if (lv_is_thin_pool(lv) || lv_is_thin_volume(lv))
|
||||
repstr[6] = 't';
|
||||
else if (lv_is_raid_type(lv))
|
||||
repstr[6] = 'r';
|
||||
|
Loading…
x
Reference in New Issue
Block a user