diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2016-05-03 11:46:28 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2016-06-20 11:33:42 +0200 |
commit | 8cfc385491484e71d66e5991e09c3d0a47570a13 (patch) | |
tree | dcdfe6d9c87669289a8ac2f334eaf566353018bf /tools/polldaemon.c | |
parent | 31aaa3be71597ec53262177bea76365605e9199f (diff) | |
download | lvm2-8cfc385491484e71d66e5991e09c3d0a47570a13.tar.gz |
toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn
The lvm fullreport works per VG and as such, the vg, lv, pv, seg and
pvseg subreport is done for each VG. However, if the PV is not part of
any VG yet, we still want to display pv and pvseg subreports for these
"orphan" PVs - so enable this for lvm fullreport's process_each_vg call.
Diffstat (limited to 'tools/polldaemon.c')
-rw-r--r-- | tools/polldaemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/polldaemon.c b/tools/polldaemon.c index e12a69419..2b64c4ece 100644 --- a/tools/polldaemon.c +++ b/tools/polldaemon.c @@ -364,7 +364,7 @@ static void _poll_for_all_vgs(struct cmd_context *cmd, while (1) { parms->outstanding_count = 0; - process_each_vg(cmd, 0, NULL, NULL, NULL, READ_FOR_UPDATE, handle, _poll_vg); + process_each_vg(cmd, 0, NULL, NULL, NULL, READ_FOR_UPDATE, 0, handle, _poll_vg); if (!parms->outstanding_count) break; if (parms->interval) @@ -508,7 +508,7 @@ static void _lvmpolld_poll_for_all_vgs(struct cmd_context *cmd, handle->custom_handle = &lpdp; - process_each_vg(cmd, 0, NULL, NULL, NULL, 0, handle, _lvmpolld_init_poll_vg); + process_each_vg(cmd, 0, NULL, NULL, NULL, 0, 0, handle, _lvmpolld_init_poll_vg); first = dm_list_first(&lpdp.idls); |