cvs commit: LVM2/tools lvchange.c lvcreate.c lvscan.c
Joe Thornber <[email protected]>
| Newsgroups | gmane.linux.lvm.cvs |
|---|---|
| Message-ID | <[email protected]> |
thornber 2002/07/11 09:21:49 CDT
Modified files:
tools lvchange.c lvcreate.c lvscan.c
Log:
i) There's now a seperate field in struct logical_volume that stores the
allocation policy. This can currently take one of three values:
typedef enum {
ALLOC_NEXT_FREE,
ALLOC_STRICT,
ALLOC_CONTIGUOUS
} alloc_policy_t;
Notice that 'SIMPLE' has turned into the slightly more meaningful NEXT_FREE.
ii) Put code into display.[hc] for converting one of these enums to a
text representation and back again.
ii) Updated the text format so this also has the alloc_policy field.
Revision Changes Path
1.38 +9 -11 LVM2/tools/lvchange.c
1.53 +3 -4 LVM2/tools/lvcreate.c
1.16 +2 -3 LVM2/tools/lvscan.c