]> sourceware.org Git - lvm2.git/commit
Check for certain vg_read errors in _process_one_vg iterator.
authorDave Wysochanski <dwysocha@redhat.com>
Wed, 15 Jul 2009 05:23:19 +0000 (05:23 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Wed, 15 Jul 2009 05:23:19 +0000 (05:23 +0000)
commitb5fd1544d5abd61012a672b24b99b72dcafb47a1
tree50f8f9ae880a6d7d2a74948bad8fa84c2ada6b0c
parent1a4366df605a8113b0e756b23fea44da3015a3c5
Check for certain vg_read errors in _process_one_vg iterator.

In _process_one_vg, we should never proceed if the VG read fails with certain
conditions.  If we cannot allocate or construct the volume_group structure,
we should not proceed - this is true regardless of the tool calling the
iterator.  In other cases, when the volume group structure is constructed but
there is some error (PVs missing, metadata corrupted, etc), some tools may
want to process the VG while others may not.

Author: Dave Wysochanski <dwysocha@redhat.com>
tools/toollib.c
This page took 0.034217 seconds and 5 git commands to generate.