mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Just add warning about potential problem exteding dm_segtypes
Since raid target is using now dm_segtypes also for search purpose.
This commit is contained in:
parent
9aedb1431f
commit
ee05be0872
@ -80,6 +80,11 @@ struct {
|
|||||||
{ SEG_RAID6_ZR, "raid6_zr"},
|
{ SEG_RAID6_ZR, "raid6_zr"},
|
||||||
{ SEG_RAID6_NR, "raid6_nr"},
|
{ SEG_RAID6_NR, "raid6_nr"},
|
||||||
{ SEG_RAID6_NC, "raid6_nc"},
|
{ SEG_RAID6_NC, "raid6_nc"},
|
||||||
|
|
||||||
|
/*
|
||||||
|
*WARNING: Since 'raid' target overloads this 1:1 mapping table
|
||||||
|
* for search do not add new enum elements past them!
|
||||||
|
*/
|
||||||
{ SEG_RAID5_LS, "raid5"}, /* same as "raid5_ls" (default for MD also) */
|
{ SEG_RAID5_LS, "raid5"}, /* same as "raid5_ls" (default for MD also) */
|
||||||
{ SEG_RAID6_ZR, "raid6"}, /* same as "raid6_zr" */
|
{ SEG_RAID6_ZR, "raid6"}, /* same as "raid6_zr" */
|
||||||
{ SEG_LAST, NULL },
|
{ SEG_LAST, NULL },
|
||||||
|
Loading…
Reference in New Issue
Block a user