cvs commit: LVM2/lib/metadata lv_manip.c metadata.h
Joe Thornber <[email protected]>
| Newsgroups | gmane.linux.lvm.cvs |
|---|---|
| Message-ID | <[email protected]> |
thornber 2002/07/11 09:21:49 CDT
Modified files:
lib/metadata lv_manip.c metadata.h
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.40 +4 -2 LVM2/lib/metadata/lv_manip.c
1.80 +10 -6 LVM2/lib/metadata/metadata.h