mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
dmstats: use 'statsname' and 'groupid' in default fields
Replace the 'name' field with 'statsname' in order to report alias names for groups, and include the 'group_id' field between statsname and the 'region_id' field to make it clear to the user when groups are in use.
This commit is contained in:
parent
b0964acadf
commit
c014425b6f
@ -4312,7 +4312,7 @@ static const char *splitname_report_options = "vg_name,lv_name,lv_layer";
|
||||
"await,read_await,write_await"
|
||||
|
||||
/* Device, region and area metadata. */
|
||||
#define STATS_DEV_INFO "name,region_id"
|
||||
#define STATS_DEV_INFO "statsname,group_id,region_id"
|
||||
#define STATS_AREA_INFO "area_id,area_start,area_len"
|
||||
#define STATS_AREA_INFO_FULL STATS_DEV_INFO ",region_start,region_len,area_count,area_id,area_start,area_len"
|
||||
#define STATS_REGION_INFO STATS_DEV_INFO ",region_start,region_len,area_count,area_len"
|
||||
|
Loading…
x
Reference in New Issue
Block a user