cvs commit: LVM2/lib/format1 import-export.c
Joe Thornber <[email protected]>
| Newsgroups | gmane.linux.lvm.cvs |
|---|---|
| Message-ID | <[email protected]> |
thornber 2002/07/11 09:21:47 CDT
Modified files:
lib/format1 import-export.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.56 +5 -5 LVM2/lib/format1/import-export.c