1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/tools/lv_types.h
Zdenek Kabelac 5b7e30da76 lv_type: simplier macro usage
Use more simple macros - as there is likely not going to happen
any macro replacement - so use more effient structure layout.
2024-05-13 02:21:28 +02:00

45 lines
1.1 KiB
C

/*
* Copyright (C) 2016-2024 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU Lesser General Public License v.2.1.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* LV types used in command definitions. The type strings are used
* as LV suffixes, e.g. LV_type or LV_type1_type2.
*
* Update toollib.c:_lv_is_type() when adding new XXXXX_LVT test
*/
/* enum value 0 means none */
lvt(linear)
lvt(striped)
lvt(snapshot) /* lv_is_cow, lv_is_thick_snapshot */
lvt(thin)
lvt(thinpool)
lvt(cache)
lvt(cachepool)
lvt(vdo)
lvt(vdopool)
lvt(vdopooldata)
lvt(mirror)
lvt(raid) /* any raid type */
lvt(raid0)
lvt(raid1)
lvt(raid4)
lvt(raid5)
lvt(raid6)
lvt(raid10)
lvt(writecache)
lvt(integrity)
lvt(error)
lvt(zero)