]> sourceware.org Git - lvm2.git/commit
report: add separate LVSINFOSTATUS field type for info+status combined fields
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 20 Jan 2015 15:02:48 +0000 (16:02 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 20 Jan 2015 15:10:59 +0000 (16:10 +0100)
commit158e9988768be344c0c97acdf52d1c020ab8c83e
treef2c15c3ebac50c013669c19092e2ce9441937b3a
parent75b786c5ef557b690e5638b6702ad19f20cb13f1
report: add separate LVSINFOSTATUS field type for info+status combined fields

Add separate LVSINFOSTATUS field type for fields which display both
dm info-like and dm status-like information.

The internal interface is there with the introduction of LVSSTATUS
field type which can cope with the combination of LVSSTATUS
and LVSINFO field types (several fields).

However, till now, we considered that *single* field can display
either LVSINFO or LVSSTATUS, but not both at the same time.

Till now, we haven't had single field which needs both - hence
add LVSINFOSTATUS field type for such fields as we currently
need this for the lv_attr field which requires combination of
info and status.

This patch just adds interface for an ability to register such fields
(the code that copes with this is already in).
lib/report/columns.h
lib/report/report.c
lib/report/report.h
tools/reporter.c
This page took 0.043486 seconds and 5 git commands to generate.