mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
thin: report 'e' volume type pool metadata spare
Reuse m'e'tadata volume type for spar'e' volume as well. Essentially they are related and there is no big reason to introduce new flag.
This commit is contained in:
parent
460d0254eb
commit
915cc5a2fa
@ -547,6 +547,7 @@ char *lv_attr_dup(struct dm_pool *mem, const struct logical_volume *lv)
|
||||
else if (lv_is_origin(lv) || lv_is_external_origin(lv))
|
||||
repstr[0] = (lv_is_merging_origin(lv)) ? 'O' : 'o';
|
||||
else if (lv_is_thin_pool_metadata(lv) ||
|
||||
lv_is_pool_metadata_spare(lv) ||
|
||||
(lv->status & RAID_META))
|
||||
repstr[0] = 'e';
|
||||
else if (lv->status & RAID)
|
||||
|
@ -135,7 +135,7 @@ Volume type: (m)irrored, (M)irrored without initial sync, (o)rigin,
|
||||
(s)napshot, merging (S)napshot, (p)vmove, (v)irtual,
|
||||
mirror or raid (i)mage, mirror or raid (I)mage out-of-sync, mirror (l)og device,
|
||||
under (c)onversion, thin (V)olume, (t)hin pool, (T)hin pool data, raid or
|
||||
thin pool m(e)tadata
|
||||
thin pool m(e)tadata or pool metadata spare.
|
||||
.IP 2 3
|
||||
Permissions: (w)riteable, (r)ead-only, (R)ead-only activation of non-read-only
|
||||
volume
|
||||
|
Loading…
x
Reference in New Issue
Block a user