1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-30 01:47:56 +03:00

dmsetup: add prefixes for all report types

Add prefixes to all dmsetup report types to allow the 'group_all'
option to be effective:

  DR_NAME       name_
  DR_INFO       info_
  DR_DEPS       deps_
  DR_TREE       tree_
  DR_NAME       splitname_
This commit is contained in:
Bryn M. Reeves 2015-08-14 21:14:29 +01:00
parent 666722324f
commit fc7a27bc3d

View File

@ -3877,11 +3877,11 @@ static void *_stats_get_obj(void *obj)
}
static const struct dm_report_object_type _report_types[] = {
{ DR_TASK, "Mapped Device Name", "", _task_get_obj },
{ DR_INFO, "Mapped Device Information", "", _info_get_obj },
{ DR_DEPS, "Mapped Device Relationship Information", "", _deps_get_obj },
{ DR_TREE, "Mapped Device Relationship Information", "", _tree_get_obj },
{ DR_NAME, "Mapped Device Name Components", "", _split_name_get_obj },
{ DR_TASK, "Mapped Device Name", "name_", _task_get_obj },
{ DR_INFO, "Mapped Device Information", "info_", _info_get_obj },
{ DR_DEPS, "Mapped Device Relationship Information", "deps_", _deps_get_obj },
{ DR_TREE, "Mapped Device Relationship Information", "tree_", _tree_get_obj },
{ DR_NAME, "Mapped Device Name Components", "splitname_", _split_name_get_obj },
{ DR_STATS, "Mapped Device Statistics","stats_", _stats_get_obj },
{ DR_STATS_META, "Mapped Device Statistics Region Information","stats_region_", _stats_get_obj },
{ 0, "", "", NULL }