cvs commit: LVM2/lib/display display.c display.h
Joe Thornber <[email protected]>
| Newsgroups | gmane.linux.lvm.cvs |
|---|---|
| Message-ID | <[email protected]> |
thornber 2002/07/11 09:21:47 CDT
Modified files:
lib/display display.c display.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.36 +49 -24 LVM2/lib/display/display.c
1.10 +11 -0 LVM2/lib/display/display.h