mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Undo previous checkin - output format not good, info already available in other form(s)
This commit is contained in:
parent
45ea446910
commit
a0fe21ccb6
@ -1,6 +1,5 @@
|
|||||||
Version 2.02.29 -
|
Version 2.02.29 -
|
||||||
==================================
|
==================================
|
||||||
Add pvseg_free field to 'pvs' output.
|
|
||||||
Include strerror string in dev_open_flags' stat failure message.
|
Include strerror string in dev_open_flags' stat failure message.
|
||||||
Move guts of pvresize into library.
|
Move guts of pvresize into library.
|
||||||
Avoid error when --corelog is provided without --mirrorlog. (2.02.28)
|
Avoid error when --corelog is provided without --mirrorlog. (2.02.28)
|
||||||
|
@ -83,5 +83,4 @@ FIELD(SEGS, seg, STR, "Devices", list, 5, devices, "devices", "Underlying device
|
|||||||
|
|
||||||
FIELD(PVSEGS, pvseg, NUM, "Start", pe, 5, uint32, "pvseg_start", "Physical Extent number of start of segment.")
|
FIELD(PVSEGS, pvseg, NUM, "Start", pe, 5, uint32, "pvseg_start", "Physical Extent number of start of segment.")
|
||||||
FIELD(PVSEGS, pvseg, NUM, "SSize", len, 5, uint32, "pvseg_size", "Number of extents in segment.")
|
FIELD(PVSEGS, pvseg, NUM, "SSize", len, 5, uint32, "pvseg_size", "Number of extents in segment.")
|
||||||
FIELD(PVSEGS, pvseg, STR, "Free", lvseg, 5, lvseg, "pvseg_free", "Whether the segment is free or allocated to an LV.")
|
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
@ -62,15 +62,6 @@ static char _alloc_policy_char(alloc_policy_t alloc)
|
|||||||
/*
|
/*
|
||||||
* Data-munging functions to prepare each data type for display and sorting
|
* Data-munging functions to prepare each data type for display and sorting
|
||||||
*/
|
*/
|
||||||
static int _lvseg_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)),
|
|
||||||
struct dm_report_field *field,
|
|
||||||
const void *data, void *private __attribute((unused)))
|
|
||||||
{
|
|
||||||
const struct lv_segment *seg = *(const struct lv_segment **) data;
|
|
||||||
dm_report_field_set_value(field, seg ? "N" : "Y", NULL);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int _string_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)),
|
static int _string_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)),
|
||||||
struct dm_report_field *field,
|
struct dm_report_field *field,
|
||||||
const void *data, void *private __attribute((unused)))
|
const void *data, void *private __attribute((unused)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user